commit | 9cedfdd5f354f6083a35808a65df6477adf42041 | [log] [tgz] |
---|---|---|
author | Yoshi Automation Bot <yoshi-automation@google.com> | Thu Feb 04 04:54:02 2021 -0800 |
committer | GitHub <noreply@github.com> | Thu Feb 04 12:54:02 2021 +0000 |
tree | 93ca266caf78fe5e70a0fca7d77c56a6a8fde05f | |
parent | 6913aa7578a6cefc08dde8513dcc94d3042aa65b [diff] |
feat(all): auto-regenerate discovery clients (#855) This PR was generated using Autosynth. :rainbow: <details><summary>Log from Synthtool</summary> ``` 2021-02-04 04:37:10,854 synthtool [DEBUG] > Executing /home/kbuilder/.cache/synthtool/google-api-go-client/synth.py. On branch autosynth-regen nothing to commit, working tree clean ++ dirname ./internal/kokoro/synth/synth.sh + cd ./internal/kokoro/synth/../../.. ++ mktemp -d + tempdir=/tmpfs/tmp/tmp.i3CZ9KXQc9 + curl -o /tmp/go.tgz https://dl.google.com/go/go1.15.1.linux-amd64.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 20 115M 20 24.0M 0 0 25.3M 0 0:00:04 --:--:-- 0:00:04 25.3M 45 115M 45 52.0M 0 0 27.5M 0 0:00:04 0:00:01 0:00:03 27.5M 64 115M 64 74.0M 0 0 25.4M 0 0:00:04 0:00:02 0:00:02 25.4M 72 115M 72 84.0M 0 0 20.0M 0 0:00:05 0:00:04 0:00:01 20.0M 74 115M 74 86.0M 0 0 16.9M 0 0:00:06 0:00:05 0:00:01 16.9M 90 115M 90 104M 0 0 17.5M 0 0:00:06 0:00:05 0:00:01 16.0M 100 115M 100 115M 0 0 18.2M 0 0:00:06 0:00:06 --:--:-- 14.2M + tar -C /tmpfs/tmp/tmp.i3CZ9KXQc9 -xzf /tmp/go.tgz + rm /tmp/go.tgz + export PATH=/tmpfs/tmp/tmp.i3CZ9KXQc9/go/bin:/tmpfs/src/github/synthtool/env/bin:/home/kbuilder/bazel:/opt/google-cloud-sdk/bin:/home/kbuilder/.pyenv/plugins/pyenv-virtualenv/shims:/home/kbuilder/.pyenv/shims:/home/kbuilder/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/usr/local/rvm/bin:/opt/android-sdk/current/bin:/usr/local/go/bin:/usr/local/go/packages/bin:/opt/android-sdk/current/bin:/usr/local/go/bin:/usr/local/go/packages/bin:/opt/kubernetes/client/bin:/opt/android-studio/bin:/usr/local/apache-maven/bin + PATH=/tmpfs/tmp/tmp.i3CZ9KXQc9/go/bin:/tmpfs/src/github/synthtool/env/bin:/home/kbuilder/bazel:/opt/google-cloud-sdk/bin:/home/kbuilder/.pyenv/plugins/pyenv-virtualenv/shims:/home/kbuilder/.pyenv/shims:/home/kbuilder/.pyenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/usr/lib/jvm/java-8-oracle/bin:/usr/lib/jvm/java-8-oracle/db/bin:/usr/lib/jvm/java-8-oracle/jre/bin:/usr/local/rvm/bin:/opt/android-sdk/current/bin:/usr/local/go/bin:/usr/local/go/packages/bin:/opt/android-sdk/current/bin:/usr/local/go/bin:/usr/local/go/packages/bin:/opt/kubernetes/client/bin:/opt/android-studio/bin:/usr/local/apache-maven/bin + export GOROOT=/tmpfs/tmp/tmp.i3CZ9KXQc9/go + GOROOT=/tmpfs/tmp/tmp.i3CZ9KXQc9/go + go version go version go1.15.1 linux/amd64 + go env GO111MODULE="" GOARCH="amd64" GOBIN="" GOCACHE="/home/kbuilder/.cache/go-build" GOENV="/home/kbuilder/.config/go/env" GOEXE="" GOFLAGS="" GOHOSTARCH="amd64" GOHOSTOS="linux" GOINSECURE="" GOMODCACHE="/usr/local/go/packages/pkg/mod" GONOPROXY="" GONOSUMDB="" GOOS="linux" GOPATH="/usr/local/go/packages" GOPRIVATE="" GOPROXY="https://proxy.golang.org,direct" GOROOT="/tmpfs/tmp/tmp.i3CZ9KXQc9/go" GOSUMDB="sum.golang.org" GOTMPDIR="" GOTOOLDIR="/tmpfs/tmp/tmp.i3CZ9KXQc9/go/pkg/tool/linux_amd64" GCCGO="gccgo" AR="ar" CC="gcc" CXX="g++" CGO_ENABLED="1" GOMOD="/home/kbuilder/.cache/synthtool/google-api-go-client/go.mod" CGO_CFLAGS="-g -O2" CGO_CPPFLAGS="" CGO_CXXFLAGS="-g -O2" CGO_FFLAGS="-g -O2" CGO_LDFLAGS="-g -O2" PKG_CONFIG="pkg-config" GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmpfs/tmp/go-build268490714=/tmp/go-build -gno-record-gcc-switches" + pushd google-api-go-generator ~/.cache/synthtool/google-api-go-client/google-api-go-generator ~/.cache/synthtool/google-api-go-client + make all go build -o google-api-go-generator cd ../internal/version; go generate ./google-api-go-generator -cache=false -install -api=* -gendir=.. 2021/02/04 04:37:22 Generating API abusiveexperiencereport:v1 2021/02/04 04:37:33 Generating API acceleratedmobilepageurl:v1 2021/02/04 04:37:33 Generating API accessapproval:v1 2021/02/04 04:37:34 Generating API accesscontextmanager:v1beta 2021/02/04 04:37:35 Generating API accesscontextmanager:v1 2021/02/04 04:37:36 Generating API adexchangebuyer:v1.2 2021/02/04 04:37:37 Generating API adexchangebuyer:v1.3 2021/02/04 04:37:37 Generating API adexchangebuyer:v1.4 2021/02/04 04:37:38 Generating API adexchangebuyer2:v2beta1 2021/02/04 04:37:40 Generating API adexperiencereport:v1 2021/02/04 04:37:40 Generating API admin:datatransfer_v1 2021/02/04 04:37:41 Generating API admin:directory_v1 2021/02/04 04:37:42 Generating API admin:reports_v1 2021/02/04 04:37:43 Generating API admob:v1beta 2021/02/04 04:37:44 Generating API admob:v1 2021/02/04 04:37:45 Generating API adsense:v1.4 2021/02/04 04:37:45 TODO writeSchemaCode for arrays for AdsenseReportsGenerateResponseRows 2021/02/04 04:37:46 Generating API adsensehost:v4.1 2021/02/04 04:37:46 TODO writeSchemaCode for arrays for ReportRows 2021/02/04 04:37:47 Generating API alertcenter:v1beta1 2021/02/04 04:37:47 Generating API analytics:v3 2021/02/04 04:37:48 TODO writeSchemaCode for arrays for GaDataRows 2021/02/04 04:37:48 TODO writeSchemaCode for arrays for McfDataRows 2021/02/04 04:37:48 TODO writeSchemaCode for arrays for RealtimeDataRows 2021/02/04 04:37:49 Generating API analyticsadmin:v1alpha 2021/02/04 04:37:50 Generating API analyticsdata:v1alpha 2021/02/04 04:37:51 Generating API analyticsreporting:v4 2021/02/04 04:37:52 Generating API androiddeviceprovisioning:v1 2021/02/04 04:37:52 Generating API androidenterprise:v1 2021/02/04 04:37:54 Generating API androidmanagement:v1 2021/02/04 04:37:55 Generating API androidpublisher:v3 2021/02/04 04:37:56 Generating API apigateway:v1beta 2021/02/04 04:37:57 Generating API apigateway:v1 2021/02/04 04:37:58 Generating API apigee:v1 2021/02/04 04:38:01 Generating API appengine:v1alpha 2021/02/04 04:38:01 Generating API appengine:v1beta 2021/02/04 04:38:02 Generating API appengine:v1beta4 2021/02/04 04:38:02 WARNING: URL https://appengine.googleapis.com/$discovery/rest?version=v1beta4 served status code 404 2021/02/04 04:38:02 Generating API appengine:v1beta5 2021/02/04 04:38:02 WARNING: URL https://appengine.googleapis.com/$discovery/rest?version=v1beta5 served status code 404 2021/02/04 04:38:02 Generating API appengine:v1 2021/02/04 04:38:03 Generating API area120tables:v1alpha1 2021/02/04 04:38:04 Generating API artifactregistry:v1beta1 2021/02/04 04:38:05 Generating API artifactregistry:v1beta2 2021/02/04 04:38:06 Generating API artifactregistry:v1 2021/02/04 04:38:06 Generating API assuredworkloads:v1 2021/02/04 04:38:07 Generating API bigquery:v2 2021/02/04 04:38:08 Generating API bigqueryconnection:v1beta1 2021/02/04 04:38:08 Generating API bigquerydatatransfer:v1 2021/02/04 04:38:09 Generating API bigqueryreservation:v1beta1 2021/02/04 04:38:10 Generating API bigqueryreservation:v1 2021/02/04 04:38:11 Generating API bigtableadmin:v1 2021/02/04 04:38:11 Generating API bigtableadmin:v2 2021/02/04 04:38:12 Generating API billingbudgets:v1beta1 2021/02/04 04:38:12 TODO writeSchemaCode for arrays for GoogleCloudBillingBudgetsV1beta1FilterLabels 2021/02/04 04:38:13 Generating API billingbudgets:v1 2021/02/04 04:38:13 TODO writeSchemaCode for arrays for GoogleCloudBillingBudgetsV1FilterLabels 2021/02/04 04:38:13 Generating API binaryauthorization:v1beta1 2021/02/04 04:38:14 Generating API binaryauthorization:v1 2021/02/04 04:38:15 Generating API blogger:v2 2021/02/04 04:38:15 Generating API blogger:v3 2021/02/04 04:38:16 Generating API books:v1 2021/02/04 04:38:17 Generating API calendar:v3 2021/02/04 04:38:18 Generating API chat:v1 2021/02/04 04:38:19 Generating API chromeuxreport:v1 2021/02/04 04:38:19 Generating API civicinfo:v2 2021/02/04 04:38:20 Generating API classroom:v1 2021/02/04 04:38:21 Generating API cloudasset:v1p1beta1 2021/02/04 04:38:22 Generating API cloudasset:v1p4beta1 2021/02/04 04:38:22 Generating API cloudasset:v1p5beta1 2021/02/04 04:38:22 Generating API cloudasset:v1p7beta1 2021/02/04 04:38:22 WARNING: URL https://cloudasset.googleapis.com/$discovery/rest?version=v1p7beta1 served status code 404 2021/02/04 04:38:22 Generating API cloudasset:v1beta1 2021/02/04 04:38:23 Generating API cloudasset:v1 2021/02/04 04:38:24 Generating API cloudbilling:v1 2021/02/04 04:38:24 Generating API cloudbuild:v1alpha1 2021/02/04 04:38:25 Generating API cloudbuild:v1alpha2 2021/02/04 04:38:26 Generating API cloudbuild:v1 2021/02/04 04:38:27 Generating API clouddebugger:v2 2021/02/04 04:38:27 Generating API clouderrorreporting:v1beta1 2021/02/04 04:38:28 Generating API cloudfunctions:v1 2021/02/04 04:38:28 Generating API cloudidentity:v1beta1 2021/02/04 04:38:30 Generating API cloudidentity:v1 2021/02/04 04:38:31 Generating API cloudiot:v1 2021/02/04 04:38:31 Generating API cloudkms:v1 2021/02/04 04:38:32 Generating API cloudprofiler:v2 2021/02/04 04:38:33 Generating API cloudresourcemanager:v1beta1 2021/02/04 04:38:33 Generating API cloudresourcemanager:v2beta1 2021/02/04 04:38:33 Generating API cloudresourcemanager:v1 2021/02/04 04:38:34 Generating API cloudresourcemanager:v2 2021/02/04 04:38:35 Generating API cloudscheduler:v1beta1 2021/02/04 04:38:35 Generating API cloudscheduler:v1 2021/02/04 04:38:36 Generating API cloudsearch:v1 2021/02/04 04:38:37 Generating API cloudshell:v1alpha1 2021/02/04 04:38:37 Generating API cloudshell:v1 2021/02/04 04:38:38 Generating API cloudtasks:v2beta2 2021/02/04 04:38:38 Generating API cloudtasks:v2beta3 2021/02/04 04:38:39 Generating API cloudtasks:v2 2021/02/04 04:38:39 Generating API cloudtrace:v2beta1 2021/02/04 04:38:40 Generating API cloudtrace:v1 2021/02/04 04:38:40 Generating API cloudtrace:v2 2021/02/04 04:38:41 Generating API composer:v1beta1 2021/02/04 04:38:41 Generating API composer:v1 2021/02/04 04:38:42 Generating API compute:alpha 2021/02/04 04:38:51 Generating API compute:beta 2021/02/04 04:38:59 Generating API compute:v1 2021/02/04 04:39:06 Generating API container:v1beta1 2021/02/04 04:39:07 Generating API container:v1 2021/02/04 04:39:07 Old revision found for container:v1, skipping generation 2021/02/04 04:39:07 Generating API containeranalysis:v1alpha1 2021/02/04 04:39:08 Generating API containeranalysis:v1beta1 2021/02/04 04:39:09 Generating API content:v2 2021/02/04 04:39:10 Generating API content:v2.1 2021/02/04 04:39:12 Generating API customsearch:v1 2021/02/04 04:39:13 Generating API datacatalog:v1beta1 2021/02/04 04:39:14 Generating API dataflow:v1b3 2021/02/04 04:39:15 Generating API datafusion:v1beta1 2021/02/04 04:39:16 Generating API datafusion:v1 2021/02/04 04:39:16 Generating API datalabeling:v1beta1 2021/02/04 04:39:17 Generating API datamigration:v1beta1 2021/02/04 04:39:18 Generating API dataproc:v1beta2 2021/02/04 04:39:19 Generating API dataproc:v1 2021/02/04 04:39:20 Generating API datastore:v1beta1 2021/02/04 04:39:20 Generating API datastore:v1beta3 2021/02/04 04:39:20 Old revision found for datastore:v1beta3, skipping generation 2021/02/04 04:39:20 Generating API datastore:v1 2021/02/04 04:39:21 Old revision found for datastore:v1, skipping generation 2021/02/04 04:39:21 Generating API deploymentmanager:alpha 2021/02/04 04:39:21 Generating API deploymentmanager:v2beta 2021/02/04 04:39:22 Generating API deploymentmanager:v2 2021/02/04 04:39:23 Generating API dfareporting:v3.3 2021/02/04 04:39:26 Generating API dfareporting:v3.4 2021/02/04 04:39:29 Generating API dialogflow:v2beta1 2021/02/04 04:39:31 Generating API dialogflow:v3beta1 2021/02/04 04:39:32 Generating API dialogflow:v2 2021/02/04 04:39:34 Generating API dialogflow:v3 2021/02/04 04:39:35 Generating API digitalassetlinks:v1 2021/02/04 04:39:36 Generating API discovery:v1 2021/02/04 04:39:36 Generating API displayvideo:v1 2021/02/04 04:39:38 Generating API dlp:v2 2021/02/04 04:39:39 Old revision found for dlp:v2, skipping generation 2021/02/04 04:39:39 Generating API dns:v1beta2 2021/02/04 04:39:40 Generating API dns:v1 2021/02/04 04:39:40 Generating API docs:v1 2021/02/04 04:39:41 Generating API documentai:v1beta2 2021/02/04 04:39:41 Generating API documentai:v1beta3 2021/02/04 04:39:42 Generating API domains:v1alpha2 2021/02/04 04:39:43 Generating API domains:v1beta1 2021/02/04 04:39:43 Generating API domainsrdap:v1 2021/02/04 04:39:44 Generating API doubleclickbidmanager:v1 2021/02/04 04:39:45 Generating API doubleclickbidmanager:v1.1 2021/02/04 04:39:45 Generating API doubleclicksearch:v2 2021/02/04 04:39:46 Generating API drive:v2 2021/02/04 04:39:47 Generating API drive:v3 2021/02/04 04:39:48 TODO writeSchemaCode for arrays for AboutExportFormats 2021/02/04 04:39:48 TODO writeSchemaCode for arrays for AboutImportFormats 2021/02/04 04:39:48 Generating API driveactivity:v2 2021/02/04 04:39:49 Generating API eventarc:v1beta1 2021/02/04 04:39:49 Generating API eventarc:v1 2021/02/04 04:39:50 Generating API factchecktools:v1alpha1 2021/02/04 04:39:51 Generating API fcm:v1 2021/02/04 04:39:51 Generating API file:v1beta1 2021/02/04 04:39:52 Generating API file:v1 2021/02/04 04:39:52 Generating API firebase:v1beta1 2021/02/04 04:39:53 Generating API firebasedatabase:v1beta 2021/02/04 04:39:53 Generating API firebasedynamiclinks:v1 2021/02/04 04:39:54 Generating API firebasehosting:v1beta1 2021/02/04 04:39:55 Generating API firebasehosting:v1 2021/02/04 04:39:55 Generating API firebaseml:v1beta2 2021/02/04 04:39:55 Generating API firebaseml:v1 2021/02/04 04:39:56 Generating API firebaserules:v1 2021/02/04 04:39:56 Generating API firestore:v1beta1 2021/02/04 04:39:56 Old revision found for firestore:v1beta1, skipping generation 2021/02/04 04:39:56 Generating API firestore:v1beta2 2021/02/04 04:39:57 Generating API firestore:v1 2021/02/04 04:39:57 Old revision found for firestore:v1, skipping generation 2021/02/04 04:39:57 Generating API fitness:v1 2021/02/04 04:39:57 Generating API games:v1 2021/02/04 04:39:58 Generating API gamesConfiguration:v1configuration 2021/02/04 04:39:58 Generating API gamesManagement:v1management 2021/02/04 04:39:59 Generating API gameservices:v1beta 2021/02/04 04:40:00 Generating API gameservices:v1 2021/02/04 04:40:01 Generating API genomics:v1alpha2 2021/02/04 04:40:01 Generating API genomics:v2alpha1 2021/02/04 04:40:02 Generating API genomics:v1 2021/02/04 04:40:02 Generating API gmail:v1 2021/02/04 04:40:03 Generating API gmailpostmastertools:v1beta1 2021/02/04 04:40:04 Generating API gmailpostmastertools:v1 2021/02/04 04:40:04 Generating API groupsmigration:v1 2021/02/04 04:40:05 Generating API groupssettings:v1 2021/02/04 04:40:05 Generating API healthcare:v1beta1 2021/02/04 04:40:07 Generating API healthcare:v1 2021/02/04 04:40:09 Generating API homegraph:v1 2021/02/04 04:40:09 Generating API iam:v1 2021/02/04 04:40:10 Generating API iamcredentials:v1 2021/02/04 04:40:10 Generating API iap:v1beta1 2021/02/04 04:40:11 Generating API iap:v1 2021/02/04 04:40:11 Generating API identitytoolkit:v3 2021/02/04 04:40:12 Generating API indexing:v3 2021/02/04 04:40:12 Generating API jobs:v3p1beta1 2021/02/04 04:40:12 Generating API jobs:v3 2021/02/04 04:40:13 Generating API jobs:v4 2021/02/04 04:40:14 Generating API kgsearch:v1 2021/02/04 04:40:14 Generating API language:v1beta1 2021/02/04 04:40:14 Generating API language:v1beta2 2021/02/04 04:40:15 Generating API language:v1 2021/02/04 04:40:15 Generating API libraryagent:v1 2021/02/04 04:40:16 Generating API licensing:v1 2021/02/04 04:40:16 Generating API lifesciences:v2beta 2021/02/04 04:40:17 Generating API localservices:v1 2021/02/04 04:40:17 Generating API logging:v2 2021/02/04 04:40:19 Generating API managedidentities:v1alpha1 2021/02/04 04:40:20 Generating API managedidentities:v1beta1 2021/02/04 04:40:21 Generating API managedidentities:v1 2021/02/04 04:40:21 Generating API manufacturers:v1 2021/02/04 04:40:22 Generating API memcache:v1beta2 2021/02/04 04:40:22 Generating API memcache:v1 2021/02/04 04:40:23 Generating API metastore:v1alpha 2021/02/04 04:40:24 Generating API metastore:v1beta 2021/02/04 04:40:24 Generating API ml:v1 2021/02/04 04:40:25 Generating API monitoring:v1 2021/02/04 04:40:26 Generating API monitoring:v3 2021/02/04 04:40:26 Generating API networkconnectivity:v1alpha1 2021/02/04 04:40:27 Generating API networkmanagement:v1beta1 2021/02/04 04:40:28 Generating API networkmanagement:v1 2021/02/04 04:40:29 Generating API notebooks:v1 2021/02/04 04:40:30 Generating API oauth2:v2 2021/02/04 04:40:30 Generating API osconfig:v1alpha2 2021/02/04 04:40:30 WARNING: URL https://osconfig.googleapis.com/$discovery/rest?version=v1alpha2 served status code 404 2021/02/04 04:40:30 Generating API osconfig:v1beta 2021/02/04 04:40:31 Generating API osconfig:v1 2021/02/04 04:40:31 Generating API oslogin:v1alpha 2021/02/04 04:40:31 Generating API oslogin:v1beta 2021/02/04 04:40:32 Generating API oslogin:v1 2021/02/04 04:40:32 Generating API pagespeedonline:v5 2021/02/04 04:40:32 Generating API people:v1 2021/02/04 04:40:33 Generating API playablelocations:v3 2021/02/04 04:40:33 Generating API playcustomapp:v1 2021/02/04 04:40:34 Generating API policytroubleshooter:v1beta 2021/02/04 04:40:35 Generating API policytroubleshooter:v1 2021/02/04 04:40:35 Generating API poly:v1 2021/02/04 04:40:36 Generating API privateca:v1beta1 2021/02/04 04:40:37 Generating API prod_tt_sasportal:v1alpha1 2021/02/04 04:40:38 Generating API pubsub:v1beta1a 2021/02/04 04:40:38 Generating API pubsub:v1beta2 2021/02/04 04:40:39 Generating API pubsub:v1 2021/02/04 04:40:40 Generating API pubsublite:v1 2021/02/04 04:40:40 Generating API realtimebidding:v1alpha 2021/02/04 04:40:41 Generating API realtimebidding:v1 2021/02/04 04:40:41 Generating API recommendationengine:v1beta1 2021/02/04 04:40:42 Generating API recommender:v1beta1 2021/02/04 04:40:42 Generating API recommender:v1 2021/02/04 04:40:43 Generating API redis:v1beta1 2021/02/04 04:40:43 Generating API redis:v1 2021/02/04 04:40:44 Generating API remotebuildexecution:v1alpha 2021/02/04 04:40:45 Generating API remotebuildexecution:v1 2021/02/04 04:40:45 Generating API remotebuildexecution:v2 2021/02/04 04:40:46 Generating API reseller:v1 2021/02/04 04:40:47 Generating API retail:v2alpha 2021/02/04 04:40:47 Generating API retail:v2beta 2021/02/04 04:40:48 Generating API retail:v2 2021/02/04 04:40:48 Generating API run:v1alpha1 2021/02/04 04:40:50 Generating API run:v1beta1 2021/02/04 04:40:50 Generating API run:v1 2021/02/04 04:40:51 Generating API runtimeconfig:v1beta1 2021/02/04 04:40:51 Generating API runtimeconfig:v1 2021/02/04 04:40:52 Generating API safebrowsing:v4 2021/02/04 04:40:52 Generating API sasportal:v1alpha1 2021/02/04 04:40:53 Generating API script:v1 2021/02/04 04:40:54 Generating API searchconsole:v1 2021/02/04 04:40:54 Generating API secretmanager:v1beta1 2021/02/04 04:40:55 Generating API secretmanager:v1 2021/02/04 04:40:55 Generating API securitycenter:v1beta1 2021/02/04 04:40:56 Generating API securitycenter:v1beta2 2021/02/04 04:40:57 Generating API securitycenter:v1 2021/02/04 04:40:57 Generating API serviceconsumermanagement:v1beta1 2021/02/04 04:40:58 Generating API serviceconsumermanagement:v1 2021/02/04 04:40:59 Generating API servicecontrol:v1 2021/02/04 04:40:59 Generating API servicecontrol:v2 2021/02/04 04:41:00 Generating API servicedirectory:v1beta1 2021/02/04 04:41:00 Generating API servicedirectory:v1 2021/02/04 04:41:01 Generating API servicemanagement:v1 2021/02/04 04:41:01 Old revision found for servicemanagement:v1, skipping generation 2021/02/04 04:41:01 Generating API servicenetworking:v1beta 2021/02/04 04:41:02 Generating API servicenetworking:v1 2021/02/04 04:41:03 Generating API serviceusage:v1beta1 2021/02/04 04:41:04 Generating API serviceusage:v1 2021/02/04 04:41:04 Generating API sheets:v4 2021/02/04 04:41:05 TODO writeSchemaCode for arrays for DataFilterValueRangeValues 2021/02/04 04:41:05 TODO writeSchemaCode for arrays for ValueRangeValues 2021/02/04 04:41:05 Generating API siteVerification:v1 2021/02/04 04:41:06 Generating API slides:v1 2021/02/04 04:41:07 Generating API smartdevicemanagement:v1 2021/02/04 04:41:07 Generating API sourcerepo:v1 2021/02/04 04:41:08 Generating API spanner:v1 2021/02/04 04:41:08 TODO writeSchemaCode for arrays for KeySetKeys 2021/02/04 04:41:08 TODO writeSchemaCode for arrays for ResultSetRows 2021/02/04 04:41:08 TODO writeSchemaCode for arrays for WriteValues 2021/02/04 04:41:09 Generating API speech:v1p1beta1 2021/02/04 04:41:09 Generating API speech:v2beta1 2021/02/04 04:41:10 Generating API speech:v1 2021/02/04 04:41:10 Generating API sqladmin:v1beta4 2021/02/04 04:41:11 Generating API storage:v1 2021/02/04 04:41:12 Generating API storagetransfer:v1 2021/02/04 04:41:12 Generating API streetviewpublish:v1 2021/02/04 04:41:13 Generating API sts:v1beta 2021/02/04 04:41:13 Generating API sts:v1 2021/02/04 04:41:13 Generating API tagmanager:v1 2021/02/04 04:41:14 Generating API tagmanager:v2 2021/02/04 04:41:15 Generating API tasks:v1 2021/02/04 04:41:16 Generating API testing:v1 2021/02/04 04:41:16 Generating API texttospeech:v1beta1 2021/02/04 04:41:17 Generating API texttospeech:v1 2021/02/04 04:41:17 Generating API toolresults:v1beta3 2021/02/04 04:41:18 Generating API tpu:v1alpha1 2021/02/04 04:41:19 Generating API tpu:v1 2021/02/04 04:41:19 Generating API trafficdirector:v2 2021/02/04 04:41:20 Generating API transcoder:v1beta1 2021/02/04 04:41:20 Generating API translate:v3beta1 2021/02/04 04:41:20 Generating API translate:v2 2021/02/04 04:41:20 TODO writeSchemaCode for arrays for DetectionsResource 2021/02/04 04:41:21 Generating API translate:v3 2021/02/04 04:41:21 Generating API vault:v1 2021/02/04 04:41:22 Generating API vectortile:v1 2021/02/04 04:41:23 Generating API verifiedaccess:v1 2021/02/04 04:41:23 Generating API videointelligence:v1p1beta1 2021/02/04 04:41:23 Generating API videointelligence:v1p2beta1 2021/02/04 04:41:24 Generating API videointelligence:v1p3beta1 2021/02/04 04:41:25 Generating API videointelligence:v1beta2 2021/02/04 04:41:25 Generating API videointelligence:v1 2021/02/04 04:41:26 Generating API vision:v1p1beta1 2021/02/04 04:41:27 Generating API vision:v1p2beta1 2021/02/04 04:41:27 Generating API vision:v1 2021/02/04 04:41:29 Generating API webfonts:v1 2021/02/04 04:41:29 Generating API webmasters:v3 2021/02/04 04:41:29 Generating API websecurityscanner:v1alpha 2021/02/04 04:41:30 Generating API websecurityscanner:v1beta 2021/02/04 04:41:30 Generating API websecurityscanner:v1 2021/02/04 04:41:31 Generating API workflowexecutions:v1beta 2021/02/04 04:41:31 Generating API workflows:v1beta 2021/02/04 04:41:32 Generating API youtube:v3 2021/02/04 04:41:33 Generating API youtubeAnalytics:v2 2021/02/04 04:41:33 TODO writeSchemaCode for arrays for QueryResponseRows 2021/02/04 04:41:34 Generating API youtubereporting:v1 go test . -v === RUN TestMedia --- PASS: TestMedia (0.00s) === RUN TestResumableMedia --- PASS: TestResumableMedia (0.00s) === RUN TestNoMedia --- PASS: TestNoMedia (0.00s) === RUN TestMediaErrHandling --- PASS: TestMediaErrHandling (0.01s) === RUN TestUserAgent --- PASS: TestUserAgent (0.01s) === RUN TestParams --- PASS: TestParams (0.00s) === RUN TestUnmarshalSpecialFloats --- PASS: TestUnmarshalSpecialFloats (0.00s) === RUN TestAPIs === RUN TestAPIs/any === RUN TestAPIs/arrayofarray-1 2021/02/04 04:41:41 TODO writeSchemaCode for arrays for GeoJsonMultiPolygonCoordinates 2021/02/04 04:41:41 TODO writeSchemaCode for arrays for GeoJsonMultiPolygonCoordinatesItem === RUN TestAPIs/arrayofenum === RUN TestAPIs/arrayofmapofobjects === RUN TestAPIs/arrayofmapofstrings === RUN TestAPIs/blogger-3 === RUN TestAPIs/floats === RUN TestAPIs/getwithoutbody === RUN TestAPIs/http-body === RUN TestAPIs/json-body === RUN TestAPIs/mapofany === RUN TestAPIs/mapofarrayofobjects 2021/02/04 04:41:41 TODO writeSchemaCode for arrays for TimeseriesDescriptorTags === RUN TestAPIs/mapofint64strings === RUN TestAPIs/mapofobjects === RUN TestAPIs/mapofstrings-1 2021/02/04 04:41:41 TODO writeSchemaCode for arrays for TimeseriesDescriptorTags === RUN TestAPIs/param-rename === RUN TestAPIs/quotednum === RUN TestAPIs/repeated === RUN TestAPIs/required-query === RUN TestAPIs/resource-named-service === RUN TestAPIs/unfortunatedefaults === RUN TestAPIs/variants 2021/02/04 04:41:41 TODO writeSchemaCode for arrays for GeoJsonMultiLineStringCoordinates 2021/02/04 04:41:41 TODO writeSchemaCode for arrays for GeoJsonMultiPolygonCoordinates 2021/02/04 04:41:41 TODO writeSchemaCode for arrays for GeoJsonPolygonCoordinates 2021/02/04 04:41:41 TODO writeSchemaCode for arrays for GeoJsonPosition === RUN TestAPIs/wrapnewlines --- PASS: TestAPIs (0.18s) --- PASS: TestAPIs/any (0.02s) --- PASS: TestAPIs/arrayofarray-1 (0.00s) --- PASS: TestAPIs/arrayofenum (0.00s) --- PASS: TestAPIs/arrayofmapofobjects (0.00s) --- PASS: TestAPIs/arrayofmapofstrings (0.00s) --- PASS: TestAPIs/blogger-3 (0.04s) --- PASS: TestAPIs/floats (0.00s) --- PASS: TestAPIs/getwithoutbody (0.00s) --- PASS: TestAPIs/http-body (0.00s) --- PASS: TestAPIs/json-body (0.05s) --- PASS: TestAPIs/mapofany (0.00s) --- PASS: TestAPIs/mapofarrayofobjects (0.00s) --- PASS: TestAPIs/mapofint64strings (0.00s) --- PASS: TestAPIs/mapofobjects (0.00s) --- PASS: TestAPIs/mapofstrings-1 (0.00s) --- PASS: TestAPIs/param-rename (0.00s) --- PASS: TestAPIs/quotednum (0.00s) --- PASS: TestAPIs/repeated (0.00s) --- PASS: TestAPIs/required-query (0.00s) --- PASS: TestAPIs/resource-named-service (0.04s) --- PASS: TestAPIs/unfortunatedefaults (0.00s) --- PASS: TestAPIs/variants (0.00s) --- PASS: TestAPIs/wrapnewlines (0.00s) === RUN TestScope --- PASS: TestScope (0.00s) === RUN TestDepunct --- PASS: TestDepunct (0.00s) === RUN TestRenameVersion --- PASS: TestRenameVersion (0.00s) === RUN TestSupportsPaging --- PASS: TestSupportsPaging (0.00s) === RUN TestIsNewerRevision --- PASS: TestIsNewerRevision (0.00s) === RUN TestRemoveMarkdownLinks === RUN TestRemoveMarkdownLinks/basic === RUN TestRemoveMarkdownLinks/no_link === RUN TestRemoveMarkdownLinks/empty_string === RUN TestRemoveMarkdownLinks/sentence === RUN TestRemoveMarkdownLinks/two_links === RUN TestRemoveMarkdownLinks/first_incomplete_link === RUN TestRemoveMarkdownLinks/second_incomplete_link === RUN TestRemoveMarkdownLinks/seperated === RUN TestRemoveMarkdownLinks/don't_process_code_blocks === RUN TestRemoveMarkdownLinks/At_start === RUN TestRemoveMarkdownLinks/At_end_ --- PASS: TestRemoveMarkdownLinks (0.00s) --- PASS: TestRemoveMarkdownLinks/basic (0.00s) --- PASS: TestRemoveMarkdownLinks/no_link (0.00s) --- PASS: TestRemoveMarkdownLinks/empty_string (0.00s) --- PASS: TestRemoveMarkdownLinks/sentence (0.00s) --- PASS: TestRemoveMarkdownLinks/two_links (0.00s) --- PASS: TestRemoveMarkdownLinks/first_incomplete_link (0.00s) --- PASS: TestRemoveMarkdownLinks/second_incomplete_link (0.00s) --- PASS: TestRemoveMarkdownLinks/seperated (0.00s) --- PASS: TestRemoveMarkdownLinks/don't_process_code_blocks (0.00s) --- PASS: TestRemoveMarkdownLinks/At_start (0.00s) --- PASS: TestRemoveMarkdownLinks/At_end_ (0.00s) === RUN TestAsComment_LongLink --- PASS: TestAsComment_LongLink (0.00s) === RUN TestPagesParam --- PASS: TestPagesParam (0.00s) === RUN TestPagesRequestField --- PASS: TestPagesRequestField (0.00s) === RUN TestDeprecatedPkgs === RUN TestDeprecatedPkgs/replacement_found === RUN TestDeprecatedPkgs/replacemet_found_with_no_versions_specified === RUN TestDeprecatedPkgs/no_replacement_found,_package_not_in_map === RUN TestDeprecatedPkgs/no_replacement_found,_version_mismatch --- PASS: TestDeprecatedPkgs (0.00s) --- PASS: TestDeprecatedPkgs/replacement_found (0.00s) --- PASS: TestDeprecatedPkgs/replacemet_found_with_no_versions_specified (0.00s) --- PASS: TestDeprecatedPkgs/no_replacement_found,_package_not_in_map (0.00s) --- PASS: TestDeprecatedPkgs/no_replacement_found,_version_mismatch (0.00s) PASS ok google.golang.org/api/google-api-go-generator 0.225s + popd ~/.cache/synthtool/google-api-go-client 2021-02-04 04:41:41,532 synthtool [DEBUG] > Wrote metadata to synth.metadata. DEBUG:synthtool:Wrote metadata to synth.metadata. ks (0.00s) --- PASS: TestRemoveMarkdownLinks/At_start (0.00s) --- PASS: TestRemoveMarkdownLinks/At_end_ (0.00s) === RUN TestAsComment_LongLink --- PASS: TestAsComment_LongLink (0.00s) === RUN TestPagesParam --- PASS: TestPagesParam (0.00s) === RUN TestPagesRequestField --- PASS: TestPagesRequestField (0.00s) === RUN TestDeprecatedPkgs === RUN TestDeprecatedPkgs/replacement_found === RUN TestDeprecatedPkgs/replacemet_found_with_no_versions_specified === RUN TestDeprecatedPkgs/no_replacement_found,_package_not_in_map === RUN TestDeprecatedPkgs/no_replacement_found,_version_mismatch --- PASS: TestDeprecatedPkgs (0.00s) --- PASS: TestDeprecatedPkgs/replacement_found (0.00s) --- PASS: TestDeprecatedPkgs/replacemet_found_with_no_versions_specified (0.00s) --- PASS: TestDeprecatedPkgs/no_replacement_found,_package_not_in_map (0.00s) --- PASS: TestDeprecatedPkgs/no_replacement_found,_version_mismatch (0.00s) PASS ok google.golang.org/api/google-api-go-generator 0.225s + popd ~/.cache/synthtool/google-api-go-client 2021-02-04 04:41:41,532 synthtool [DEBUG] > Wrote metadata to synth.metadata. DEBUG:synthtool:Wrote metadata to synth.metadata. ``` </details> Full log will be available here: https://source.cloud.google.com/results/invocations/becc0ae8-10bb-4772-a515-9c914875e6bc/targets - [ ] To automatically regenerate this PR, check this box.
$ go get google.golang.org/api/tasks/v1 $ go get google.golang.org/api/moderator/v1 $ go get google.golang.org/api/urlshortener/v1 ... etc ...
and using:
package main import ( "net/http" "google.golang.org/api/urlshortener/v1" ) func main() { svc, err := urlshortener.New(http.DefaultClient) // ... }
These are auto-generated Go libraries from the Google Discovery Service's JSON description files of the available “new style” Google APIs.
Due to the auto-generated nature of this collection of libraries, complete APIs or specific versions can appear or go away without notice. As a result, you should always locally vendor any API(s) that your code relies upon.
These client libraries are officially supported by Google. However, the libraries are considered complete and are in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.
If you're working with Google Cloud Platform APIs such as Datastore or Pub/Sub, consider using the Cloud Client Libraries for Go instead. These are the new and idiomatic Go libraries targeted specifically at Google Cloud Platform Services.
The generator itself and the code it produces are beta. Some APIs are alpha/beta, and indicated as such in the import path (e.g., “google.golang.org/api/someapi/v1alpha”).
Application Default Credentials provide a simplified way to obtain credentials for authenticating with Google APIs.
The Application Default Credentials authenticate as the application itself, which make them great for working with Google Cloud APIs like Storage or Datastore. They are the recommended form of authentication when building applications that run on Google Compute Engine or Google App Engine.
Default credentials are provided by the golang.org/x/oauth2/google
package. To use them, add the following import:
import "golang.org/x/oauth2/google"
Some credentials types require you to specify scopes, and service entry points may not inject them. If you encounter this situation you may need to specify scopes as follows:
import ( "context" "golang.org/x/oauth2/google" "google.golang.org/api/compute/v1" ) func main() { // Use oauth2.NoContext if there isn't a good context to pass in. ctx := context.Background() client, err := google.DefaultClient(ctx, compute.ComputeScope) if err != nil { //... } computeService, err := compute.New(client) if err != nil { //... } }
If you need a oauth2.TokenSource
, use the DefaultTokenSource
function:
ts, err := google.DefaultTokenSource(ctx, scope1, scope2, ...) if err != nil { //... } client := oauth2.NewClient(ctx, ts)
See also: golang.org/x/oauth2/google package documentation.