From c20cbf57c20d3402307d4da1a0969ead2ebaf538 Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Wed, 13 Jun 2018 20:03:18 -0700 Subject: [PATCH 1/2] run the generator --- src/apis/abusiveexperiencereport/README.md | 27 + src/apis/abusiveexperiencereport/package.json | 24 + src/apis/acceleratedmobilepageurl/README.md | 27 + .../acceleratedmobilepageurl/package.json | 24 + src/apis/adexchangebuyer/README.md | 27 + src/apis/adexchangebuyer/package.json | 24 + src/apis/adexchangebuyer2/README.md | 27 + src/apis/adexchangebuyer2/package.json | 24 + src/apis/adexchangeseller/README.md | 27 + src/apis/adexchangeseller/package.json | 24 + src/apis/adexperiencereport/README.md | 27 + src/apis/adexperiencereport/package.json | 24 + src/apis/admin/README.md | 27 + src/apis/admin/directory_v1.ts | 12 +- src/apis/admin/package.json | 24 + src/apis/adsense/README.md | 27 + src/apis/adsense/package.json | 24 + src/apis/adsensehost/README.md | 27 + src/apis/adsensehost/package.json | 24 + src/apis/analytics/README.md | 27 + src/apis/analytics/package.json | 24 + src/apis/analyticsreporting/README.md | 27 + src/apis/analyticsreporting/package.json | 24 + src/apis/androiddeviceprovisioning/README.md | 27 + .../androiddeviceprovisioning/package.json | 24 + src/apis/androidenterprise/README.md | 27 + src/apis/androidenterprise/package.json | 24 + src/apis/androidmanagement/README.md | 27 + src/apis/androidmanagement/package.json | 24 + src/apis/androidmanagement/v1.ts | 11 +- src/apis/androidpublisher/README.md | 27 + src/apis/androidpublisher/package.json | 24 + src/apis/androidpublisher/v2.ts | 13 + src/apis/androidpublisher/v3.ts | 13 + src/apis/appengine/README.md | 27 + src/apis/appengine/package.json | 24 + src/apis/appengine/v1.ts | 5 + src/apis/appengine/v1beta.ts | 4 +- src/apis/appsactivity/README.md | 27 + src/apis/appsactivity/package.json | 24 + src/apis/appstate/README.md | 27 + src/apis/appstate/package.json | 24 + src/apis/bigquery/README.md | 27 + src/apis/bigquery/package.json | 24 + src/apis/bigquery/v2.ts | 2 + src/apis/bigquerydatatransfer/README.md | 27 + src/apis/bigquerydatatransfer/package.json | 24 + src/apis/bigquerydatatransfer/v1.ts | 2 +- src/apis/blogger/README.md | 27 + src/apis/blogger/package.json | 24 + src/apis/books/README.md | 27 + src/apis/books/package.json | 24 + src/apis/calendar/README.md | 27 + src/apis/calendar/package.json | 24 + src/apis/chat/README.md | 27 + src/apis/chat/package.json | 24 + src/apis/chat/v1.ts | 55 +- src/apis/civicinfo/README.md | 27 + src/apis/civicinfo/package.json | 24 + src/apis/classroom/README.md | 27 + src/apis/classroom/package.json | 24 + src/apis/classroom/v1.ts | 41 +- src/apis/cloudbilling/README.md | 27 + src/apis/cloudbilling/package.json | 24 + src/apis/cloudbuild/README.md | 27 + src/apis/cloudbuild/package.json | 24 + src/apis/clouddebugger/README.md | 27 + src/apis/clouddebugger/package.json | 24 + src/apis/clouderrorreporting/README.md | 27 + src/apis/clouderrorreporting/package.json | 24 + src/apis/cloudfunctions/README.md | 27 + src/apis/cloudfunctions/package.json | 24 + src/apis/cloudiot/README.md | 27 + src/apis/cloudiot/package.json | 24 + src/apis/cloudiot/v1.ts | 915 --------- src/apis/cloudkms/README.md | 27 + src/apis/cloudkms/package.json | 24 + src/apis/cloudresourcemanager/README.md | 27 + src/apis/cloudresourcemanager/package.json | 24 + src/apis/cloudresourcemanager/v1.ts | 196 +- src/apis/cloudresourcemanager/v2.ts | 28 +- src/apis/cloudresourcemanager/v2beta1.ts | 10 +- src/apis/cloudshell/README.md | 27 + src/apis/cloudshell/package.json | 24 + src/apis/cloudtasks/README.md | 27 + src/apis/cloudtasks/package.json | 24 + src/apis/cloudtrace/README.md | 27 + src/apis/cloudtrace/package.json | 24 + src/apis/composer/README.md | 27 + src/apis/composer/package.json | 24 + src/apis/compute/README.md | 27 + src/apis/compute/alpha.ts | 55 +- src/apis/compute/beta.ts | 1764 ++++++++++++++++- src/apis/compute/package.json | 24 + src/apis/compute/v1.ts | 62 +- src/apis/container/README.md | 27 + src/apis/container/package.json | 24 + src/apis/container/v1beta1.ts | 52 + src/apis/content/README.md | 27 + src/apis/content/package.json | 24 + src/apis/content/v2.ts | 274 ++- src/apis/content/v2sandbox.ts | 4 + src/apis/customsearch/README.md | 27 + src/apis/customsearch/package.json | 24 + src/apis/dataflow/README.md | 27 + src/apis/dataflow/package.json | 24 + src/apis/dataproc/README.md | 27 + src/apis/dataproc/package.json | 24 + src/apis/dataproc/v1.ts | 95 + src/apis/dataproc/v1beta2.ts | 14 + src/apis/datastore/README.md | 27 + src/apis/datastore/package.json | 24 + src/apis/deploymentmanager/README.md | 27 + src/apis/deploymentmanager/alpha.ts | 4 +- src/apis/deploymentmanager/package.json | 24 + src/apis/deploymentmanager/v2beta.ts | 4 +- src/apis/dfareporting/README.md | 27 + src/apis/dfareporting/package.json | 24 + src/apis/dialogflow/README.md | 27 + src/apis/dialogflow/package.json | 24 + src/apis/dialogflow/v2.ts | 4 +- src/apis/dialogflow/v2beta1.ts | 12 +- src/apis/digitalassetlinks/README.md | 27 + src/apis/digitalassetlinks/package.json | 24 + src/apis/discovery/README.md | 27 + src/apis/discovery/package.json | 24 + src/apis/dlp/README.md | 27 + src/apis/dlp/package.json | 24 + src/apis/dlp/v2.ts | 229 ++- src/apis/dns/README.md | 27 + src/apis/dns/package.json | 24 + src/apis/doubleclickbidmanager/README.md | 27 + src/apis/doubleclickbidmanager/package.json | 24 + src/apis/doubleclicksearch/README.md | 27 + src/apis/doubleclicksearch/package.json | 24 + src/apis/drive/README.md | 27 + src/apis/drive/package.json | 24 + src/apis/firebasedynamiclinks/README.md | 27 + src/apis/firebasedynamiclinks/package.json | 24 + src/apis/firebaserules/README.md | 27 + src/apis/firebaserules/package.json | 24 + src/apis/firebaserules/v1.ts | 18 + src/apis/firestore/README.md | 27 + src/apis/firestore/package.json | 24 + src/apis/fitness/README.md | 27 + src/apis/fitness/package.json | 24 + src/apis/fusiontables/README.md | 27 + src/apis/fusiontables/package.json | 24 + src/apis/games/README.md | 27 + src/apis/games/package.json | 24 + src/apis/gamesConfiguration/README.md | 27 + src/apis/gamesConfiguration/package.json | 24 + src/apis/gamesManagement/README.md | 27 + src/apis/gamesManagement/package.json | 24 + src/apis/genomics/README.md | 27 + src/apis/genomics/package.json | 24 + src/apis/genomics/v2alpha1.ts | 16 +- src/apis/gmail/README.md | 27 + src/apis/gmail/package.json | 24 + src/apis/groupsmigration/README.md | 27 + src/apis/groupsmigration/package.json | 24 + src/apis/groupssettings/README.md | 27 + src/apis/groupssettings/package.json | 24 + src/apis/iam/README.md | 27 + src/apis/iam/package.json | 24 + src/apis/iamcredentials/README.md | 27 + src/apis/iamcredentials/index.ts | 30 + src/apis/iamcredentials/package.json | 24 + src/apis/iamcredentials/v1.ts | 64 + src/apis/identitytoolkit/README.md | 27 + src/apis/identitytoolkit/package.json | 24 + src/apis/index.ts | 4 + src/apis/jobs/README.md | 27 + src/apis/jobs/package.json | 24 + src/apis/jobs/v2.ts | 15 +- src/apis/kgsearch/README.md | 27 + src/apis/kgsearch/package.json | 24 + src/apis/language/README.md | 27 + src/apis/language/package.json | 24 + src/apis/licensing/README.md | 27 + src/apis/licensing/package.json | 24 + src/apis/logging/README.md | 27 + src/apis/logging/package.json | 24 + src/apis/manufacturers/README.md | 27 + src/apis/manufacturers/package.json | 24 + src/apis/mirror/README.md | 27 + src/apis/mirror/package.json | 24 + src/apis/ml/README.md | 27 + src/apis/ml/package.json | 24 + src/apis/monitoring/README.md | 27 + src/apis/monitoring/package.json | 24 + src/apis/monitoring/v3.ts | 4 +- src/apis/oauth2/README.md | 27 + src/apis/oauth2/package.json | 24 + src/apis/oslogin/README.md | 27 + src/apis/oslogin/package.json | 24 + src/apis/pagespeedonline/README.md | 27 + src/apis/pagespeedonline/package.json | 24 + src/apis/partners/README.md | 27 + src/apis/partners/package.json | 24 + src/apis/people/README.md | 27 + src/apis/people/package.json | 24 + src/apis/playcustomapp/README.md | 27 + src/apis/playcustomapp/package.json | 24 + src/apis/plus/README.md | 27 + src/apis/plus/package.json | 24 + src/apis/plusDomains/README.md | 27 + src/apis/plusDomains/package.json | 24 + src/apis/poly/README.md | 27 + src/apis/poly/package.json | 24 + src/apis/poly/v1.ts | 8 + src/apis/proximitybeacon/README.md | 27 + src/apis/proximitybeacon/package.json | 24 + src/apis/pubsub/README.md | 27 + src/apis/pubsub/package.json | 24 + src/apis/redis/README.md | 27 + src/apis/redis/package.json | 24 + src/apis/replicapool/README.md | 27 + src/apis/replicapool/index.ts | 12 +- src/apis/replicapool/package.json | 24 + src/apis/replicapool/v1beta2.ts | 1553 --------------- src/apis/replicapoolupdater/README.md | 27 + src/apis/replicapoolupdater/package.json | 24 + src/apis/reseller/README.md | 27 + src/apis/reseller/package.json | 24 + src/apis/runtimeconfig/README.md | 27 + src/apis/runtimeconfig/package.json | 24 + src/apis/safebrowsing/README.md | 27 + src/apis/safebrowsing/package.json | 24 + src/apis/script/README.md | 27 + src/apis/script/package.json | 24 + src/apis/searchconsole/README.md | 27 + src/apis/searchconsole/package.json | 24 + src/apis/servicebroker/README.md | 27 + src/apis/servicebroker/package.json | 24 + src/apis/serviceconsumermanagement/README.md | 27 + .../serviceconsumermanagement/package.json | 24 + src/apis/servicecontrol/README.md | 27 + src/apis/servicecontrol/package.json | 24 + src/apis/servicecontrol/v1.ts | 15 + src/apis/servicemanagement/README.md | 27 + src/apis/servicemanagement/package.json | 24 + src/apis/serviceusage/README.md | 27 + src/apis/serviceusage/package.json | 24 + src/apis/serviceusage/v1beta1.ts | 8 + src/apis/serviceuser/README.md | 27 + src/apis/serviceuser/package.json | 24 + src/apis/sheets/README.md | 27 + src/apis/sheets/package.json | 24 + src/apis/siteVerification/README.md | 27 + src/apis/siteVerification/package.json | 24 + src/apis/slides/README.md | 27 + src/apis/slides/package.json | 24 + src/apis/slides/v1.ts | 8 +- src/apis/sourcerepo/README.md | 27 + src/apis/sourcerepo/package.json | 24 + src/apis/spanner/README.md | 27 + src/apis/spanner/package.json | 24 + src/apis/spectrum/README.md | 27 + src/apis/spectrum/package.json | 24 + src/apis/speech/README.md | 27 + src/apis/speech/package.json | 24 + src/apis/speech/v1.ts | 7 + src/apis/sqladmin/README.md | 27 + src/apis/sqladmin/package.json | 24 + src/apis/storage/README.md | 27 + src/apis/storage/package.json | 24 + src/apis/storagetransfer/README.md | 27 + src/apis/storagetransfer/package.json | 24 + src/apis/streetviewpublish/README.md | 27 + src/apis/streetviewpublish/package.json | 24 + src/apis/surveys/README.md | 27 + src/apis/surveys/package.json | 24 + src/apis/tagmanager/README.md | 27 + src/apis/tagmanager/package.json | 24 + src/apis/tasks/README.md | 27 + src/apis/tasks/package.json | 24 + src/apis/testing/README.md | 27 + src/apis/testing/package.json | 24 + src/apis/texttospeech/README.md | 27 + src/apis/texttospeech/package.json | 24 + src/apis/toolresults/README.md | 27 + src/apis/toolresults/package.json | 24 + src/apis/tpu/README.md | 27 + src/apis/tpu/package.json | 24 + src/apis/translate/README.md | 27 + src/apis/translate/package.json | 24 + src/apis/urlshortener/README.md | 27 + src/apis/urlshortener/package.json | 24 + src/apis/vault/README.md | 27 + src/apis/vault/package.json | 24 + src/apis/videointelligence/README.md | 27 + src/apis/videointelligence/package.json | 24 + src/apis/videointelligence/v1beta1.ts | 1262 ------------ src/apis/vision/README.md | 27 + src/apis/vision/package.json | 24 + src/apis/vision/v1.ts | 6 +- src/apis/vision/v1p1beta1.ts | 9 +- src/apis/vision/v1p2beta1.ts | 6 +- src/apis/webfonts/README.md | 27 + src/apis/webfonts/package.json | 24 + src/apis/webmasters/README.md | 27 + src/apis/webmasters/package.json | 24 + src/apis/websecurityscanner/README.md | 27 + src/apis/websecurityscanner/package.json | 24 + src/apis/youtube/README.md | 27 + src/apis/youtube/package.json | 24 + src/apis/youtubeAnalytics/README.md | 27 + src/apis/youtubeAnalytics/package.json | 24 + src/apis/youtubereporting/README.md | 27 + src/apis/youtubereporting/package.json | 24 + src/index.ts | 2 +- 312 files changed, 9663 insertions(+), 4047 deletions(-) create mode 100644 src/apis/abusiveexperiencereport/README.md create mode 100644 src/apis/abusiveexperiencereport/package.json create mode 100644 src/apis/acceleratedmobilepageurl/README.md create mode 100644 src/apis/acceleratedmobilepageurl/package.json create mode 100644 src/apis/adexchangebuyer/README.md create mode 100644 src/apis/adexchangebuyer/package.json create mode 100644 src/apis/adexchangebuyer2/README.md create mode 100644 src/apis/adexchangebuyer2/package.json create mode 100644 src/apis/adexchangeseller/README.md create mode 100644 src/apis/adexchangeseller/package.json create mode 100644 src/apis/adexperiencereport/README.md create mode 100644 src/apis/adexperiencereport/package.json create mode 100644 src/apis/admin/README.md create mode 100644 src/apis/admin/package.json create mode 100644 src/apis/adsense/README.md create mode 100644 src/apis/adsense/package.json create mode 100644 src/apis/adsensehost/README.md create mode 100644 src/apis/adsensehost/package.json create mode 100644 src/apis/analytics/README.md create mode 100644 src/apis/analytics/package.json create mode 100644 src/apis/analyticsreporting/README.md create mode 100644 src/apis/analyticsreporting/package.json create mode 100644 src/apis/androiddeviceprovisioning/README.md create mode 100644 src/apis/androiddeviceprovisioning/package.json create mode 100644 src/apis/androidenterprise/README.md create mode 100644 src/apis/androidenterprise/package.json create mode 100644 src/apis/androidmanagement/README.md create mode 100644 src/apis/androidmanagement/package.json create mode 100644 src/apis/androidpublisher/README.md create mode 100644 src/apis/androidpublisher/package.json create mode 100644 src/apis/appengine/README.md create mode 100644 src/apis/appengine/package.json create mode 100644 src/apis/appsactivity/README.md create mode 100644 src/apis/appsactivity/package.json create mode 100644 src/apis/appstate/README.md create mode 100644 src/apis/appstate/package.json create mode 100644 src/apis/bigquery/README.md create mode 100644 src/apis/bigquery/package.json create mode 100644 src/apis/bigquerydatatransfer/README.md create mode 100644 src/apis/bigquerydatatransfer/package.json create mode 100644 src/apis/blogger/README.md create mode 100644 src/apis/blogger/package.json create mode 100644 src/apis/books/README.md create mode 100644 src/apis/books/package.json create mode 100644 src/apis/calendar/README.md create mode 100644 src/apis/calendar/package.json create mode 100644 src/apis/chat/README.md create mode 100644 src/apis/chat/package.json create mode 100644 src/apis/civicinfo/README.md create mode 100644 src/apis/civicinfo/package.json create mode 100644 src/apis/classroom/README.md create mode 100644 src/apis/classroom/package.json create mode 100644 src/apis/cloudbilling/README.md create mode 100644 src/apis/cloudbilling/package.json create mode 100644 src/apis/cloudbuild/README.md create mode 100644 src/apis/cloudbuild/package.json create mode 100644 src/apis/clouddebugger/README.md create mode 100644 src/apis/clouddebugger/package.json create mode 100644 src/apis/clouderrorreporting/README.md create mode 100644 src/apis/clouderrorreporting/package.json create mode 100644 src/apis/cloudfunctions/README.md create mode 100644 src/apis/cloudfunctions/package.json create mode 100644 src/apis/cloudiot/README.md create mode 100644 src/apis/cloudiot/package.json create mode 100644 src/apis/cloudkms/README.md create mode 100644 src/apis/cloudkms/package.json create mode 100644 src/apis/cloudresourcemanager/README.md create mode 100644 src/apis/cloudresourcemanager/package.json create mode 100644 src/apis/cloudshell/README.md create mode 100644 src/apis/cloudshell/package.json create mode 100644 src/apis/cloudtasks/README.md create mode 100644 src/apis/cloudtasks/package.json create mode 100644 src/apis/cloudtrace/README.md create mode 100644 src/apis/cloudtrace/package.json create mode 100644 src/apis/composer/README.md create mode 100644 src/apis/composer/package.json create mode 100644 src/apis/compute/README.md create mode 100644 src/apis/compute/package.json create mode 100644 src/apis/container/README.md create mode 100644 src/apis/container/package.json create mode 100644 src/apis/content/README.md create mode 100644 src/apis/content/package.json create mode 100644 src/apis/customsearch/README.md create mode 100644 src/apis/customsearch/package.json create mode 100644 src/apis/dataflow/README.md create mode 100644 src/apis/dataflow/package.json create mode 100644 src/apis/dataproc/README.md create mode 100644 src/apis/dataproc/package.json create mode 100644 src/apis/datastore/README.md create mode 100644 src/apis/datastore/package.json create mode 100644 src/apis/deploymentmanager/README.md create mode 100644 src/apis/deploymentmanager/package.json create mode 100644 src/apis/dfareporting/README.md create mode 100644 src/apis/dfareporting/package.json create mode 100644 src/apis/dialogflow/README.md create mode 100644 src/apis/dialogflow/package.json create mode 100644 src/apis/digitalassetlinks/README.md create mode 100644 src/apis/digitalassetlinks/package.json create mode 100644 src/apis/discovery/README.md create mode 100644 src/apis/discovery/package.json create mode 100644 src/apis/dlp/README.md create mode 100644 src/apis/dlp/package.json create mode 100644 src/apis/dns/README.md create mode 100644 src/apis/dns/package.json create mode 100644 src/apis/doubleclickbidmanager/README.md create mode 100644 src/apis/doubleclickbidmanager/package.json create mode 100644 src/apis/doubleclicksearch/README.md create mode 100644 src/apis/doubleclicksearch/package.json create mode 100644 src/apis/drive/README.md create mode 100644 src/apis/drive/package.json create mode 100644 src/apis/firebasedynamiclinks/README.md create mode 100644 src/apis/firebasedynamiclinks/package.json create mode 100644 src/apis/firebaserules/README.md create mode 100644 src/apis/firebaserules/package.json create mode 100644 src/apis/firestore/README.md create mode 100644 src/apis/firestore/package.json create mode 100644 src/apis/fitness/README.md create mode 100644 src/apis/fitness/package.json create mode 100644 src/apis/fusiontables/README.md create mode 100644 src/apis/fusiontables/package.json create mode 100644 src/apis/games/README.md create mode 100644 src/apis/games/package.json create mode 100644 src/apis/gamesConfiguration/README.md create mode 100644 src/apis/gamesConfiguration/package.json create mode 100644 src/apis/gamesManagement/README.md create mode 100644 src/apis/gamesManagement/package.json create mode 100644 src/apis/genomics/README.md create mode 100644 src/apis/genomics/package.json create mode 100644 src/apis/gmail/README.md create mode 100644 src/apis/gmail/package.json create mode 100644 src/apis/groupsmigration/README.md create mode 100644 src/apis/groupsmigration/package.json create mode 100644 src/apis/groupssettings/README.md create mode 100644 src/apis/groupssettings/package.json create mode 100644 src/apis/iam/README.md create mode 100644 src/apis/iam/package.json create mode 100644 src/apis/iamcredentials/README.md create mode 100644 src/apis/iamcredentials/index.ts create mode 100644 src/apis/iamcredentials/package.json create mode 100644 src/apis/iamcredentials/v1.ts create mode 100644 src/apis/identitytoolkit/README.md create mode 100644 src/apis/identitytoolkit/package.json create mode 100644 src/apis/jobs/README.md create mode 100644 src/apis/jobs/package.json create mode 100644 src/apis/kgsearch/README.md create mode 100644 src/apis/kgsearch/package.json create mode 100644 src/apis/language/README.md create mode 100644 src/apis/language/package.json create mode 100644 src/apis/licensing/README.md create mode 100644 src/apis/licensing/package.json create mode 100644 src/apis/logging/README.md create mode 100644 src/apis/logging/package.json create mode 100644 src/apis/manufacturers/README.md create mode 100644 src/apis/manufacturers/package.json create mode 100644 src/apis/mirror/README.md create mode 100644 src/apis/mirror/package.json create mode 100644 src/apis/ml/README.md create mode 100644 src/apis/ml/package.json create mode 100644 src/apis/monitoring/README.md create mode 100644 src/apis/monitoring/package.json create mode 100644 src/apis/oauth2/README.md create mode 100644 src/apis/oauth2/package.json create mode 100644 src/apis/oslogin/README.md create mode 100644 src/apis/oslogin/package.json create mode 100644 src/apis/pagespeedonline/README.md create mode 100644 src/apis/pagespeedonline/package.json create mode 100644 src/apis/partners/README.md create mode 100644 src/apis/partners/package.json create mode 100644 src/apis/people/README.md create mode 100644 src/apis/people/package.json create mode 100644 src/apis/playcustomapp/README.md create mode 100644 src/apis/playcustomapp/package.json create mode 100644 src/apis/plus/README.md create mode 100644 src/apis/plus/package.json create mode 100644 src/apis/plusDomains/README.md create mode 100644 src/apis/plusDomains/package.json create mode 100644 src/apis/poly/README.md create mode 100644 src/apis/poly/package.json create mode 100644 src/apis/proximitybeacon/README.md create mode 100644 src/apis/proximitybeacon/package.json create mode 100644 src/apis/pubsub/README.md create mode 100644 src/apis/pubsub/package.json create mode 100644 src/apis/redis/README.md create mode 100644 src/apis/redis/package.json create mode 100644 src/apis/replicapool/README.md create mode 100644 src/apis/replicapool/package.json delete mode 100644 src/apis/replicapool/v1beta2.ts create mode 100644 src/apis/replicapoolupdater/README.md create mode 100644 src/apis/replicapoolupdater/package.json create mode 100644 src/apis/reseller/README.md create mode 100644 src/apis/reseller/package.json create mode 100644 src/apis/runtimeconfig/README.md create mode 100644 src/apis/runtimeconfig/package.json create mode 100644 src/apis/safebrowsing/README.md create mode 100644 src/apis/safebrowsing/package.json create mode 100644 src/apis/script/README.md create mode 100644 src/apis/script/package.json create mode 100644 src/apis/searchconsole/README.md create mode 100644 src/apis/searchconsole/package.json create mode 100644 src/apis/servicebroker/README.md create mode 100644 src/apis/servicebroker/package.json create mode 100644 src/apis/serviceconsumermanagement/README.md create mode 100644 src/apis/serviceconsumermanagement/package.json create mode 100644 src/apis/servicecontrol/README.md create mode 100644 src/apis/servicecontrol/package.json create mode 100644 src/apis/servicemanagement/README.md create mode 100644 src/apis/servicemanagement/package.json create mode 100644 src/apis/serviceusage/README.md create mode 100644 src/apis/serviceusage/package.json create mode 100644 src/apis/serviceuser/README.md create mode 100644 src/apis/serviceuser/package.json create mode 100644 src/apis/sheets/README.md create mode 100644 src/apis/sheets/package.json create mode 100644 src/apis/siteVerification/README.md create mode 100644 src/apis/siteVerification/package.json create mode 100644 src/apis/slides/README.md create mode 100644 src/apis/slides/package.json create mode 100644 src/apis/sourcerepo/README.md create mode 100644 src/apis/sourcerepo/package.json create mode 100644 src/apis/spanner/README.md create mode 100644 src/apis/spanner/package.json create mode 100644 src/apis/spectrum/README.md create mode 100644 src/apis/spectrum/package.json create mode 100644 src/apis/speech/README.md create mode 100644 src/apis/speech/package.json create mode 100644 src/apis/sqladmin/README.md create mode 100644 src/apis/sqladmin/package.json create mode 100644 src/apis/storage/README.md create mode 100644 src/apis/storage/package.json create mode 100644 src/apis/storagetransfer/README.md create mode 100644 src/apis/storagetransfer/package.json create mode 100644 src/apis/streetviewpublish/README.md create mode 100644 src/apis/streetviewpublish/package.json create mode 100644 src/apis/surveys/README.md create mode 100644 src/apis/surveys/package.json create mode 100644 src/apis/tagmanager/README.md create mode 100644 src/apis/tagmanager/package.json create mode 100644 src/apis/tasks/README.md create mode 100644 src/apis/tasks/package.json create mode 100644 src/apis/testing/README.md create mode 100644 src/apis/testing/package.json create mode 100644 src/apis/texttospeech/README.md create mode 100644 src/apis/texttospeech/package.json create mode 100644 src/apis/toolresults/README.md create mode 100644 src/apis/toolresults/package.json create mode 100644 src/apis/tpu/README.md create mode 100644 src/apis/tpu/package.json create mode 100644 src/apis/translate/README.md create mode 100644 src/apis/translate/package.json create mode 100644 src/apis/urlshortener/README.md create mode 100644 src/apis/urlshortener/package.json create mode 100644 src/apis/vault/README.md create mode 100644 src/apis/vault/package.json create mode 100644 src/apis/videointelligence/README.md create mode 100644 src/apis/videointelligence/package.json delete mode 100644 src/apis/videointelligence/v1beta1.ts create mode 100644 src/apis/vision/README.md create mode 100644 src/apis/vision/package.json create mode 100644 src/apis/webfonts/README.md create mode 100644 src/apis/webfonts/package.json create mode 100644 src/apis/webmasters/README.md create mode 100644 src/apis/webmasters/package.json create mode 100644 src/apis/websecurityscanner/README.md create mode 100644 src/apis/websecurityscanner/package.json create mode 100644 src/apis/youtube/README.md create mode 100644 src/apis/youtube/package.json create mode 100644 src/apis/youtubeAnalytics/README.md create mode 100644 src/apis/youtubeAnalytics/package.json create mode 100644 src/apis/youtubereporting/README.md create mode 100644 src/apis/youtubereporting/package.json diff --git a/src/apis/abusiveexperiencereport/README.md b/src/apis/abusiveexperiencereport/README.md new file mode 100644 index 00000000000..84a3ae2039a --- /dev/null +++ b/src/apis/abusiveexperiencereport/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/abusiveexperiencereport + +> View Abusive Experience Report data, and get a list of sites that have a significant number of abusive experiences. + +## Installation + +```sh +$ npm install @google/abusiveexperiencereport +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/abusiveexperiencereport/package.json b/src/apis/abusiveexperiencereport/package.json new file mode 100644 index 00000000000..4ad31fcb11c --- /dev/null +++ b/src/apis/abusiveexperiencereport/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/abusiveexperiencereport", + "version": "0.1.0", + "description": "abusiveexperiencereport", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/acceleratedmobilepageurl/README.md b/src/apis/acceleratedmobilepageurl/README.md new file mode 100644 index 00000000000..b65e4c70420 --- /dev/null +++ b/src/apis/acceleratedmobilepageurl/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/acceleratedmobilepageurl + +> This API contains a single method, batchGet. Call this method to retrieve the AMP URL (and equivalent AMP Cache URL) for given public URL(s). + +## Installation + +```sh +$ npm install @google/acceleratedmobilepageurl +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/acceleratedmobilepageurl/package.json b/src/apis/acceleratedmobilepageurl/package.json new file mode 100644 index 00000000000..f3bf46b8234 --- /dev/null +++ b/src/apis/acceleratedmobilepageurl/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/acceleratedmobilepageurl", + "version": "0.1.0", + "description": "acceleratedmobilepageurl", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/adexchangebuyer/README.md b/src/apis/adexchangebuyer/README.md new file mode 100644 index 00000000000..3a39d18d6ac --- /dev/null +++ b/src/apis/adexchangebuyer/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/adexchangebuyer + +> Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports. + +## Installation + +```sh +$ npm install @google/adexchangebuyer +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/adexchangebuyer/package.json b/src/apis/adexchangebuyer/package.json new file mode 100644 index 00000000000..85b96dc9c71 --- /dev/null +++ b/src/apis/adexchangebuyer/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/adexchangebuyer", + "version": "0.1.0", + "description": "adexchangebuyer", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/adexchangebuyer2/README.md b/src/apis/adexchangebuyer2/README.md new file mode 100644 index 00000000000..8f87521b20b --- /dev/null +++ b/src/apis/adexchangebuyer2/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/adexchangebuyer2 + +> Accesses the latest features for managing Ad Exchange accounts, Real-Time Bidding configurations and auction metrics, and Marketplace programmatic deals. + +## Installation + +```sh +$ npm install @google/adexchangebuyer2 +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/adexchangebuyer2/package.json b/src/apis/adexchangebuyer2/package.json new file mode 100644 index 00000000000..7ac566c64d0 --- /dev/null +++ b/src/apis/adexchangebuyer2/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/adexchangebuyer2", + "version": "0.1.0", + "description": "adexchangebuyer2", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/adexchangeseller/README.md b/src/apis/adexchangeseller/README.md new file mode 100644 index 00000000000..b0f38f349e0 --- /dev/null +++ b/src/apis/adexchangeseller/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/adexchangeseller + +> Accesses the inventory of Ad Exchange seller users and generates reports. + +## Installation + +```sh +$ npm install @google/adexchangeseller +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/adexchangeseller/package.json b/src/apis/adexchangeseller/package.json new file mode 100644 index 00000000000..9ed94e384d5 --- /dev/null +++ b/src/apis/adexchangeseller/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/adexchangeseller", + "version": "0.1.0", + "description": "adexchangeseller", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/adexperiencereport/README.md b/src/apis/adexperiencereport/README.md new file mode 100644 index 00000000000..8ad34374e3a --- /dev/null +++ b/src/apis/adexperiencereport/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/adexperiencereport + +> View Ad Experience Report data, and get a list of sites that have a significant number of annoying ads. + +## Installation + +```sh +$ npm install @google/adexperiencereport +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/adexperiencereport/package.json b/src/apis/adexperiencereport/package.json new file mode 100644 index 00000000000..948cea19f3c --- /dev/null +++ b/src/apis/adexperiencereport/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/adexperiencereport", + "version": "0.1.0", + "description": "adexperiencereport", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/admin/README.md b/src/apis/admin/README.md new file mode 100644 index 00000000000..9f6ee0db20d --- /dev/null +++ b/src/apis/admin/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/admin + +> Transfers user data from one user to another. + +## Installation + +```sh +$ npm install @google/admin +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/admin/directory_v1.ts b/src/apis/admin/directory_v1.ts index 2dc19b9d531..4ba143934aa 100644 --- a/src/apis/admin/directory_v1.ts +++ b/src/apis/admin/directory_v1.ts @@ -2874,7 +2874,7 @@ export namespace admin_directory_v1 { * @param {string=} params.orgUnitPath Full path of the organizational unit or its ID * @param {string=} params.pageToken Token to specify next page in the list * @param {string=} params.projection Restrict information returned to a set of selected fields. - * @param {string=} params.query Search string in the format given at http://support.google.com/chromeos/a/bin/answer.py?hl=en&answer=1698333 + * @param {string=} params.query Search string in the format given at http://support.google.com/chromeos/a/bin/answer.py?answer=1698333 * @param {string=} params.sortOrder Whether to return results in ascending or descending order. Only of use when orderBy is also used * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. @@ -3221,7 +3221,7 @@ export namespace admin_directory_v1 { projection?: string; /** * Search string in the format given at - * http://support.google.com/chromeos/a/bin/answer.py?hl=en&answer=1698333 + * http://support.google.com/chromeos/a/bin/answer.py?answer=1698333 */ query?: string; /** @@ -4439,7 +4439,7 @@ export namespace admin_directory_v1 { * @param {integer=} params.maxResults Maximum number of results to return. Default is 200 * @param {string=} params.orderBy Column to use for sorting results * @param {string=} params.pageToken Token to specify next page in the list - * @param {string=} params.query Query string search. Should be of the form "". Complete documentation is at https://developers.google.com/admin-sdk/directory/v1/guides/search-users + * @param {string=} params.query Query string search. Should be of the form "". Complete documentation is at https://developers.google.com/admin-sdk/directory/v1/guides/search-groups * @param {string=} params.sortOrder Whether to return results in ascending or descending order. Only of use when orderBy is also used * @param {string=} params.userKey Email or immutable Id of the user if only those groups are to be listed, the given user is a member of. If Id, it should match with id of user object * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. @@ -4693,7 +4693,7 @@ export namespace admin_directory_v1 { /** * Query string search. Should be of the form "". Complete documentation is * at - * https://developers.google.com/admin-sdk/directory/v1/guides/search-users + * https://developers.google.com/admin-sdk/directory/v1/guides/search-groups */ query?: string; /** @@ -5842,7 +5842,7 @@ export namespace admin_directory_v1 { * @param {string=} params.orderBy Column to use for sorting results * @param {string=} params.pageToken Token to specify next page in the list * @param {string=} params.projection Restrict information returned to a set of selected fields. - * @param {string=} params.query Search string in the format given at http://support.google.com/a/bin/answer.py?hl=en&answer=1408863#search + * @param {string=} params.query Search string in the format given at http://support.google.com/a/bin/answer.py?answer=1408863#search * @param {string=} params.sortOrder Whether to return results in ascending or descending order. Only of use when orderBy is also used * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. @@ -5985,7 +5985,7 @@ export namespace admin_directory_v1 { projection?: string; /** * Search string in the format given at - * http://support.google.com/a/bin/answer.py?hl=en&answer=1408863#search + * http://support.google.com/a/bin/answer.py?answer=1408863#search */ query?: string; /** diff --git a/src/apis/admin/package.json b/src/apis/admin/package.json new file mode 100644 index 00000000000..d66ef4f9872 --- /dev/null +++ b/src/apis/admin/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/admin", + "version": "0.1.0", + "description": "admin", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/adsense/README.md b/src/apis/adsense/README.md new file mode 100644 index 00000000000..fe0afc879fa --- /dev/null +++ b/src/apis/adsense/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/adsense + +> Accesses AdSense publishers' inventory and generates performance reports. + +## Installation + +```sh +$ npm install @google/adsense +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/adsense/package.json b/src/apis/adsense/package.json new file mode 100644 index 00000000000..19344708ebe --- /dev/null +++ b/src/apis/adsense/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/adsense", + "version": "0.1.0", + "description": "adsense", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/adsensehost/README.md b/src/apis/adsensehost/README.md new file mode 100644 index 00000000000..01d7c550e99 --- /dev/null +++ b/src/apis/adsensehost/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/adsensehost + +> Generates performance reports, generates ad codes, and provides publisher management capabilities for AdSense Hosts. + +## Installation + +```sh +$ npm install @google/adsensehost +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/adsensehost/package.json b/src/apis/adsensehost/package.json new file mode 100644 index 00000000000..2456c1c7173 --- /dev/null +++ b/src/apis/adsensehost/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/adsensehost", + "version": "0.1.0", + "description": "adsensehost", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/analytics/README.md b/src/apis/analytics/README.md new file mode 100644 index 00000000000..4016234fca3 --- /dev/null +++ b/src/apis/analytics/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/analytics + +> Views and manages your Google Analytics data. + +## Installation + +```sh +$ npm install @google/analytics +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/analytics/package.json b/src/apis/analytics/package.json new file mode 100644 index 00000000000..5a791fd2d6d --- /dev/null +++ b/src/apis/analytics/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/analytics", + "version": "0.1.0", + "description": "analytics", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/analyticsreporting/README.md b/src/apis/analyticsreporting/README.md new file mode 100644 index 00000000000..2c6abf81b5e --- /dev/null +++ b/src/apis/analyticsreporting/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/analyticsreporting + +> Accesses Analytics report data. + +## Installation + +```sh +$ npm install @google/analyticsreporting +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/analyticsreporting/package.json b/src/apis/analyticsreporting/package.json new file mode 100644 index 00000000000..c3273ab2250 --- /dev/null +++ b/src/apis/analyticsreporting/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/analyticsreporting", + "version": "0.1.0", + "description": "analyticsreporting", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/androiddeviceprovisioning/README.md b/src/apis/androiddeviceprovisioning/README.md new file mode 100644 index 00000000000..219300961d5 --- /dev/null +++ b/src/apis/androiddeviceprovisioning/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/androiddeviceprovisioning + +> Automates reseller integration into zero-touch enrollment by assigning devices to customers and creating device reports. + +## Installation + +```sh +$ npm install @google/androiddeviceprovisioning +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/androiddeviceprovisioning/package.json b/src/apis/androiddeviceprovisioning/package.json new file mode 100644 index 00000000000..1800eca0f7a --- /dev/null +++ b/src/apis/androiddeviceprovisioning/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/androiddeviceprovisioning", + "version": "0.1.0", + "description": "androiddeviceprovisioning", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/androidenterprise/README.md b/src/apis/androidenterprise/README.md new file mode 100644 index 00000000000..457ef15b7c6 --- /dev/null +++ b/src/apis/androidenterprise/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/androidenterprise + +> Manages the deployment of apps to Android for Work users. + +## Installation + +```sh +$ npm install @google/androidenterprise +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/androidenterprise/package.json b/src/apis/androidenterprise/package.json new file mode 100644 index 00000000000..6da3284686e --- /dev/null +++ b/src/apis/androidenterprise/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/androidenterprise", + "version": "0.1.0", + "description": "androidenterprise", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/androidmanagement/README.md b/src/apis/androidmanagement/README.md new file mode 100644 index 00000000000..0ba3c223d4b --- /dev/null +++ b/src/apis/androidmanagement/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/androidmanagement + +> The Android Management API provides remote enterprise management of Android devices and apps. + +## Installation + +```sh +$ npm install @google/androidmanagement +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/androidmanagement/package.json b/src/apis/androidmanagement/package.json new file mode 100644 index 00000000000..da1f2cce561 --- /dev/null +++ b/src/apis/androidmanagement/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/androidmanagement", + "version": "0.1.0", + "description": "androidmanagement", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/androidmanagement/v1.ts b/src/apis/androidmanagement/v1.ts index b3c25e02389..f1cc5543430 100644 --- a/src/apis/androidmanagement/v1.ts +++ b/src/apis/androidmanagement/v1.ts @@ -163,7 +163,8 @@ export namespace androidmanagement_v1 { */ delegatedScopes?: string[]; /** - * Whether the app should be disabled, but app data is preserved. + * Whether the app is disabled. When disabled, the app data is still + * preserved. */ disabled?: boolean; /** @@ -426,7 +427,10 @@ export namespace androidmanagement_v1 { */ hardwareStatusSamples?: Schema$HardwareStatus[]; /** - * The last time the device sent a policy compliance report. + * The last time the device sent a policy compliance report. Important: This + * field is deprecated. The timestamp will be on last_status_report_time + * field, and last_status_report_time will be used for both status report + * and compliance report. */ lastPolicyComplianceReportTime?: string; /** @@ -1130,7 +1134,8 @@ export namespace androidmanagement_v1 { */ export interface Schema$PermissionGrant { /** - * The android permission, e.g. android.permission.READ_CALENDAR. + * The android permission or group, e.g. android.permission.READ_CALENDAR or + * android.permission_group.CALENDAR. */ permission?: string; /** diff --git a/src/apis/androidpublisher/README.md b/src/apis/androidpublisher/README.md new file mode 100644 index 00000000000..c06ebcf28fb --- /dev/null +++ b/src/apis/androidpublisher/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/androidpublisher + +> Lets Android application developers access their Google Play accounts. + +## Installation + +```sh +$ npm install @google/androidpublisher +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/androidpublisher/package.json b/src/apis/androidpublisher/package.json new file mode 100644 index 00000000000..d89aafe8c11 --- /dev/null +++ b/src/apis/androidpublisher/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/androidpublisher", + "version": "0.1.0", + "description": "androidpublisher", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/androidpublisher/v2.ts b/src/apis/androidpublisher/v2.ts index 9191c12b0cf..2c91852c8e2 100644 --- a/src/apis/androidpublisher/v2.ts +++ b/src/apis/androidpublisher/v2.ts @@ -407,6 +407,13 @@ export namespace androidpublisher_v2 { * price is always in the developer's Checkout merchant currency. */ defaultPrice?: Schema$Price; + /** + * Grace period of the subscription, specified in ISO 8601 format. It will + * allow developers to give their subscribers a grace period when the + * payment for the new recurrence period is declined. Acceptable values = + * "P3D" (three days) and "P7D" (seven days) + */ + gracePeriod?: string; /** * List of localized title and description data. */ @@ -2368,6 +2375,12 @@ export namespace androidpublisher_v2 { /** * androidpublisher.edits.bundles.upload + * @desc Uploads a new Android App Bundle to this edit. If you are using the + * Google API client libraries, please increase the timeout of the http + * request before calling this endpoint (a timeout of 2 minutes is + * recommended). See: + * https://developers.google.com/api-client-library/java/google-api-java-client/errors + * for an example in java. * @alias androidpublisher.edits.bundles.upload * @memberOf! () * diff --git a/src/apis/androidpublisher/v3.ts b/src/apis/androidpublisher/v3.ts index 2bf0848a6c7..f4b89a57fda 100644 --- a/src/apis/androidpublisher/v3.ts +++ b/src/apis/androidpublisher/v3.ts @@ -389,6 +389,13 @@ export namespace androidpublisher_v3 { * price is always in the developer's Checkout merchant currency. */ defaultPrice?: Schema$Price; + /** + * Grace period of the subscription, specified in ISO 8601 format. It will + * allow developers to give their subscribers a grace period when the + * payment for the new recurrence period is declined. Acceptable values = + * "P3D" (three days) and "P7D" (seven days) + */ + gracePeriod?: string; /** * List of localized title and description data. */ @@ -1781,6 +1788,12 @@ export namespace androidpublisher_v3 { /** * androidpublisher.edits.bundles.upload + * @desc Uploads a new Android App Bundle to this edit. If you are using the + * Google API client libraries, please increase the timeout of the http + * request before calling this endpoint (a timeout of 2 minutes is + * recommended). See: + * https://developers.google.com/api-client-library/java/google-api-java-client/errors + * for an example in java. * @alias androidpublisher.edits.bundles.upload * @memberOf! () * diff --git a/src/apis/appengine/README.md b/src/apis/appengine/README.md new file mode 100644 index 00000000000..33f4fb862e5 --- /dev/null +++ b/src/apis/appengine/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/appengine + +> The App Engine Admin API enables developers to provision and manage their App Engine applications. + +## Installation + +```sh +$ npm install @google/appengine +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/appengine/package.json b/src/apis/appengine/package.json new file mode 100644 index 00000000000..d978b2a80ad --- /dev/null +++ b/src/apis/appengine/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/appengine", + "version": "0.1.0", + "description": "appengine", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/appengine/v1.ts b/src/apis/appengine/v1.ts index f7010625b50..babf481acdb 100644 --- a/src/apis/appengine/v1.ts +++ b/src/apis/appengine/v1.ts @@ -582,6 +582,11 @@ export namespace appengine_v1 { * "myapi.endpoints.myproject.cloud.goog" */ name?: string; + /** + * Endpoints rollout strategy. If FIXED, config_id must be specified. If + * MANAGED, config_id must be omitted. + */ + rolloutStrategy?: string; } /** * Custom static error page to be served when an error occurs. diff --git a/src/apis/appengine/v1beta.ts b/src/apis/appengine/v1beta.ts index ab1d7d5df09..6d4092d527a 100644 --- a/src/apis/appengine/v1beta.ts +++ b/src/apis/appengine/v1beta.ts @@ -621,8 +621,8 @@ export namespace appengine_v1beta { * configuration ID. The config_id field is used to give the configuration * ID and is required in this case.Endpoints also has a rollout strategy * called RolloutStrategy.MANAGED. When using this, Endpoints fetches the - * latest configuration and does not need to be told the configuration ID. - * In this case, config_id must be omitted. + * latest configuration and does not need the configuration ID. In this + * case, config_id must be omitted. */ configId?: string; /** diff --git a/src/apis/appsactivity/README.md b/src/apis/appsactivity/README.md new file mode 100644 index 00000000000..e5725b17804 --- /dev/null +++ b/src/apis/appsactivity/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/appsactivity + +> Provides a historical view of activity. + +## Installation + +```sh +$ npm install @google/appsactivity +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/appsactivity/package.json b/src/apis/appsactivity/package.json new file mode 100644 index 00000000000..9882d306341 --- /dev/null +++ b/src/apis/appsactivity/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/appsactivity", + "version": "0.1.0", + "description": "appsactivity", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/appstate/README.md b/src/apis/appstate/README.md new file mode 100644 index 00000000000..607712a1cbb --- /dev/null +++ b/src/apis/appstate/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/appstate + +> The Google App State API. + +## Installation + +```sh +$ npm install @google/appstate +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/appstate/package.json b/src/apis/appstate/package.json new file mode 100644 index 00000000000..c71e239ab32 --- /dev/null +++ b/src/apis/appstate/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/appstate", + "version": "0.1.0", + "description": "appstate", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/bigquery/README.md b/src/apis/bigquery/README.md new file mode 100644 index 00000000000..a5280758c35 --- /dev/null +++ b/src/apis/bigquery/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/bigquery + +> A data platform for customers to create, manage, share and query data. + +## Installation + +```sh +$ npm install @google/bigquery +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/bigquery/package.json b/src/apis/bigquery/package.json new file mode 100644 index 00000000000..5c8966322d7 --- /dev/null +++ b/src/apis/bigquery/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/bigquery", + "version": "0.1.0", + "description": "bigquery", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/bigquery/v2.ts b/src/apis/bigquery/v2.ts index 65100137967..58b30ed0b53 100644 --- a/src/apis/bigquery/v2.ts +++ b/src/apis/bigquery/v2.ts @@ -1325,6 +1325,8 @@ export namespace bigquery_v2 { * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language * "DELETE": DELETE query; see * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language + * "MERGE": MERGE query; see + * https://cloud.google.com/bigquery/docs/reference/standard-sql/data-manipulation-language * "CREATE_TABLE": CREATE [OR REPLACE] TABLE without AS SELECT. * "CREATE_TABLE_AS_SELECT": CREATE [OR REPLACE] TABLE ... AS * SELECT ... "DROP_TABLE": DROP TABLE query. diff --git a/src/apis/bigquerydatatransfer/README.md b/src/apis/bigquerydatatransfer/README.md new file mode 100644 index 00000000000..e5b321d2466 --- /dev/null +++ b/src/apis/bigquerydatatransfer/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/bigquerydatatransfer + +> Transfers data from partner SaaS applications to Google BigQuery on a scheduled, managed basis. + +## Installation + +```sh +$ npm install @google/bigquerydatatransfer +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/bigquerydatatransfer/package.json b/src/apis/bigquerydatatransfer/package.json new file mode 100644 index 00000000000..22b2e1c96d0 --- /dev/null +++ b/src/apis/bigquerydatatransfer/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/bigquerydatatransfer", + "version": "0.1.0", + "description": "bigquerydatatransfer", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/bigquerydatatransfer/v1.ts b/src/apis/bigquerydatatransfer/v1.ts index a7da8209113..dd15269924c 100644 --- a/src/apis/bigquerydatatransfer/v1.ts +++ b/src/apis/bigquerydatatransfer/v1.ts @@ -571,7 +571,7 @@ export namespace bigquerydatatransfer_v1 { * created as part of a regular schedule. For batch transfer runs that are * scheduled manually, this is empty. NOTE: the system might choose to delay * the schedule depending on the current load, so `schedule_time` - * doesn't always matches this. + * doesn't always match this. */ schedule?: string; /** diff --git a/src/apis/blogger/README.md b/src/apis/blogger/README.md new file mode 100644 index 00000000000..7fe1ff49e2d --- /dev/null +++ b/src/apis/blogger/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/blogger + +> API for access to the data within Blogger. + +## Installation + +```sh +$ npm install @google/blogger +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/blogger/package.json b/src/apis/blogger/package.json new file mode 100644 index 00000000000..e814436ea9e --- /dev/null +++ b/src/apis/blogger/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/blogger", + "version": "0.1.0", + "description": "blogger", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/books/README.md b/src/apis/books/README.md new file mode 100644 index 00000000000..2e46e9d3719 --- /dev/null +++ b/src/apis/books/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/books + +> Searches for books and manages your Google Books library. + +## Installation + +```sh +$ npm install @google/books +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/books/package.json b/src/apis/books/package.json new file mode 100644 index 00000000000..a209c8746e5 --- /dev/null +++ b/src/apis/books/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/books", + "version": "0.1.0", + "description": "books", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/calendar/README.md b/src/apis/calendar/README.md new file mode 100644 index 00000000000..d49a9ff3e0e --- /dev/null +++ b/src/apis/calendar/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/calendar + +> Manipulates events and other calendar data. + +## Installation + +```sh +$ npm install @google/calendar +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/calendar/package.json b/src/apis/calendar/package.json new file mode 100644 index 00000000000..888fdbfeec2 --- /dev/null +++ b/src/apis/calendar/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/calendar", + "version": "0.1.0", + "description": "calendar", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/chat/README.md b/src/apis/chat/README.md new file mode 100644 index 00000000000..284f18aeb8e --- /dev/null +++ b/src/apis/chat/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/chat + +> Create bots and extend the new Hangouts Chat. + +## Installation + +```sh +$ npm install @google/chat +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/chat/package.json b/src/apis/chat/package.json new file mode 100644 index 00000000000..fc234481e29 --- /dev/null +++ b/src/apis/chat/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/chat", + "version": "0.1.0", + "description": "chat", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/chat/v1.ts b/src/apis/chat/v1.ts index 9479e7e720a..1b3e728e0ba 100644 --- a/src/apis/chat/v1.ts +++ b/src/apis/chat/v1.ts @@ -33,8 +33,7 @@ export namespace chat_v1 { /** * Hangouts Chat API * - * Enables bots to fetch information and perform actions in the new Hangouts - * Chat. + * Enables bots to fetch information and perform actions in Hangouts Chat. * * @example * const {google} = require('googleapis'); @@ -197,6 +196,58 @@ export namespace chat_v1 { */ title?: string; } + /** + * Hangouts Chat events. + */ + export interface Schema$DeprecatedEvent { + /** + * The form action data associated with an interactive card that was + * clicked. Only populated for CARD_CLICKED events. See the [Interactive + * Cards guide](/hangouts/chat/how-tos/cards-onclick) for more information. + */ + action?: Schema$FormAction; + /** + * The URL the bot should redirect the user to after they have completed an + * authorization or configuration flow outside of Hangouts Chat. See the + * [Authorizing access to 3p services guide](/hangouts/chat/how-tos/auth-3p) + * for more information. + */ + configCompleteRedirectUrl?: string; + /** + * The timestamp indicating when the event was dispatched. + */ + eventTime?: string; + /** + * The message that triggered the event. + */ + message?: Schema$Message; + /** + * The room or DM in which the event occurred. + */ + space?: Schema$Space; + /** + * The bot-defined key for the thread related to the event. See the + * thread_key field of the `spaces.message.create` request for more + * information. + */ + threadKey?: string; + /** + * A secret value that bots can use to verify if a request is from Google. + * The token is randomly generated by Google, remains static, and can be + * obtained from the Hangouts Chat API configuration page in the Cloud + * Console. Developers can revoke/regenerate it if needed from the same + * page. + */ + token?: string; + /** + * The type of the event. + */ + type?: string; + /** + * The user that triggered the event. + */ + user?: Schema$User; + } /** * 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 diff --git a/src/apis/civicinfo/README.md b/src/apis/civicinfo/README.md new file mode 100644 index 00000000000..9d2966f1a73 --- /dev/null +++ b/src/apis/civicinfo/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/civicinfo + +> Provides polling places, early vote locations, contest data, election officials, and government representatives for U.S. residential addresses. + +## Installation + +```sh +$ npm install @google/civicinfo +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/civicinfo/package.json b/src/apis/civicinfo/package.json new file mode 100644 index 00000000000..150e9cb2cda --- /dev/null +++ b/src/apis/civicinfo/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/civicinfo", + "version": "0.1.0", + "description": "civicinfo", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/classroom/README.md b/src/apis/classroom/README.md new file mode 100644 index 00000000000..3a57e705daf --- /dev/null +++ b/src/apis/classroom/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/classroom + +> Manages classes, rosters, and invitations in Google Classroom. + +## Installation + +```sh +$ npm install @google/classroom +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/classroom/package.json b/src/apis/classroom/package.json new file mode 100644 index 00000000000..46de023f8f6 --- /dev/null +++ b/src/apis/classroom/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/classroom", + "version": "0.1.0", + "description": "classroom", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/classroom/v1.ts b/src/apis/classroom/v1.ts index d049ffdfdd4..c61560e68ed 100644 --- a/src/apis/classroom/v1.ts +++ b/src/apis/classroom/v1.ts @@ -990,7 +990,7 @@ export namespace classroom_v1 { export interface Schema$ReclaimStudentSubmissionRequest {} /** * An instruction to Classroom to send notifications from the `feed` to the - * provided `destination`. + * provided destination. */ export interface Schema$Registration { /** @@ -1004,7 +1004,7 @@ export namespace classroom_v1 { expiryTime?: string; /** * Specification for the class of notifications that Classroom should - * deliver to the `destination`. + * deliver to the destination. */ feed?: Schema$Feed; /** @@ -5386,24 +5386,25 @@ export namespace classroom_v1 { /** * classroom.registrations.create * @desc Creates a `Registration`, causing Classroom to start sending - * notifications from the provided `feed` to the provided `destination`. - * Returns the created `Registration`. Currently, this will be the same as - * the argument, but with server-assigned fields such as `expiry_time` and - * `id` filled in. Note that any value specified for the `expiry_time` or - * `id` fields will be ignored. While Classroom may validate the - * `destination` and return errors on a best effort basis, it is the - * caller's responsibility to ensure that it exists and that Classroom has - * permission to publish to it. This method may return the following error - * codes: * `PERMISSION_DENIED` if: * the authenticated user does not - * have permission to receive notifications from the requested field; - * or * the credential provided does not include the appropriate scope - * for the requested feed. * another access error is encountered. - * * `INVALID_ARGUMENT` if: * no `destination` is specified, or the - * specified `destination` is not valid; or * no `feed` is - * specified, or the specified `feed` is not valid. * `NOT_FOUND` if: * - * the specified `feed` cannot be located, or the requesting user does not - * have permission to determine whether or not it exists; or * the - * specified `destination` cannot be located, or Classroom has not been + * notifications from the provided `feed` to the destination provided in + * `cloudPubSubTopic`. Returns the created `Registration`. Currently, this + * will be the same as the argument, but with server-assigned fields such as + * `expiry_time` and `id` filled in. Note that any value specified for the + * `expiry_time` or `id` fields will be ignored. While Classroom may + * validate the `cloudPubSubTopic` and return errors on a best effort basis, + * it is the caller's responsibility to ensure that it exists and that + * Classroom has permission to publish to it. This method may return the + * following error codes: * `PERMISSION_DENIED` if: * the authenticated + * user does not have permission to receive notifications from the + * requested field; or * the credential provided does not include the + * appropriate scope for the requested feed. * another access + * error is encountered. * `INVALID_ARGUMENT` if: * no + * `cloudPubsubTopic` is specified, or the specified `cloudPubsubTopic` is + * not valid; or * no `feed` is specified, or the specified `feed` is + * not valid. * `NOT_FOUND` if: * the specified `feed` cannot be + * located, or the requesting user does not have permission to + * determine whether or not it exists; or * the specified + * `cloudPubsubTopic` cannot be located, or Classroom has not been * granted permission to publish to it. * @alias classroom.registrations.create * @memberOf! () diff --git a/src/apis/cloudbilling/README.md b/src/apis/cloudbilling/README.md new file mode 100644 index 00000000000..38e127cc768 --- /dev/null +++ b/src/apis/cloudbilling/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/cloudbilling + +> Allows developers to manage billing for their Google Cloud Platform projects programmatically. + +## Installation + +```sh +$ npm install @google/cloudbilling +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/cloudbilling/package.json b/src/apis/cloudbilling/package.json new file mode 100644 index 00000000000..c4a80dc70b6 --- /dev/null +++ b/src/apis/cloudbilling/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/cloudbilling", + "version": "0.1.0", + "description": "cloudbilling", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/cloudbuild/README.md b/src/apis/cloudbuild/README.md new file mode 100644 index 00000000000..b0505a424e8 --- /dev/null +++ b/src/apis/cloudbuild/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/cloudbuild + +> Builds container images in the cloud. + +## Installation + +```sh +$ npm install @google/cloudbuild +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/cloudbuild/package.json b/src/apis/cloudbuild/package.json new file mode 100644 index 00000000000..65a8263c7fb --- /dev/null +++ b/src/apis/cloudbuild/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/cloudbuild", + "version": "0.1.0", + "description": "cloudbuild", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/clouddebugger/README.md b/src/apis/clouddebugger/README.md new file mode 100644 index 00000000000..0d4b51ee600 --- /dev/null +++ b/src/apis/clouddebugger/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/clouddebugger + +> Examines the call stack and variables of a running application without stopping or slowing it down. + +## Installation + +```sh +$ npm install @google/clouddebugger +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/clouddebugger/package.json b/src/apis/clouddebugger/package.json new file mode 100644 index 00000000000..284db220c25 --- /dev/null +++ b/src/apis/clouddebugger/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/clouddebugger", + "version": "0.1.0", + "description": "clouddebugger", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/clouderrorreporting/README.md b/src/apis/clouderrorreporting/README.md new file mode 100644 index 00000000000..c4477573679 --- /dev/null +++ b/src/apis/clouderrorreporting/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/clouderrorreporting + +> Groups and counts similar errors from cloud services and applications, reports new errors, and provides access to error groups and their associated errors. + +## Installation + +```sh +$ npm install @google/clouderrorreporting +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/clouderrorreporting/package.json b/src/apis/clouderrorreporting/package.json new file mode 100644 index 00000000000..7937f310e2f --- /dev/null +++ b/src/apis/clouderrorreporting/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/clouderrorreporting", + "version": "0.1.0", + "description": "clouderrorreporting", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/cloudfunctions/README.md b/src/apis/cloudfunctions/README.md new file mode 100644 index 00000000000..f98ab919209 --- /dev/null +++ b/src/apis/cloudfunctions/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/cloudfunctions + +> Manages lightweight user-provided functions executed in response to events. + +## Installation + +```sh +$ npm install @google/cloudfunctions +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/cloudfunctions/package.json b/src/apis/cloudfunctions/package.json new file mode 100644 index 00000000000..e0d0b284141 --- /dev/null +++ b/src/apis/cloudfunctions/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/cloudfunctions", + "version": "0.1.0", + "description": "cloudfunctions", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/cloudiot/README.md b/src/apis/cloudiot/README.md new file mode 100644 index 00000000000..673e99f33a6 --- /dev/null +++ b/src/apis/cloudiot/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/cloudiot + +> Registers and manages IoT (Internet of Things) devices that connect to the Google Cloud Platform. + +## Installation + +```sh +$ npm install @google/cloudiot +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/cloudiot/package.json b/src/apis/cloudiot/package.json new file mode 100644 index 00000000000..492b8bc25e2 --- /dev/null +++ b/src/apis/cloudiot/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/cloudiot", + "version": "0.1.0", + "description": "cloudiot", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/cloudiot/v1.ts b/src/apis/cloudiot/v1.ts index fff7c42ac2e..d95dcf4af50 100644 --- a/src/apis/cloudiot/v1.ts +++ b/src/apis/cloudiot/v1.ts @@ -684,12 +684,10 @@ export namespace cloudiot_v1 { export class Resource$Projects$Locations$Registries { root: Cloudiot; devices: Resource$Projects$Locations$Registries$Devices; - groups: Resource$Projects$Locations$Registries$Groups; constructor(root: Cloudiot) { this.root = root; this.getRoot.bind(this); this.devices = new Resource$Projects$Locations$Registries$Devices(root); - this.groups = new Resource$Projects$Locations$Registries$Groups(root); } getRoot() { @@ -2207,917 +2205,4 @@ export namespace cloudiot_v1 { */ numStates?: number; } - - - - export class Resource$Projects$Locations$Registries$Groups { - root: Cloudiot; - devices: Resource$Projects$Locations$Registries$Groups$Devices; - constructor(root: Cloudiot) { - this.root = root; - this.getRoot.bind(this); - this.devices = - new Resource$Projects$Locations$Registries$Groups$Devices(root); - } - - getRoot() { - return this.root; - } - - - /** - * cloudiot.projects.locations.registries.groups.getIamPolicy - * @desc Gets the access control policy for a resource. Returns an empty - * policy if the resource exists and does not have a policy set. - * @alias cloudiot.projects.locations.registries.groups.getIamPolicy - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {string} params.resource_ REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field. - * @param {().GetIamPolicyRequest} params.resource Request body data - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - getIamPolicy( - params?: - Params$Resource$Projects$Locations$Registries$Groups$Getiampolicy, - options?: MethodOptions): AxiosPromise; - getIamPolicy( - params: - Params$Resource$Projects$Locations$Registries$Groups$Getiampolicy, - options: MethodOptions|BodyResponseCallback, - callback: BodyResponseCallback): void; - getIamPolicy( - params: - Params$Resource$Projects$Locations$Registries$Groups$Getiampolicy, - callback: BodyResponseCallback): void; - getIamPolicy(callback: BodyResponseCallback): void; - getIamPolicy( - paramsOrCallback?: - Params$Resource$Projects$Locations$Registries$Groups$Getiampolicy| - BodyResponseCallback, - optionsOrCallback?: MethodOptions|BodyResponseCallback, - callback?: BodyResponseCallback): - void|AxiosPromise { - let params = (paramsOrCallback || {}) as - Params$Resource$Projects$Locations$Registries$Groups$Getiampolicy; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as - Params$Resource$Projects$Locations$Registries$Groups$Getiampolicy; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:getIamPolicy') - .replace(/([^:]\/)\/+/g, '$1'), - method: 'POST' - }, - options), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.getRoot() - }; - if (callback) { - createAPIRequest(parameters, callback); - } else { - return createAPIRequest(parameters); - } - } - - - /** - * cloudiot.projects.locations.registries.groups.setIamPolicy - * @desc Sets the access control policy on the specified resource. Replaces - * any existing policy. - * @alias cloudiot.projects.locations.registries.groups.setIamPolicy - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {string} params.resource_ REQUIRED: The resource for which the policy is being specified. See the operation documentation for the appropriate value for this field. - * @param {().SetIamPolicyRequest} params.resource Request body data - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - setIamPolicy( - params?: - Params$Resource$Projects$Locations$Registries$Groups$Setiampolicy, - options?: MethodOptions): AxiosPromise; - setIamPolicy( - params: - Params$Resource$Projects$Locations$Registries$Groups$Setiampolicy, - options: MethodOptions|BodyResponseCallback, - callback: BodyResponseCallback): void; - setIamPolicy( - params: - Params$Resource$Projects$Locations$Registries$Groups$Setiampolicy, - callback: BodyResponseCallback): void; - setIamPolicy(callback: BodyResponseCallback): void; - setIamPolicy( - paramsOrCallback?: - Params$Resource$Projects$Locations$Registries$Groups$Setiampolicy| - BodyResponseCallback, - optionsOrCallback?: MethodOptions|BodyResponseCallback, - callback?: BodyResponseCallback): - void|AxiosPromise { - let params = (paramsOrCallback || {}) as - Params$Resource$Projects$Locations$Registries$Groups$Setiampolicy; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as - Params$Resource$Projects$Locations$Registries$Groups$Setiampolicy; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:setIamPolicy') - .replace(/([^:]\/)\/+/g, '$1'), - method: 'POST' - }, - options), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.getRoot() - }; - if (callback) { - createAPIRequest(parameters, callback); - } else { - return createAPIRequest(parameters); - } - } - - - /** - * cloudiot.projects.locations.registries.groups.testIamPermissions - * @desc Returns permissions that a caller has on the specified resource. If - * the resource does not exist, this will return an empty set of - * permissions, not a NOT_FOUND error. - * @alias cloudiot.projects.locations.registries.groups.testIamPermissions - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {string} params.resource_ REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field. - * @param {().TestIamPermissionsRequest} params.resource Request body data - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - testIamPermissions( - params?: - Params$Resource$Projects$Locations$Registries$Groups$Testiampermissions, - options?: MethodOptions): - AxiosPromise; - testIamPermissions( - params: - Params$Resource$Projects$Locations$Registries$Groups$Testiampermissions, - options: MethodOptions| - BodyResponseCallback, - callback: BodyResponseCallback): - void; - testIamPermissions( - params: - Params$Resource$Projects$Locations$Registries$Groups$Testiampermissions, - callback: BodyResponseCallback): - void; - testIamPermissions( - callback: BodyResponseCallback): - void; - testIamPermissions( - paramsOrCallback?: - Params$Resource$Projects$Locations$Registries$Groups$Testiampermissions| - BodyResponseCallback, - optionsOrCallback?: MethodOptions| - BodyResponseCallback, - callback?: BodyResponseCallback): - void|AxiosPromise { - let params = (paramsOrCallback || {}) as - Params$Resource$Projects$Locations$Registries$Groups$Testiampermissions; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as - Params$Resource$Projects$Locations$Registries$Groups$Testiampermissions; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+resource}:testIamPermissions') - .replace(/([^:]\/)\/+/g, '$1'), - method: 'POST' - }, - options), - params, - requiredParams: ['resource'], - pathParams: ['resource'], - context: this.getRoot() - }; - if (callback) { - createAPIRequest( - parameters, callback); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Registries$Groups$Getiampolicy { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - /** - * REQUIRED: The resource for which the policy is being requested. See the - * operation documentation for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$GetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Registries$Groups$Setiampolicy { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - /** - * REQUIRED: The resource for which the policy is being specified. See the - * operation documentation for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$SetIamPolicyRequest; - } - export interface Params$Resource$Projects$Locations$Registries$Groups$Testiampermissions { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - /** - * REQUIRED: The resource for which the policy detail is being requested. - * See the operation documentation for the appropriate value for this field. - */ - resource?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$TestIamPermissionsRequest; - } - - export class Resource$Projects$Locations$Registries$Groups$Devices { - root: Cloudiot; - configVersions: - Resource$Projects$Locations$Registries$Groups$Devices$Configversions; - states: Resource$Projects$Locations$Registries$Groups$Devices$States; - constructor(root: Cloudiot) { - this.root = root; - this.getRoot.bind(this); - this.configVersions = - new Resource$Projects$Locations$Registries$Groups$Devices$Configversions( - root); - this.states = - new Resource$Projects$Locations$Registries$Groups$Devices$States( - root); - } - - getRoot() { - return this.root; - } - - - /** - * cloudiot.projects.locations.registries.groups.devices.delete - * @desc Deletes a device. - * @alias cloudiot.projects.locations.registries.groups.devices.delete - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {string} params.name The name of the device. For example, `projects/p0/locations/us-central1/registries/registry0/devices/device0` or `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - delete( - params?: - Params$Resource$Projects$Locations$Registries$Groups$Devices$Delete, - options?: MethodOptions): AxiosPromise; - delete( - params: - Params$Resource$Projects$Locations$Registries$Groups$Devices$Delete, - options: MethodOptions|BodyResponseCallback, - callback: BodyResponseCallback): void; - delete( - params: - Params$Resource$Projects$Locations$Registries$Groups$Devices$Delete, - callback: BodyResponseCallback): void; - delete(callback: BodyResponseCallback): void; - delete( - paramsOrCallback?: - Params$Resource$Projects$Locations$Registries$Groups$Devices$Delete| - BodyResponseCallback, - optionsOrCallback?: MethodOptions|BodyResponseCallback, - callback?: BodyResponseCallback): - void|AxiosPromise { - let params = (paramsOrCallback || {}) as - Params$Resource$Projects$Locations$Registries$Groups$Devices$Delete; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as - Params$Resource$Projects$Locations$Registries$Groups$Devices$Delete; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE' - }, - options), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.getRoot() - }; - if (callback) { - createAPIRequest(parameters, callback); - } else { - return createAPIRequest(parameters); - } - } - - - /** - * cloudiot.projects.locations.registries.groups.devices.get - * @desc Gets details about a device. - * @alias cloudiot.projects.locations.registries.groups.devices.get - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {string=} params.fieldMask The fields of the `Device` resource to be returned in the response. If the field mask is unset or empty, all fields are returned. - * @param {string} params.name The name of the device. For example, `projects/p0/locations/us-central1/registries/registry0/devices/device0` or `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - get(params?: - Params$Resource$Projects$Locations$Registries$Groups$Devices$Get, - options?: MethodOptions): AxiosPromise; - get(params: - Params$Resource$Projects$Locations$Registries$Groups$Devices$Get, - options: MethodOptions|BodyResponseCallback, - callback: BodyResponseCallback): void; - get(params: - Params$Resource$Projects$Locations$Registries$Groups$Devices$Get, - callback: BodyResponseCallback): void; - get(callback: BodyResponseCallback): void; - get(paramsOrCallback?: - Params$Resource$Projects$Locations$Registries$Groups$Devices$Get| - BodyResponseCallback, - optionsOrCallback?: MethodOptions|BodyResponseCallback, - callback?: BodyResponseCallback): - void|AxiosPromise { - let params = (paramsOrCallback || {}) as - Params$Resource$Projects$Locations$Registries$Groups$Devices$Get; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as - Params$Resource$Projects$Locations$Registries$Groups$Devices$Get; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'GET' - }, - options), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.getRoot() - }; - if (callback) { - createAPIRequest(parameters, callback); - } else { - return createAPIRequest(parameters); - } - } - - - /** - * cloudiot.projects.locations.registries.groups.devices.modifyCloudToDeviceConfig - * @desc Modifies the configuration for the device, which is eventually sent - * from the Cloud IoT Core servers. Returns the modified configuration - * version and its metadata. - * @alias - * cloudiot.projects.locations.registries.groups.devices.modifyCloudToDeviceConfig - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {string} params.name The name of the device. For example, `projects/p0/locations/us-central1/registries/registry0/devices/device0` or `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. - * @param {().ModifyCloudToDeviceConfigRequest} params.resource Request body data - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - modifyCloudToDeviceConfig( - params?: - Params$Resource$Projects$Locations$Registries$Groups$Devices$Modifycloudtodeviceconfig, - options?: MethodOptions): AxiosPromise; - modifyCloudToDeviceConfig( - params: - Params$Resource$Projects$Locations$Registries$Groups$Devices$Modifycloudtodeviceconfig, - options: MethodOptions|BodyResponseCallback, - callback: BodyResponseCallback): void; - modifyCloudToDeviceConfig( - params: - Params$Resource$Projects$Locations$Registries$Groups$Devices$Modifycloudtodeviceconfig, - callback: BodyResponseCallback): void; - modifyCloudToDeviceConfig( - callback: BodyResponseCallback): void; - modifyCloudToDeviceConfig( - paramsOrCallback?: - Params$Resource$Projects$Locations$Registries$Groups$Devices$Modifycloudtodeviceconfig| - BodyResponseCallback, - optionsOrCallback?: MethodOptions| - BodyResponseCallback, - callback?: BodyResponseCallback): - void|AxiosPromise { - let params = (paramsOrCallback || {}) as - Params$Resource$Projects$Locations$Registries$Groups$Devices$Modifycloudtodeviceconfig; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as - Params$Resource$Projects$Locations$Registries$Groups$Devices$Modifycloudtodeviceconfig; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}:modifyCloudToDeviceConfig') - .replace(/([^:]\/)\/+/g, '$1'), - method: 'POST' - }, - options), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.getRoot() - }; - if (callback) { - createAPIRequest(parameters, callback); - } else { - return createAPIRequest(parameters); - } - } - - - /** - * cloudiot.projects.locations.registries.groups.devices.patch - * @desc Updates a device. - * @alias cloudiot.projects.locations.registries.groups.devices.patch - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {string} params.name The resource path name. For example, `projects/p1/locations/us-central1/registries/registry0/devices/dev0` or `projects/p1/locations/us-central1/registries/registry0/devices/{num_id}`. When `name` is populated as a response from the service, it always ends in the device numeric ID. - * @param {string=} params.updateMask Only updates the `device` fields indicated by this mask. The field mask must not be empty, and it must not contain fields that are immutable or only set by the server. Mutable top-level fields: `credentials`, `blocked`, and `metadata` - * @param {().Device} params.resource Request body data - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - patch( - params?: - Params$Resource$Projects$Locations$Registries$Groups$Devices$Patch, - options?: MethodOptions): AxiosPromise; - patch( - params: - Params$Resource$Projects$Locations$Registries$Groups$Devices$Patch, - options: MethodOptions|BodyResponseCallback, - callback: BodyResponseCallback): void; - patch( - params: - Params$Resource$Projects$Locations$Registries$Groups$Devices$Patch, - callback: BodyResponseCallback): void; - patch(callback: BodyResponseCallback): void; - patch( - paramsOrCallback?: - Params$Resource$Projects$Locations$Registries$Groups$Devices$Patch| - BodyResponseCallback, - optionsOrCallback?: MethodOptions|BodyResponseCallback, - callback?: BodyResponseCallback): - void|AxiosPromise { - let params = (paramsOrCallback || {}) as - Params$Resource$Projects$Locations$Registries$Groups$Devices$Patch; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as - Params$Resource$Projects$Locations$Registries$Groups$Devices$Patch; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), - method: 'PATCH' - }, - options), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.getRoot() - }; - if (callback) { - createAPIRequest(parameters, callback); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Registries$Groups$Devices$Delete { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - /** - * The name of the device. For example, - * `projects/p0/locations/us-central1/registries/registry0/devices/device0` - * or - * `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Registries$Groups$Devices$Get { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - /** - * The fields of the `Device` resource to be returned in the response. If - * the field mask is unset or empty, all fields are returned. - */ - fieldMask?: string; - /** - * The name of the device. For example, - * `projects/p0/locations/us-central1/registries/registry0/devices/device0` - * or - * `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. - */ - name?: string; - } - export interface Params$Resource$Projects$Locations$Registries$Groups$Devices$Modifycloudtodeviceconfig { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - /** - * The name of the device. For example, - * `projects/p0/locations/us-central1/registries/registry0/devices/device0` - * or - * `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. - */ - name?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$ModifyCloudToDeviceConfigRequest; - } - export interface Params$Resource$Projects$Locations$Registries$Groups$Devices$Patch { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - /** - * The resource path name. For example, - * `projects/p1/locations/us-central1/registries/registry0/devices/dev0` or - * `projects/p1/locations/us-central1/registries/registry0/devices/{num_id}`. - * When `name` is populated as a response from the service, it always ends - * in the device numeric ID. - */ - name?: string; - /** - * Only updates the `device` fields indicated by this mask. The field mask - * must not be empty, and it must not contain fields that are immutable or - * only set by the server. Mutable top-level fields: `credentials`, - * `blocked`, and `metadata` - */ - updateMask?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$Device; - } - - export class - Resource$Projects$Locations$Registries$Groups$Devices$Configversions { - root: Cloudiot; - constructor(root: Cloudiot) { - this.root = root; - this.getRoot.bind(this); - } - - getRoot() { - return this.root; - } - - - /** - * cloudiot.projects.locations.registries.groups.devices.configVersions.list - * @desc Lists the last few versions of the device configuration in - * descending order (i.e.: newest first). - * @alias - * cloudiot.projects.locations.registries.groups.devices.configVersions.list - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {string} params.name The name of the device. For example, `projects/p0/locations/us-central1/registries/registry0/devices/device0` or `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. - * @param {integer=} params.numVersions The number of versions to list. Versions are listed in decreasing order of the version number. The maximum number of versions retained is 10. If this value is zero, it will return all the versions available. - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - list( - params?: - Params$Resource$Projects$Locations$Registries$Groups$Devices$Configversions$List, - options?: MethodOptions): - AxiosPromise; - list( - params: - Params$Resource$Projects$Locations$Registries$Groups$Devices$Configversions$List, - options: MethodOptions| - BodyResponseCallback, - callback: - BodyResponseCallback): - void; - list( - params: - Params$Resource$Projects$Locations$Registries$Groups$Devices$Configversions$List, - callback: - BodyResponseCallback): - void; - list(callback: - BodyResponseCallback): - void; - list( - paramsOrCallback?: - Params$Resource$Projects$Locations$Registries$Groups$Devices$Configversions$List| - BodyResponseCallback, - optionsOrCallback?: MethodOptions| - BodyResponseCallback, - callback?: - BodyResponseCallback): - void|AxiosPromise { - let params = (paramsOrCallback || {}) as - Params$Resource$Projects$Locations$Registries$Groups$Devices$Configversions$List; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as - Params$Resource$Projects$Locations$Registries$Groups$Devices$Configversions$List; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}/configVersions') - .replace(/([^:]\/)\/+/g, '$1'), - method: 'GET' - }, - options), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.getRoot() - }; - if (callback) { - createAPIRequest( - parameters, callback); - } else { - return createAPIRequest( - parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Registries$Groups$Devices$Configversions$List { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - /** - * The name of the device. For example, - * `projects/p0/locations/us-central1/registries/registry0/devices/device0` - * or - * `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. - */ - name?: string; - /** - * The number of versions to list. Versions are listed in decreasing order - * of the version number. The maximum number of versions retained is 10. If - * this value is zero, it will return all the versions available. - */ - numVersions?: number; - } - - - export class Resource$Projects$Locations$Registries$Groups$Devices$States { - root: Cloudiot; - constructor(root: Cloudiot) { - this.root = root; - this.getRoot.bind(this); - } - - getRoot() { - return this.root; - } - - - /** - * cloudiot.projects.locations.registries.groups.devices.states.list - * @desc Lists the last few versions of the device state in descending order - * (i.e.: newest first). - * @alias cloudiot.projects.locations.registries.groups.devices.states.list - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {string} params.name The name of the device. For example, `projects/p0/locations/us-central1/registries/registry0/devices/device0` or `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. - * @param {integer=} params.numStates The number of states to list. States are listed in descending order of update time. The maximum number of states retained is 10. If this value is zero, it will return all the states available. - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - list( - params?: - Params$Resource$Projects$Locations$Registries$Groups$Devices$States$List, - options?: MethodOptions): AxiosPromise; - list( - params: - Params$Resource$Projects$Locations$Registries$Groups$Devices$States$List, - options: MethodOptions| - BodyResponseCallback, - callback: BodyResponseCallback): void; - list( - params: - Params$Resource$Projects$Locations$Registries$Groups$Devices$States$List, - callback: BodyResponseCallback): void; - list(callback: BodyResponseCallback): void; - list( - paramsOrCallback?: - Params$Resource$Projects$Locations$Registries$Groups$Devices$States$List| - BodyResponseCallback, - optionsOrCallback?: MethodOptions| - BodyResponseCallback, - callback?: BodyResponseCallback): - void|AxiosPromise { - let params = (paramsOrCallback || {}) as - Params$Resource$Projects$Locations$Registries$Groups$Devices$States$List; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as - Params$Resource$Projects$Locations$Registries$Groups$Devices$States$List; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://cloudiot.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1/{+name}/states') - .replace(/([^:]\/)\/+/g, '$1'), - method: 'GET' - }, - options), - params, - requiredParams: ['name'], - pathParams: ['name'], - context: this.getRoot() - }; - if (callback) { - createAPIRequest(parameters, callback); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Projects$Locations$Registries$Groups$Devices$States$List { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - /** - * The name of the device. For example, - * `projects/p0/locations/us-central1/registries/registry0/devices/device0` - * or - * `projects/p0/locations/us-central1/registries/registry0/devices/{num_id}`. - */ - name?: string; - /** - * The number of states to list. States are listed in descending order of - * update time. The maximum number of states retained is 10. If this value - * is zero, it will return all the states available. - */ - numStates?: number; - } } diff --git a/src/apis/cloudkms/README.md b/src/apis/cloudkms/README.md new file mode 100644 index 00000000000..fe8f10828cb --- /dev/null +++ b/src/apis/cloudkms/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/cloudkms + +> Manages encryption for your cloud services the same way you do on-premises. You can generate, use, rotate, and destroy AES256 encryption keys. + +## Installation + +```sh +$ npm install @google/cloudkms +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/cloudkms/package.json b/src/apis/cloudkms/package.json new file mode 100644 index 00000000000..8962e2caf54 --- /dev/null +++ b/src/apis/cloudkms/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/cloudkms", + "version": "0.1.0", + "description": "cloudkms", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/cloudresourcemanager/README.md b/src/apis/cloudresourcemanager/README.md new file mode 100644 index 00000000000..eede155b508 --- /dev/null +++ b/src/apis/cloudresourcemanager/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/cloudresourcemanager + +> The Google Cloud Resource Manager API provides methods for creating, reading, and updating project metadata. + +## Installation + +```sh +$ npm install @google/cloudresourcemanager +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/cloudresourcemanager/package.json b/src/apis/cloudresourcemanager/package.json new file mode 100644 index 00000000000..1a0296cc4ad --- /dev/null +++ b/src/apis/cloudresourcemanager/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/cloudresourcemanager", + "version": "0.1.0", + "description": "cloudresourcemanager", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/cloudresourcemanager/v1.ts b/src/apis/cloudresourcemanager/v1.ts index 9385a1467a7..9b9355b30a7 100644 --- a/src/apis/cloudresourcemanager/v1.ts +++ b/src/apis/cloudresourcemanager/v1.ts @@ -428,6 +428,13 @@ export namespace cloudresourcemanager_v1 { * that matches the value specified in this `Constraint`. */ suggestedValue?: string; + /** + * Indicates whether subtrees of Cloud Resource Manager resource hierarchy + * can be used in `Policy.allowed_values` and `Policy.denied_values`. For + * example, `"under:folders/123"` would match any resource under + * the 'folders/123' folder. + */ + supportsUnder?: boolean; } /** * The response message for Liens.ListLiens. @@ -477,19 +484,29 @@ export namespace cloudresourcemanager_v1 { } /** * Used in `policy_type` to specify how `list_policy` behaves at this - * resource. A `ListPolicy` can define specific values that are allowed or - * denied by setting either the `allowed_values` or `denied_values` fields. It - * can also be used to allow or deny all values, by setting the `all_values` - * field. If `all_values` is `ALL_VALUES_UNSPECIFIED`, exactly one of - * `allowed_values` or `denied_values` must be set (attempting to set both or - * neither will result in a failed request). If `all_values` is set to either - * `ALLOW` or `DENY`, `allowed_values` and `denied_values` must be unset. + * resource. `ListPolicy` can define specific values and subtrees of Cloud + * Resource Manager resource hierarchy (`Organizations`, `Folders`, + * `Projects`) that are allowed or denied by setting the `allowed_values` and + * `denied_values` fields. This is achieved by using the `under:` and optional + * `is:` prefixes. The `under:` prefix is used to denote resource subtree + * values. The `is:` prefix is used to denote specific values, and is required + * only if the value contains a ":". Values prefixed with + * "is:" are treated the same as values with no prefix. Ancestry + * subtrees must be in one of the following formats: - + * “projects/<project-id>”, e.g. “projects/tokyo-rain-123” - + * “folders/<folder-id>”, e.g. “folders/1234” - + * “organizations/<organization-id>”, e.g. “organizations/1234” The + * `supports_under` field of the associated `Constraint` defines whether + * ancestry prefixes can be used. You can set `allowed_values` and + * `denied_values` in the same `Policy` if `all_values` is + * `ALL_VALUES_UNSPECIFIED`. `ALLOW` or `DENY` are used to allow or deny all + * values. If `all_values` is set to either `ALLOW` or `DENY`, + * `allowed_values` and `denied_values` must be unset. */ export interface Schema$ListPolicy { /** - * List of values allowed at this resource. Can only be set if no values - * are set for `denied_values` and `all_values` is set to - * `ALL_VALUES_UNSPECIFIED`. + * List of values allowed at this resource. Can only be set if `all_values` + * is set to `ALL_VALUES_UNSPECIFIED`. */ allowedValues?: string[]; /** @@ -497,9 +514,8 @@ export namespace cloudresourcemanager_v1 { */ allValues?: string; /** - * List of values denied at this resource. Can only be set if no values are - * set for `allowed_values` and `all_values` is set to - * `ALL_VALUES_UNSPECIFIED`. + * List of values denied at this resource. Can only be set if `all_values` + * is set to `ALL_VALUES_UNSPECIFIED`. */ deniedValues?: string[]; /** @@ -522,41 +538,51 @@ export namespace cloudresourcemanager_v1 { * `Policy` is applied to a project below the Organization that has * `inherit_from_parent` set to `false` and field all_values set to DENY, * then an attempt to activate any API will be denied. The following - * examples demonstrate different possible layerings: Example 1 (no - * inherited values): `organizations/foo` has a `Policy` with values: - * {allowed_values: “E1” allowed_values:”E2”} ``projects/bar`` has - * `inherit_from_parent` `false` and values: {allowed_values: - * "E3" allowed_values: "E4"} The accepted values at - * `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` - * are `E3`, and `E4`. Example 2 (inherited values): `organizations/foo` - * has a `Policy` with values: {allowed_values: “E1” - * allowed_values:”E2”} `projects/bar` has a `Policy` with values: {value: - * “E3” value: ”E4” inherit_from_parent: true} The accepted values at - * `organizations/foo` are `E1`, `E2`. The accepted values at `projects/bar` - * are `E1`, `E2`, `E3`, and `E4`. Example 3 (inheriting both allowed and - * denied values): `organizations/foo` has a `Policy` with values: - * {allowed_values: "E1" allowed_values: "E2"} - * `projects/bar` has a `Policy` with: {denied_values: "E1"} - * The accepted values at `organizations/foo` are `E1`, `E2`. The value - * accepted at `projects/bar` is `E2`. Example 4 (RestoreDefault): + * examples demonstrate different possible layerings for `projects/bar` + * parented by `organizations/foo`: Example 1 (no inherited values): * `organizations/foo` has a `Policy` with values: {allowed_values: “E1” - * allowed_values:”E2”} `projects/bar` has a `Policy` with values: - * {RestoreDefault: {}} The accepted values at `organizations/foo` are `E1`, - * `E2`. The accepted values at `projects/bar` are either all or none - * depending on the value of `constraint_default` (if `ALLOW`, all; if - * `DENY`, none). Example 5 (no policy inherits parent policy): - * `organizations/foo` has no `Policy` set. `projects/bar` has no `Policy` - * set. The accepted values at both levels are either all or none depending - * on the value of `constraint_default` (if `ALLOW`, all; if `DENY`, none). - * Example 6 (ListConstraint allowing all): `organizations/foo` has a - * `Policy` with values: {allowed_values: “E1” allowed_values: ”E2”} - * `projects/bar` has a `Policy` with: {all: ALLOW} The accepted values - * at `organizations/foo` are `E1`, E2`. Any value is accepted at + * allowed_values:”E2”} `projects/bar` has `inherit_from_parent` `false` + * and values: {allowed_values: "E3" allowed_values: + * "E4"} The accepted values at `organizations/foo` are `E1`, + * `E2`. The accepted values at `projects/bar` are `E3`, and `E4`. Example + * 2 (inherited values): `organizations/foo` has a `Policy` with values: + * {allowed_values: “E1” allowed_values:”E2”} `projects/bar` has a + * `Policy` with values: {value: “E3” value: ”E4” inherit_from_parent: + * true} The accepted values at `organizations/foo` are `E1`, `E2`. The + * accepted values at `projects/bar` are `E1`, `E2`, `E3`, and `E4`. Example + * 3 (inheriting both allowed and denied values): `organizations/foo` has + * a `Policy` with values: {allowed_values: "E1" + * allowed_values: "E2"} `projects/bar` has a `Policy` with: + * {denied_values: "E1"} The accepted values at + * `organizations/foo` are `E1`, `E2`. The value accepted at `projects/bar` + * is `E2`. Example 4 (RestoreDefault): `organizations/foo` has a + * `Policy` with values: {allowed_values: “E1” allowed_values:”E2”} + * `projects/bar` has a `Policy` with values: {RestoreDefault: {}} The + * accepted values at `organizations/foo` are `E1`, `E2`. The accepted + * values at `projects/bar` are either all or none depending on the value of + * `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 5 (no + * policy inherits parent policy): `organizations/foo` has no `Policy` + * set. `projects/bar` has no `Policy` set. The accepted values at both + * levels are either all or none depending on the value of + * `constraint_default` (if `ALLOW`, all; if `DENY`, none). Example 6 + * (ListConstraint allowing all): `organizations/foo` has a `Policy` with + * values: {allowed_values: “E1” allowed_values: ”E2”} `projects/bar` + * has a `Policy` with: {all: ALLOW} The accepted values at + * `organizations/foo` are `E1`, E2`. Any value is accepted at * `projects/bar`. Example 7 (ListConstraint allowing none): * `organizations/foo` has a `Policy` with values: {allowed_values: “E1” * allowed_values: ”E2”} `projects/bar` has a `Policy` with: {all: * DENY} The accepted values at `organizations/foo` are `E1`, E2`. No value - * is accepted at `projects/bar`. + * is accepted at `projects/bar`. Example 10 (allowed and denied subtrees + * of Resource Manager hierarchy): Given the following resource hierarchy + * O1->{F1, F2}; F1->{P1}; F2->{P2, P3}, `organizations/foo` has + * a `Policy` with values: {allowed_values: + * "under:organizations/O1"} `projects/bar` has a `Policy` with: + * {allowed_values: "under:projects/P3"} {denied_values: + * "under:folders/F2"} The accepted values at `organizations/foo` + * are `organizations/O1`, `folders/F1`, `folders/F2`, `projects/P1`, + * `projects/P2`, `projects/P3`. The accepted values at `projects/bar` are + * `organizations/O1`, `folders/F1`, `projects/P1`. */ inheritFromParent?: boolean; /** @@ -1171,7 +1197,8 @@ export namespace cloudresourcemanager_v1 { * @desc Gets the effective `Policy` on a resource. This is the result of * merging `Policies` in the resource hierarchy. The returned `Policy` will * not have an `etag`set because it is a computed `Policy` across multiple - * resources. + * resources. Subtrees of Resource Manager resource hierarchy with 'under:' + * prefix will not be expanded. * @example * * // BEFORE RUNNING: * // --------------- @@ -2195,6 +2222,70 @@ export namespace cloudresourcemanager_v1 { } + /** + * cloudresourcemanager.liens.get + * @desc Retrieve a Lien by `name`. Callers of this method will require + * permission on the `parent` resource. For example, a Lien with a `parent` + * of `projects/1234` requires permission requires permission + * `resourcemanager.projects.get` or `resourcemanager.projects.updateLiens`. + * @alias cloudresourcemanager.liens.get + * @memberOf! () + * + * @param {object} params Parameters for request + * @param {string} params.name The name/identifier of the Lien. + * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. + * @param {callback} callback The callback that handles the response. + * @return {object} Request object + */ + get(params?: Params$Resource$Liens$Get, + options?: MethodOptions): AxiosPromise; + get(params: Params$Resource$Liens$Get, + options: MethodOptions|BodyResponseCallback, + callback: BodyResponseCallback): void; + get(params: Params$Resource$Liens$Get, + callback: BodyResponseCallback): void; + get(callback: BodyResponseCallback): void; + get(paramsOrCallback?: Params$Resource$Liens$Get| + BodyResponseCallback, + optionsOrCallback?: MethodOptions|BodyResponseCallback, + callback?: BodyResponseCallback): + void|AxiosPromise { + let params = (paramsOrCallback || {}) as Params$Resource$Liens$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Liens$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = + options.rootUrl || 'https://cloudresourcemanager.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'), + method: 'GET' + }, + options), + params, + requiredParams: ['name'], + pathParams: ['name'], + context: this.getRoot() + }; + if (callback) { + createAPIRequest(parameters, callback); + } else { + return createAPIRequest(parameters); + } + } + + /** * cloudresourcemanager.liens.list * @desc List all Liens applied to the `parent` resource. Callers of this @@ -2351,6 +2442,17 @@ export namespace cloudresourcemanager_v1 { */ name?: string; } + export interface Params$Resource$Liens$Get { + /** + * Auth client or API Key for the request + */ + auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; + + /** + * The name/identifier of the Lien. + */ + name?: string; + } export interface Params$Resource$Liens$List { /** * Auth client or API Key for the request @@ -2771,7 +2873,8 @@ export namespace cloudresourcemanager_v1 { * @desc Gets the effective `Policy` on a resource. This is the result of * merging `Policies` in the resource hierarchy. The returned `Policy` will * not have an `etag`set because it is a computed `Policy` across multiple - * resources. + * resources. Subtrees of Resource Manager resource hierarchy with 'under:' + * prefix will not be expanded. * @example * * // BEFORE RUNNING: * // --------------- @@ -4812,7 +4915,8 @@ export namespace cloudresourcemanager_v1 { * @desc Gets the effective `Policy` on a resource. This is the result of * merging `Policies` in the resource hierarchy. The returned `Policy` will * not have an `etag`set because it is a computed `Policy` across multiple - * resources. + * resources. Subtrees of Resource Manager resource hierarchy with 'under:' + * prefix will not be expanded. * @example * * // BEFORE RUNNING: * // --------------- diff --git a/src/apis/cloudresourcemanager/v2.ts b/src/apis/cloudresourcemanager/v2.ts index 6e64ad56429..3d12243f1da 100644 --- a/src/apis/cloudresourcemanager/v2.ts +++ b/src/apis/cloudresourcemanager/v2.ts @@ -370,13 +370,17 @@ export namespace cloudresourcemanager_v2 { * criteria is specified then all accessible folders will be returned. Query * expressions can be used to restrict results based upon displayName, * lifecycleState and parent, where the operators `=`, `NOT`, `AND` and `OR` - * can be used along with the suffix wildcard symbol `*`. Some example - * queries are: |Query | Description| |----- | -----------| - * |displayName=Test* | Folders whose display name starts with - * "Test". |lifecycleState=ACTIVE | Folders whose lifecycleState - * is ACTIVE. |parent=folders/123 | Folders whose parent is - * "folders/123". |parent=folders/123 AND lifecycleState=ACTIVE | - * Active folders whose parent is "folders/123".| + * can be used along with the suffix wildcard symbol `*`. The displayName + * field in a query expression should use escaped quotes for values that + * include whitespace to prevent unexpected behavior. Some example queries + * are: |Query | Description| |----- | -----------| |displayName=Test* | + * Folders whose display name starts with "Test".| + * |lifecycleState=ACTIVE | Folders whose lifecycleState is ACTIVE.| + * |parent=folders/123 | Folders whose parent is "folders/123".| + * |parent=folders/123 AND lifecycleState=ACTIVE | Active folders whose + * parent is "folders/123".| |displayName=\\"Test + * String\\"|Folders whose display name includes both "Test" + * and "String".| */ query?: string; } @@ -521,11 +525,11 @@ export namespace cloudresourcemanager_v2 { * headroom when moving folders that contain deleted folders. + The addition * of the Folder must not cause the total number of Folders under its parent * to exceed 100. If the operation fails due to a folder constraint - * violation, a PreconditionFailure explaining the violation will be - * returned. If the failure occurs synchronously then the - * PreconditionFailure will be returned via the Status.details field and if - * it occurs asynchronously then the PreconditionFailure will be returned - * via the the Operation.error field. The caller must have + * violation, some errors may be returned by the CreateFolder request, with + * status code FAILED_PRECONDITION and an error description. Other folder + * constraint violations will be communicated in the Operation, with the + * specific PreconditionFailure returned via the details list in the + * Operation.error field. The caller must have * `resourcemanager.folders.create` permission on the identified parent. * @alias cloudresourcemanager.folders.create * @memberOf! () diff --git a/src/apis/cloudresourcemanager/v2beta1.ts b/src/apis/cloudresourcemanager/v2beta1.ts index ed6cba2e499..47b78aa0cb6 100644 --- a/src/apis/cloudresourcemanager/v2beta1.ts +++ b/src/apis/cloudresourcemanager/v2beta1.ts @@ -370,14 +370,18 @@ export namespace cloudresourcemanager_v2beta1 { * criteria is specified then all accessible folders will be returned. Query * expressions can be used to restrict results based upon displayName, * lifecycleState and parent, where the operators `=`, `NOT`, `AND` and `OR` - * can be used along with the suffix wildcard symbol `*`. Some example - * queries are: |Query | Description| |----- | -----------| + * can be used along with the suffix wildcard symbol `*`. The displayName + * field in a query expression should use escaped quotes for values that + * include whitespace to prevent unexpected behavior. Some example queries + * are: |Query | Description| |----- | -----------| * |displayName=Test*|Folders whose display name starts with * "Test".| |lifecycleState=ACTIVE|Folders whose lifecycleState is * ACTIVE.| |parent=folders/123|Folders whose parent is * "folders/123".| |parent=folders/123 AND * lifecycleState=ACTIVE|Active folders whose parent is - * "folders/123".| + * "folders/123".| |displayName=\\"Test + * String\\"|Folders whose display name includes both "Test" + * and "String".| */ query?: string; } diff --git a/src/apis/cloudshell/README.md b/src/apis/cloudshell/README.md new file mode 100644 index 00000000000..c99ca805d71 --- /dev/null +++ b/src/apis/cloudshell/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/cloudshell + +> Allows users to start, configure, and connect to interactive shell sessions running in the cloud. + +## Installation + +```sh +$ npm install @google/cloudshell +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/cloudshell/package.json b/src/apis/cloudshell/package.json new file mode 100644 index 00000000000..9001b42fd7d --- /dev/null +++ b/src/apis/cloudshell/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/cloudshell", + "version": "0.1.0", + "description": "cloudshell", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/cloudtasks/README.md b/src/apis/cloudtasks/README.md new file mode 100644 index 00000000000..26677daff95 --- /dev/null +++ b/src/apis/cloudtasks/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/cloudtasks + +> Manages the execution of large numbers of distributed requests. + +## Installation + +```sh +$ npm install @google/cloudtasks +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/cloudtasks/package.json b/src/apis/cloudtasks/package.json new file mode 100644 index 00000000000..0eec5318d08 --- /dev/null +++ b/src/apis/cloudtasks/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/cloudtasks", + "version": "0.1.0", + "description": "cloudtasks", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/cloudtrace/README.md b/src/apis/cloudtrace/README.md new file mode 100644 index 00000000000..7168345dc33 --- /dev/null +++ b/src/apis/cloudtrace/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/cloudtrace + +> Sends application trace data to Stackdriver Trace for viewing. Trace data is collected for all App Engine applications by default. Trace data from other applications can be provided using this API. + +## Installation + +```sh +$ npm install @google/cloudtrace +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/cloudtrace/package.json b/src/apis/cloudtrace/package.json new file mode 100644 index 00000000000..a89750d6c27 --- /dev/null +++ b/src/apis/cloudtrace/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/cloudtrace", + "version": "0.1.0", + "description": "cloudtrace", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/composer/README.md b/src/apis/composer/README.md new file mode 100644 index 00000000000..07d5cbef082 --- /dev/null +++ b/src/apis/composer/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/composer + +> Manages Apache Airflow environments on Google Cloud Platform. + +## Installation + +```sh +$ npm install @google/composer +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/composer/package.json b/src/apis/composer/package.json new file mode 100644 index 00000000000..93e0086e783 --- /dev/null +++ b/src/apis/composer/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/composer", + "version": "0.1.0", + "description": "composer", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/compute/README.md b/src/apis/compute/README.md new file mode 100644 index 00000000000..b21aca5687c --- /dev/null +++ b/src/apis/compute/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/compute + +> Creates and runs virtual machines on Google Cloud Platform. + +## Installation + +```sh +$ npm install @google/compute +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/compute/alpha.ts b/src/apis/compute/alpha.ts index 07579a2fea2..cd5f137a754 100644 --- a/src/apis/compute/alpha.ts +++ b/src/apis/compute/alpha.ts @@ -2850,6 +2850,15 @@ export namespace compute_alpha { * v1.regionForwardingRules ==) */ export interface Schema$ForwardingRule { + /** + * This field is used along with the backend_service field for internal load + * balancing or with the target field for internal TargetInstance. This + * field cannot be used with port or portRange fields. When the load + * balancing scheme is INTERNAL and protocol is TCP/UDP, specify this field + * to allow packets addressed to any ports will be forwarded to the backends + * configured with this forwarding rule. + */ + allPorts?: boolean; /** * This field is not used for external load balancing. For internal load * balancing, this field identifies the BackendService resource to receive @@ -6655,7 +6664,7 @@ export namespace compute_alpha { warning?: any; } /** - * Next available tag: 12 + * A Managed Instance resource. */ export interface Schema$ManagedInstance { /** @@ -9418,6 +9427,17 @@ export namespace compute_alpha { * configured to use NAT. */ autoAllocatedNatIps?: string[]; + /** + * Timeout (in seconds) for ICMP connections. Defaults to 30s if not set. + */ + icmpIdleTimeoutSec?: number; + /** + * Minimum number of ports allocated to a VM from this NAT config. If not + * set, a default number of ports is allocated to a VM. This gets rounded up + * to the nearest power of 2. Eg. if the value of this field is 50, at least + * 64 ports will be allocated to a VM. + */ + minPortsPerVm?: number; /** * Unique name of this Nat service. The name must be 1-63 characters long * and comply with RFC1035. @@ -9447,6 +9467,20 @@ export namespace compute_alpha { * SubnetworkIpRangeToNatOption above. */ subnetworks?: Schema$RouterNatSubnetworkToNat[]; + /** + * Timeout (in seconds) for TCP established connections. Defaults to 1200s + * if not set. + */ + tcpEstablishedIdleTimeoutSec?: number; + /** + * Timeout (in seconds) for TCP transitory connections. Defaults to 30s if + * not set. + */ + tcpTransitoryIdleTimeoutSec?: number; + /** + * Timeout (in seconds) for UDP connections. Defaults to 30s if not set. + */ + udpIdleTimeoutSec?: number; } /** * Defines the IP ranges that want to use NAT for a subnetwork. @@ -12041,17 +12075,6 @@ export namespace compute_alpha { * client when the VPN gateway is created. */ network?: string; - /** - * The redundancy mode configured for this VPN gateway. Possible values are - * ACTIVE_ACTIVE and NONE. If set to ACTIVE_ACTIVE, two VPN interfaces are - * created thereby providing higher availability. If set to NONE, only one - * interface is created with a lower availability SLA. If this field is - * specified, either 2 or 1 external IP addresses (depending on the value of - * specified redundancy) are automatically allocated for use with this VPN - * gateway, and incoming traffic on the external addresses to ports ESP, - * UDP:500 and UDP:4500 are automatically forwarded to this gateway. - */ - redundancy?: string; /** * [Output Only] URL of the region where the VPN gateway resides. */ @@ -12263,15 +12286,13 @@ export namespace compute_alpha { /** * URL of the VPN gateway with which this VPN tunnel is associated. Provided * by the client when the VPN tunnel is created. This must be used (instead - * of target_vpn_gateway) if a VPN gateway resource is created with - * redundancy. VPN gateway resource provides a way to create a highly - * available VPN setup. + * of target_vpn_gateway) if a High Availability VPN gateway resource is + * created. */ vpnGateway?: string; /** * The interface ID of the VPN gateway with which this VPN tunnel is - * associated. If the VPN gateway has redundancy other than NONE, this field - * is required to identify which interface of the VPN gateway to use. + * associated. */ vpnGatewayInterface?: number; } diff --git a/src/apis/compute/beta.ts b/src/apis/compute/beta.ts index 4d459387f93..6513281f85d 100644 --- a/src/apis/compute/beta.ts +++ b/src/apis/compute/beta.ts @@ -76,6 +76,7 @@ export namespace compute_beta { licenseCodes: Resource$Licensecodes; licenses: Resource$Licenses; machineTypes: Resource$Machinetypes; + networkEndpointGroups: Resource$Networkendpointgroups; networks: Resource$Networks; nodeGroups: Resource$Nodegroups; nodeTemplates: Resource$Nodetemplates; @@ -140,6 +141,7 @@ export namespace compute_beta { this.licenseCodes = new Resource$Licensecodes(this); this.licenses = new Resource$Licenses(this); this.machineTypes = new Resource$Machinetypes(this); + this.networkEndpointGroups = new Resource$Networkendpointgroups(this); this.networks = new Resource$Networks(this); this.nodeGroups = new Resource$Nodegroups(this); this.nodeTemplates = new Resource$Nodetemplates(this); @@ -431,12 +433,25 @@ export namespace compute_beta { * dash. */ name?: string; + /** + * The URL of the network in which to reserve the address. This field can + * only be used with INTERNAL type with VPC_PEERING purpose. + */ + network?: string; /** * This signifies the networking tier used for configuring this Address and * can only take the following values: PREMIUM , STANDARD. If this field is * not specified, it is assumed to be PREMIUM. */ networkTier?: string; + /** + * The prefix length if the resource reprensents an IP range. + */ + prefixLength?: number; + /** + * The purpose of resource, only used with INTERNAL type. + */ + purpose?: string; /** * [Output Only] URL of the region where the regional address resides. This * field is not applicable to global addresses. You must specify this field @@ -1135,6 +1150,14 @@ export namespace compute_beta { * This cannot be used for internal load balancing. */ maxConnections?: number; + /** + * The max number of simultaneous connections that a single backend network + * endpoint can handle. This is used to calculate the capacity of the group. + * Can be used in either CONNECTION or UTILIZATION balancing modes. For + * CONNECTION mode, either maxConnections or maxConnectionsPerEndpoint must + * be set. This cannot be used for internal load balancing. + */ + maxConnectionsPerEndpoint?: number; /** * The max number of simultaneous connections that a single backend instance * can handle. This is used to calculate the capacity of the group. Can be @@ -1150,6 +1173,14 @@ export namespace compute_beta { * used for internal load balancing. */ maxRate?: number; + /** + * The max requests per second (RPS) that a single backend network endpoint + * can handle. This is used to calculate the capacity of the group. Can be + * used in either balancing mode. For RATE mode, either maxRate or + * maxRatePerEndpoint must be set. This cannot be used for internal load + * balancing. + */ + maxRatePerEndpoint?: number; /** * The max requests per second (RPS) that a single backend instance can * handle. This is used to calculate the capacity of the group. Can be used @@ -1512,6 +1543,9 @@ export namespace compute_beta { */ warning?: any; } + export interface Schema$BackendServiceReference { + backendService?: string; + } export interface Schema$BackendServicesScopedList { /** * A list of BackendServices contained in this scope. @@ -2823,6 +2857,9 @@ export namespace compute_beta { */ warning?: any; } + export interface Schema$ForwardingRuleReference { + forwardingRule?: string; + } export interface Schema$ForwardingRulesScopedList { /** * A list of forwarding rules contained in this scope. @@ -2999,6 +3036,28 @@ export namespace compute_beta { */ port?: number; } + export interface Schema$HealthStatusForNetworkEndpoint { + /** + * URL of the backend service associated with the health state of the + * network endpoint. + */ + backendService?: Schema$BackendServiceReference; + /** + * URL of the forwarding rule associated with the health state of the + * network endpoint. + */ + forwardingRule?: Schema$ForwardingRuleReference; + /** + * URL of the health check associated with the health state of the network + * endpoint. + */ + healthCheck?: Schema$HealthCheckReference; + /** + * Health state of the network endpoint determined based on the health + * checks configured. + */ + healthState?: string; + } /** * UrlMaps A host-matching rule for a URL. If matched, will use the named * PathMatcher to select the BackendService. @@ -3039,46 +3098,23 @@ export namespace compute_beta { */ portName?: string; /** - * Specifies the type of proxy header to append before sending data to the - * backend, either NONE or PROXY_V1. The default is NONE. + * Specifies how port is selected for health checking, can be one of + * following values: USE_FIXED_PORT: The port number in port is used for + * health checking. USE_NAMED_PORT: The portName is used for health + * checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified + * for each network endpoint is used for health checking. For other + * backends, the port or named port specified in the Backend Service is used + * for health checking. If not specified, HTTP2 health check follows + * behavior specified in port and portName fields. */ - proxyHeader?: string; - /** - * The request path of the HTTP/2 health check request. The default value is - * /. - */ - requestPath?: string; - /** - * The string to match anywhere in the first 1024 bytes of the response - * body. If left empty (the default value), the status code determines - * health. The response data can only be ASCII. - */ - response?: string; - } - export interface Schema$HTTPHealthCheck { - /** - * The value of the host header in the HTTP health check request. If left - * empty (default value), the IP on behalf of which this health check is - * performed will be used. - */ - host?: string; - /** - * The TCP port number for the health check request. The default value - * is 80. Valid values are 1 through 65535. - */ - port?: number; - /** - * Port name as defined in InstanceGroup#NamedPort#name. If both port and - * port_name are defined, port takes precedence. - */ - portName?: string; + portSpecification?: string; /** * Specifies the type of proxy header to append before sending data to the * backend, either NONE or PROXY_V1. The default is NONE. */ proxyHeader?: string; /** - * The request path of the HTTP health check request. The default value is + * The request path of the HTTP/2 health check request. The default value is * /. */ requestPath?: string; @@ -3165,6 +3201,51 @@ export namespace compute_beta { */ unhealthyThreshold?: number; } + export interface Schema$HTTPHealthCheck { + /** + * The value of the host header in the HTTP health check request. If left + * empty (default value), the IP on behalf of which this health check is + * performed will be used. + */ + host?: string; + /** + * The TCP port number for the health check request. The default value + * is 80. Valid values are 1 through 65535. + */ + port?: number; + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and + * port_name are defined, port takes precedence. + */ + portName?: string; + /** + * Specifies how port is selected for health checking, can be one of + * following values: USE_FIXED_PORT: The port number in port is used for + * health checking. USE_NAMED_PORT: The portName is used for health + * checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified + * for each network endpoint is used for health checking. For other + * backends, the port or named port specified in the Backend Service is used + * for health checking. If not specified, HTTP health check follows + * behavior specified in port and portName fields. + */ + portSpecification?: string; + /** + * Specifies the type of proxy header to append before sending data to the + * backend, either NONE or PROXY_V1. The default is NONE. + */ + proxyHeader?: string; + /** + * The request path of the HTTP health check request. The default value is + * /. + */ + requestPath?: string; + /** + * The string to match anywhere in the first 1024 bytes of the response + * body. If left empty (the default value), the status code determines + * health. The response data can only be ASCII. + */ + response?: string; + } /** * Contains a list of HttpHealthCheck resources. */ @@ -3198,6 +3279,51 @@ export namespace compute_beta { */ warning?: any; } + export interface Schema$HTTPSHealthCheck { + /** + * The value of the host header in the HTTPS health check request. If left + * empty (default value), the IP on behalf of which this health check is + * performed will be used. + */ + host?: string; + /** + * The TCP port number for the health check request. The default value is + * 443. Valid values are 1 through 65535. + */ + port?: number; + /** + * Port name as defined in InstanceGroup#NamedPort#name. If both port and + * port_name are defined, port takes precedence. + */ + portName?: string; + /** + * Specifies how port is selected for health checking, can be one of + * following values: USE_FIXED_PORT: The port number in port is used for + * health checking. USE_NAMED_PORT: The portName is used for health + * checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified + * for each network endpoint is used for health checking. For other + * backends, the port or named port specified in the Backend Service is used + * for health checking. If not specified, HTTPS health check follows + * behavior specified in port and portName fields. + */ + portSpecification?: string; + /** + * Specifies the type of proxy header to append before sending data to the + * backend, either NONE or PROXY_V1. The default is NONE. + */ + proxyHeader?: string; + /** + * The request path of the HTTPS health check request. The default value is + * /. + */ + requestPath?: string; + /** + * The string to match anywhere in the first 1024 bytes of the response + * body. If left empty (the default value), the status code determines + * health. The response data can only be ASCII. + */ + response?: string; + } /** * An HttpsHealthCheck resource. This resource defines a template for how * individual instances should be checked for health, via HTTPS. @@ -3273,40 +3399,6 @@ export namespace compute_beta { */ unhealthyThreshold?: number; } - export interface Schema$HTTPSHealthCheck { - /** - * The value of the host header in the HTTPS health check request. If left - * empty (default value), the IP on behalf of which this health check is - * performed will be used. - */ - host?: string; - /** - * The TCP port number for the health check request. The default value is - * 443. Valid values are 1 through 65535. - */ - port?: number; - /** - * Port name as defined in InstanceGroup#NamedPort#name. If both port and - * port_name are defined, port takes precedence. - */ - portName?: string; - /** - * Specifies the type of proxy header to append before sending data to the - * backend, either NONE or PROXY_V1. The default is NONE. - */ - proxyHeader?: string; - /** - * The request path of the HTTPS health check request. The default value is - * /. - */ - requestPath?: string; - /** - * The string to match anywhere in the first 1024 bytes of the response - * body. If left empty (the default value), the status code determines - * health. The response data can only be ASCII. - */ - response?: string; - } /** * Contains a list of HttpsHealthCheck resources. */ @@ -5734,7 +5826,7 @@ export namespace compute_beta { warning?: any; } /** - * Next available tag: 12 + * A Managed Instance resource. */ export interface Schema$ManagedInstance { /** @@ -5913,6 +6005,249 @@ export namespace compute_beta { */ subnetworks?: string[]; } + /** + * The network endpoint. + */ + export interface Schema$NetworkEndpoint { + /** + * The name for a specific VM instance that the IP address belongs to. This + * is required for network endpoints of type GCE_VM_IP and GCE_VM_IP_PORT. + * The instance must be in the same zone of network endpoint group. The + * name must be 1-63 characters long, and comply with RFC1035. + */ + instance?: string; + /** + * Optional IPv4 address of network endpoint. The IP address must belong to + * a VM in GCE (either the primary IP or as part of an aliased IP range). If + * the IP address is not specified, then the primary IP address for the VM + * instance in the network that the network endpoint group belongs to will + * be used. + */ + ipAddress?: string; + /** + * Optional port number of network endpoint. If not specified and the + * NetworkEndpointGroup.network_endpoint_type is GCE_IP_PORT, the + * defaultPort for the network endpoint group will be used. + */ + port?: number; + } + /** + * Represents a collection of network endpoints. + */ + export interface Schema$NetworkEndpointGroup { + /** + * [Output Only] Creation timestamp in RFC3339 text format. + */ + creationTimestamp?: string; + /** + * An optional description of this resource. Provide this property when you + * create the resource. + */ + description?: string; + /** + * [Output Only] The unique identifier for the resource. This identifier is + * defined by the server. + */ + id?: string; + /** + * [Output Only] Type of the resource. Always compute#networkEndpointGroup + * for network endpoint group. + */ + kind?: string; + /** + * This field is only valid when the network endpoint group type is + * LOAD_BALANCING. + */ + loadBalancer?: Schema$NetworkEndpointGroupLbNetworkEndpointGroup; + /** + * Name of the resource; provided by the client when the resource is + * created. 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. + */ + name?: string; + /** + * Type of network endpoints in this network endpoint group. Only supported + * values for LOAD_BALANCING are GCE_VM_IP or GCE_VM_IP_PORT. + */ + networkEndpointType?: string; + /** + * [Output Only] Server-defined URL for the resource. + */ + selfLink?: string; + /** + * [Output only] Number of network endpoints in the network endpoint group. + */ + size?: number; + /** + * Specify the type of this network endpoint group. Only LOAD_BALANCING is + * valid for now. + */ + type?: string; + } + export interface Schema$NetworkEndpointGroupAggregatedList { + /** + * [Output Only] Unique identifier for the resource; defined by the server. + */ + id?: string; + /** + * A list of NetworkEndpointGroupsScopedList resources. + */ + items?: any; + /** + * [Output Only] The resource type, which is always + * compute#networkEndpointGroupAggregatedList for aggregated lists of + * network endpoint groups. + */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for + * list requests. If the number of results is larger than maxResults, use + * the nextPageToken as a value for the query parameter pageToken in the + * next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ + nextPageToken?: string; + /** + * [Output Only] Server-defined URL for this resource. + */ + selfLink?: string; + /** + * [Output Only] Informational warning message. + */ + warning?: any; + } + /** + * Load balancing specific fields for network endpoint group of type + * LOAD_BALANCING. + */ + export interface Schema$NetworkEndpointGroupLbNetworkEndpointGroup { + /** + * The default port used if the port number is not specified in the network + * endpoint. If the network endpoint type is GCE_VM_IP, this field must not + * be specified. + */ + defaultPort?: number; + /** + * The URL of the network to which all network endpoints in the NEG belong. + * Uses "default" project network if unspecified. + */ + network?: string; + /** + * Optional URL of the subnetwork to which all network endpoints in the NEG + * belong. + */ + subnetwork?: string; + /** + * [Output Only] The URL of the zone where the network endpoint group is + * located. + */ + zone?: string; + } + export interface Schema$NetworkEndpointGroupList { + /** + * [Output Only] Unique identifier for the resource; defined by the server. + */ + id?: string; + /** + * A list of NetworkEndpointGroup resources. + */ + items?: Schema$NetworkEndpointGroup[]; + /** + * [Output Only] The resource type, which is always + * compute#networkEndpointGroupList for network endpoint group lists. + */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for + * list requests. If the number of results is larger than maxResults, use + * the nextPageToken as a value for the query parameter pageToken in the + * next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ + nextPageToken?: string; + /** + * [Output Only] Server-defined URL for this resource. + */ + selfLink?: string; + /** + * [Output Only] Informational warning message. + */ + warning?: any; + } + export interface Schema$NetworkEndpointGroupsAttachEndpointsRequest { + /** + * The list of network endpoints to be attached. + */ + networkEndpoints?: Schema$NetworkEndpoint[]; + } + export interface Schema$NetworkEndpointGroupsDetachEndpointsRequest { + /** + * The list of network endpoints to be detached. + */ + networkEndpoints?: Schema$NetworkEndpoint[]; + } + export interface Schema$NetworkEndpointGroupsListEndpointsRequest { + /** + * Optional query parameter for showing the health status of each network + * endpoint. Valid options are SKIP or SHOW. If you don't specifiy this + * parameter, the health status of network endpoints will not be provided. + */ + healthStatus?: string; + } + export interface Schema$NetworkEndpointGroupsListNetworkEndpoints { + /** + * [Output Only] Unique identifier for the resource; defined by the server. + */ + id?: string; + /** + * A list of NetworkEndpointWithHealthStatus resources. + */ + items?: Schema$NetworkEndpointWithHealthStatus[]; + /** + * [Output Only] The resource type, which is always + * compute#networkEndpointGroupsListNetworkEndpoints for the list of network + * endpoints in the specified network endpoint group. + */ + kind?: string; + /** + * [Output Only] This token allows you to get the next page of results for + * list requests. If the number of results is larger than maxResults, use + * the nextPageToken as a value for the query parameter pageToken in the + * next list request. Subsequent list requests will have their own + * nextPageToken to continue paging through the results. + */ + nextPageToken?: string; + /** + * [Output Only] Informational warning message. + */ + warning?: any; + } + export interface Schema$NetworkEndpointGroupsScopedList { + /** + * [Output Only] The list of network endpoint groups that are contained in + * this scope. + */ + networkEndpointGroups?: Schema$NetworkEndpointGroup[]; + /** + * [Output Only] An informational warning that replaces the list of network + * endpoint groups when the list is empty. + */ + warning?: any; + } + export interface Schema$NetworkEndpointWithHealthStatus { + /** + * [Output only] The health status of network endpoint; + */ + healths?: Schema$HealthStatusForNetworkEndpoint[]; + /** + * [Output only] The network endpoint; + */ + networkEndpoint?: Schema$NetworkEndpoint; + } /** * A network interface resource attached to an instance. */ @@ -6840,6 +7175,12 @@ export namespace compute_beta { */ version?: number; } + export interface Schema$PreconfiguredWafSet { + /** + * List of entities that are currently supported for WAF rules. + */ + expressionSets?: Schema$WafExpressionSet[]; + } /** * A Project resource. For an overview of projects, see Cloud Platform * Resource Hierarchy. (== resource_for v1.projects ==) (== resource_for @@ -7967,6 +8308,12 @@ export namespace compute_beta { */ values?: string[]; } + export interface Schema$SecurityPoliciesListPreconfiguredExpressionSetsResponse { + preconfiguredExpressionSets?: Schema$SecurityPoliciesWafConfig; + } + export interface Schema$SecurityPoliciesWafConfig { + wafRules?: Schema$PreconfiguredWafSet; + } /** * A security policy is comprised of one or more rules. It can also be * associated with one or more 'targets'. Next available tag: 11 @@ -8469,6 +8816,17 @@ export namespace compute_beta { * port_name are defined, port takes precedence. */ portName?: string; + /** + * Specifies how port is selected for health checking, can be one of + * following values: USE_FIXED_PORT: The port number in port is used for + * health checking. USE_NAMED_PORT: The portName is used for health + * checking. USE_SERVING_PORT: For NetworkEndpointGroup, the port specified + * for each network endpoint is used for health checking. For other + * backends, the port or named port specified in the Backend Service is used + * for health checking. If not specified, SSL health check follows + * behavior specified in port and portName fields. + */ + portSpecification?: string; /** * Specifies the type of proxy header to append before sending data to the * backend, either NONE or PROXY_V1. The default is NONE. @@ -10242,6 +10600,34 @@ export namespace compute_beta { */ warning?: any; } + export interface Schema$WafExpressionSet { + /** + * A list of alternate IDs. The format should be: - E.g. XSS-stable Generic + * suffix like "stable" is particularly useful if a policy likes + * to avail newer set of expressions without having to change the policy. A + * given alias name can't be used for more than one entity set. + */ + aliases?: string[]; + /** + * List of available expressions. + */ + expressions?: Schema$WafExpressionSetExpression[]; + /** + * Google specified expression set ID. The format should be: - E.g. + * XSS-20170329 + */ + id?: string; + } + export interface Schema$WafExpressionSetExpression { + /** + * Expression ID should uniquely identify the origin of the expression. E.g. + * owasp-crs-v020901-id973337 identifies Owasp core rule set version 2.9.1 + * rule id 973337. The ID could be used to determine the individual attack + * definition that has been detected. It could also be used to exclude it + * from the policy in case of false positive. + */ + id?: string; + } export interface Schema$XpnHostList { /** * [Output Only] Unique identifier for the resource; defined by the server. @@ -43474,26 +43860,1073 @@ export namespace compute_beta { */ project?: string; } - export interface Params$Resource$Machinetypes$Get { + export interface Params$Resource$Machinetypes$Get { + /** + * Auth client or API Key for the request + */ + auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; + + /** + * Name of the machine type to return. + */ + machineType?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * The name of the zone for this request. + */ + zone?: string; + } + export interface Params$Resource$Machinetypes$List { + /** + * Auth client or API Key for the request + */ + auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; + + /** + * A filter expression that filters resources listed in the response. The + * expression must specify the field name, a comparison operator, and the + * value that you want to use for filtering. The value must be a string, a + * number, or a boolean. The comparison operator must be either =, !=, >, or + * <. For example, if you are filtering Compute Engine instances, you can + * exclude instances named example-instance by specifying name != + * example-instance. You can also filter nested fields. For example, you + * could specify scheduling.automaticRestart = false to include instances + * only if they are not scheduled for automatic restarts. You can use + * filtering on nested fields to filter based on resource labels. To filter + * on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart = true) + * (cpuPlatform = "Intel Skylake"). By default, each expression is an AND + * expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ + filter?: string; + /** + * The maximum number of results per page that should be returned. If the + * number of available results is larger than maxResults, Compute Engine + * returns a nextPageToken that can be used to get the next page of results + * in subsequent list requests. Acceptable values are 0 to 500, inclusive. + * (Default: 500) + */ + maxResults?: number; + /** + * Sorts list results by a certain order. By default, results are returned + * in alphanumerical order based on the resource name. You can also sort + * results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result + * first). Use this to sort resources like operations so that the newest + * operation is returned first. Currently, only sorting by name or + * creationTimestamp desc is supported. + */ + orderBy?: string; + /** + * Specifies a page token to use. Set pageToken to the nextPageToken + * returned by a previous list request to get the next page of results. + */ + pageToken?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * The name of the zone for this request. + */ + zone?: string; + } + + + export class Resource$Networkendpointgroups { + root: Compute; + constructor(root: Compute) { + this.root = root; + this.getRoot.bind(this); + } + + getRoot() { + return this.root; + } + + + /** + * compute.networkEndpointGroups.aggregatedList + * @desc Retrieves the list of network endpoint groups and sorts them by + * zone. + * @alias compute.networkEndpointGroups.aggregatedList + * @memberOf! () + * + * @param {object} params Parameters for request + * @param {string=} params.filter A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true). + * @param {integer=} params.maxResults The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + * @param {string=} params.orderBy Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by name or creationTimestamp desc is supported. + * @param {string=} params.pageToken Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. + * @param {string} params.project Project ID for this request. + * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. + * @param {callback} callback The callback that handles the response. + * @return {object} Request object + */ + aggregatedList( + params?: Params$Resource$Networkendpointgroups$Aggregatedlist, + options?: MethodOptions): + AxiosPromise; + aggregatedList( + params: Params$Resource$Networkendpointgroups$Aggregatedlist, + options: MethodOptions| + BodyResponseCallback, + callback: + BodyResponseCallback): + void; + aggregatedList( + params: Params$Resource$Networkendpointgroups$Aggregatedlist, + callback: + BodyResponseCallback): + void; + aggregatedList( + callback: + BodyResponseCallback): + void; + aggregatedList( + paramsOrCallback?: Params$Resource$Networkendpointgroups$Aggregatedlist| + BodyResponseCallback, + optionsOrCallback?: MethodOptions| + BodyResponseCallback, + callback?: + BodyResponseCallback): + void|AxiosPromise { + let params = (paramsOrCallback || {}) as + Params$Resource$Networkendpointgroups$Aggregatedlist; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Networkendpointgroups$Aggregatedlist; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: + (rootUrl + + '/compute/beta/projects/{project}/aggregated/networkEndpointGroups') + .replace(/([^:]\/)\/+/g, '$1'), + method: 'GET' + }, + options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.getRoot() + }; + if (callback) { + createAPIRequest( + parameters, callback); + } else { + return createAPIRequest( + parameters); + } + } + + + /** + * compute.networkEndpointGroups.attachNetworkEndpoints + * @desc Attach a list of network endpoints to the specified network + * endpoint group. + * @alias compute.networkEndpointGroups.attachNetworkEndpoints + * @memberOf! () + * + * @param {object} params Parameters for request + * @param {string} params.networkEndpointGroup The name of the network endpoint group where you are attaching network endpoints to. It should comply with RFC1035. + * @param {string} params.project Project ID for this request. + * @param {string=} params.requestId An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * @param {string} params.zone The name of the zone where the network endpoint group is located. It should comply with RFC1035. + * @param {().NetworkEndpointGroupsAttachEndpointsRequest} params.resource Request body data + * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. + * @param {callback} callback The callback that handles the response. + * @return {object} Request object + */ + attachNetworkEndpoints( + params?: Params$Resource$Networkendpointgroups$Attachnetworkendpoints, + options?: MethodOptions): AxiosPromise; + attachNetworkEndpoints( + params: Params$Resource$Networkendpointgroups$Attachnetworkendpoints, + options: MethodOptions|BodyResponseCallback, + callback: BodyResponseCallback): void; + attachNetworkEndpoints( + params: Params$Resource$Networkendpointgroups$Attachnetworkendpoints, + callback: BodyResponseCallback): void; + attachNetworkEndpoints(callback: BodyResponseCallback): + void; + attachNetworkEndpoints( + paramsOrCallback?: + Params$Resource$Networkendpointgroups$Attachnetworkendpoints| + BodyResponseCallback, + optionsOrCallback?: MethodOptions| + BodyResponseCallback, + callback?: BodyResponseCallback): + void|AxiosPromise { + let params = (paramsOrCallback || {}) as + Params$Resource$Networkendpointgroups$Attachnetworkendpoints; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as + Params$Resource$Networkendpointgroups$Attachnetworkendpoints; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: + (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/attachNetworkEndpoints') + .replace(/([^:]\/)\/+/g, '$1'), + method: 'POST' + }, + options), + params, + requiredParams: ['project', 'zone', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'zone'], + context: this.getRoot() + }; + if (callback) { + createAPIRequest(parameters, callback); + } else { + return createAPIRequest(parameters); + } + } + + + /** + * compute.networkEndpointGroups.delete + * @desc Deletes the specified network endpoint group. The network endpoints + * in the NEG and the VM instances they belong to are not terminated when + * the NEG is deleted. Note that the NEG cannot be deleted if there are + * backend services referencing it. + * @alias compute.networkEndpointGroups.delete + * @memberOf! () + * + * @param {object} params Parameters for request + * @param {string} params.networkEndpointGroup The name of the network endpoint group to delete. It should comply with RFC1035. + * @param {string} params.project Project ID for this request. + * @param {string=} params.requestId An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * @param {string} params.zone The name of the zone where the network endpoint group is located. It should comply with RFC1035. + * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. + * @param {callback} callback The callback that handles the response. + * @return {object} Request object + */ + delete( + params?: Params$Resource$Networkendpointgroups$Delete, + options?: MethodOptions): AxiosPromise; + delete( + params: Params$Resource$Networkendpointgroups$Delete, + options: MethodOptions|BodyResponseCallback, + callback: BodyResponseCallback): void; + delete( + params: Params$Resource$Networkendpointgroups$Delete, + callback: BodyResponseCallback): void; + delete(callback: BodyResponseCallback): void; + delete( + paramsOrCallback?: Params$Resource$Networkendpointgroups$Delete| + BodyResponseCallback, + optionsOrCallback?: MethodOptions| + BodyResponseCallback, + callback?: BodyResponseCallback): + void|AxiosPromise { + let params = (paramsOrCallback || {}) as + Params$Resource$Networkendpointgroups$Delete; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Networkendpointgroups$Delete; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: + (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}') + .replace(/([^:]\/)\/+/g, '$1'), + method: 'DELETE' + }, + options), + params, + requiredParams: ['project', 'zone', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'zone'], + context: this.getRoot() + }; + if (callback) { + createAPIRequest(parameters, callback); + } else { + return createAPIRequest(parameters); + } + } + + + /** + * compute.networkEndpointGroups.detachNetworkEndpoints + * @desc Detach a list of network endpoints from the specified network + * endpoint group. + * @alias compute.networkEndpointGroups.detachNetworkEndpoints + * @memberOf! () + * + * @param {object} params Parameters for request + * @param {string} params.networkEndpointGroup The name of the network endpoint group where you are removing network endpoints. It should comply with RFC1035. + * @param {string} params.project Project ID for this request. + * @param {string=} params.requestId An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * @param {string} params.zone The name of the zone where the network endpoint group is located. It should comply with RFC1035. + * @param {().NetworkEndpointGroupsDetachEndpointsRequest} params.resource Request body data + * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. + * @param {callback} callback The callback that handles the response. + * @return {object} Request object + */ + detachNetworkEndpoints( + params?: Params$Resource$Networkendpointgroups$Detachnetworkendpoints, + options?: MethodOptions): AxiosPromise; + detachNetworkEndpoints( + params: Params$Resource$Networkendpointgroups$Detachnetworkendpoints, + options: MethodOptions|BodyResponseCallback, + callback: BodyResponseCallback): void; + detachNetworkEndpoints( + params: Params$Resource$Networkendpointgroups$Detachnetworkendpoints, + callback: BodyResponseCallback): void; + detachNetworkEndpoints(callback: BodyResponseCallback): + void; + detachNetworkEndpoints( + paramsOrCallback?: + Params$Resource$Networkendpointgroups$Detachnetworkendpoints| + BodyResponseCallback, + optionsOrCallback?: MethodOptions| + BodyResponseCallback, + callback?: BodyResponseCallback): + void|AxiosPromise { + let params = (paramsOrCallback || {}) as + Params$Resource$Networkendpointgroups$Detachnetworkendpoints; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as + Params$Resource$Networkendpointgroups$Detachnetworkendpoints; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: + (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/detachNetworkEndpoints') + .replace(/([^:]\/)\/+/g, '$1'), + method: 'POST' + }, + options), + params, + requiredParams: ['project', 'zone', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'zone'], + context: this.getRoot() + }; + if (callback) { + createAPIRequest(parameters, callback); + } else { + return createAPIRequest(parameters); + } + } + + + /** + * compute.networkEndpointGroups.get + * @desc Returns the specified network endpoint group. Gets a list of + * available network endpoint groups by making a list() request. + * @alias compute.networkEndpointGroups.get + * @memberOf! () + * + * @param {object} params Parameters for request + * @param {string} params.networkEndpointGroup The name of the network endpoint group. It should comply with RFC1035. + * @param {string} params.project Project ID for this request. + * @param {string} params.zone The name of the zone where the network endpoint group is located. It should comply with RFC1035. + * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. + * @param {callback} callback The callback that handles the response. + * @return {object} Request object + */ + get(params?: Params$Resource$Networkendpointgroups$Get, + options?: MethodOptions): AxiosPromise; + get(params: Params$Resource$Networkendpointgroups$Get, + options: MethodOptions| + BodyResponseCallback, + callback: BodyResponseCallback): void; + get(params: Params$Resource$Networkendpointgroups$Get, + callback: BodyResponseCallback): void; + get(callback: BodyResponseCallback): void; + get(paramsOrCallback?: Params$Resource$Networkendpointgroups$Get| + BodyResponseCallback, + optionsOrCallback?: MethodOptions| + BodyResponseCallback, + callback?: BodyResponseCallback): + void|AxiosPromise { + let params = + (paramsOrCallback || {}) as Params$Resource$Networkendpointgroups$Get; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Networkendpointgroups$Get; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: + (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}') + .replace(/([^:]\/)\/+/g, '$1'), + method: 'GET' + }, + options), + params, + requiredParams: ['project', 'zone', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'zone'], + context: this.getRoot() + }; + if (callback) { + createAPIRequest(parameters, callback); + } else { + return createAPIRequest(parameters); + } + } + + + /** + * compute.networkEndpointGroups.insert + * @desc Creates a network endpoint group in the specified project using the + * parameters that are included in the request. + * @alias compute.networkEndpointGroups.insert + * @memberOf! () + * + * @param {object} params Parameters for request + * @param {string} params.project Project ID for this request. + * @param {string=} params.requestId An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000). + * @param {string} params.zone The name of the zone where you want to create the network endpoint group. It should comply with RFC1035. + * @param {().NetworkEndpointGroup} params.resource Request body data + * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. + * @param {callback} callback The callback that handles the response. + * @return {object} Request object + */ + insert( + params?: Params$Resource$Networkendpointgroups$Insert, + options?: MethodOptions): AxiosPromise; + insert( + params: Params$Resource$Networkendpointgroups$Insert, + options: MethodOptions|BodyResponseCallback, + callback: BodyResponseCallback): void; + insert( + params: Params$Resource$Networkendpointgroups$Insert, + callback: BodyResponseCallback): void; + insert(callback: BodyResponseCallback): void; + insert( + paramsOrCallback?: Params$Resource$Networkendpointgroups$Insert| + BodyResponseCallback, + optionsOrCallback?: MethodOptions| + BodyResponseCallback, + callback?: BodyResponseCallback): + void|AxiosPromise { + let params = (paramsOrCallback || {}) as + Params$Resource$Networkendpointgroups$Insert; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Networkendpointgroups$Insert; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: + (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups') + .replace(/([^:]\/)\/+/g, '$1'), + method: 'POST' + }, + options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.getRoot() + }; + if (callback) { + createAPIRequest(parameters, callback); + } else { + return createAPIRequest(parameters); + } + } + + + /** + * compute.networkEndpointGroups.list + * @desc Retrieves the list of network endpoint groups that are located in + * the specified project and zone. + * @alias compute.networkEndpointGroups.list + * @memberOf! () + * + * @param {object} params Parameters for request + * @param {string=} params.filter A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true). + * @param {integer=} params.maxResults The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + * @param {string=} params.orderBy Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by name or creationTimestamp desc is supported. + * @param {string=} params.pageToken Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. + * @param {string} params.project Project ID for this request. + * @param {string} params.zone The name of the zone where the network endpoint group is located. It should comply with RFC1035. + * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. + * @param {callback} callback The callback that handles the response. + * @return {object} Request object + */ + list( + params?: Params$Resource$Networkendpointgroups$List, + options?: MethodOptions): AxiosPromise; + list( + params: Params$Resource$Networkendpointgroups$List, + options: MethodOptions| + BodyResponseCallback, + callback: BodyResponseCallback): void; + list( + params: Params$Resource$Networkendpointgroups$List, + callback: BodyResponseCallback): void; + list(callback: BodyResponseCallback): void; + list( + paramsOrCallback?: Params$Resource$Networkendpointgroups$List| + BodyResponseCallback, + optionsOrCallback?: MethodOptions| + BodyResponseCallback, + callback?: BodyResponseCallback): + void|AxiosPromise { + let params = (paramsOrCallback || {}) as + Params$Resource$Networkendpointgroups$List; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Networkendpointgroups$List; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: + (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups') + .replace(/([^:]\/)\/+/g, '$1'), + method: 'GET' + }, + options), + params, + requiredParams: ['project', 'zone'], + pathParams: ['project', 'zone'], + context: this.getRoot() + }; + if (callback) { + createAPIRequest(parameters, callback); + } else { + return createAPIRequest(parameters); + } + } + + + /** + * compute.networkEndpointGroups.listNetworkEndpoints + * @desc Lists the network endpoints in the specified network endpoint + * group. + * @alias compute.networkEndpointGroups.listNetworkEndpoints + * @memberOf! () + * + * @param {object} params Parameters for request + * @param {string=} params.filter A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true). + * @param {integer=} params.maxResults The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + * @param {string} params.networkEndpointGroup The name of the network endpoint group from which you want to generate a list of included network endpoints. It should comply with RFC1035. + * @param {string=} params.orderBy Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by name or creationTimestamp desc is supported. + * @param {string=} params.pageToken Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. + * @param {string} params.project Project ID for this request. + * @param {string} params.zone The name of the zone where the network endpoint group is located. It should comply with RFC1035. + * @param {().NetworkEndpointGroupsListEndpointsRequest} params.resource Request body data + * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. + * @param {callback} callback The callback that handles the response. + * @return {object} Request object + */ + listNetworkEndpoints( + params?: Params$Resource$Networkendpointgroups$Listnetworkendpoints, + options?: MethodOptions): + AxiosPromise; + listNetworkEndpoints( + params: Params$Resource$Networkendpointgroups$Listnetworkendpoints, + options: MethodOptions| + BodyResponseCallback, + callback: BodyResponseCallback< + Schema$NetworkEndpointGroupsListNetworkEndpoints>): void; + listNetworkEndpoints( + params: Params$Resource$Networkendpointgroups$Listnetworkendpoints, + callback: BodyResponseCallback< + Schema$NetworkEndpointGroupsListNetworkEndpoints>): void; + listNetworkEndpoints(callback: BodyResponseCallback< + Schema$NetworkEndpointGroupsListNetworkEndpoints>): + void; + listNetworkEndpoints( + paramsOrCallback?: + Params$Resource$Networkendpointgroups$Listnetworkendpoints| + BodyResponseCallback, + optionsOrCallback?: MethodOptions| + BodyResponseCallback, + callback?: BodyResponseCallback< + Schema$NetworkEndpointGroupsListNetworkEndpoints>): + void|AxiosPromise { + let params = (paramsOrCallback || {}) as + Params$Resource$Networkendpointgroups$Listnetworkendpoints; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as + Params$Resource$Networkendpointgroups$Listnetworkendpoints; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: + (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups/{networkEndpointGroup}/listNetworkEndpoints') + .replace(/([^:]\/)\/+/g, '$1'), + method: 'POST' + }, + options), + params, + requiredParams: ['project', 'zone', 'networkEndpointGroup'], + pathParams: ['networkEndpointGroup', 'project', 'zone'], + context: this.getRoot() + }; + if (callback) { + createAPIRequest( + parameters, callback); + } else { + return createAPIRequest< + Schema$NetworkEndpointGroupsListNetworkEndpoints>(parameters); + } + } + + + /** + * compute.networkEndpointGroups.testIamPermissions + * @desc Returns permissions that a caller has on the specified resource. + * @alias compute.networkEndpointGroups.testIamPermissions + * @memberOf! () + * + * @param {object} params Parameters for request + * @param {string} params.project Project ID for this request. + * @param {string} params.resource_ Name of the resource for this request. + * @param {string} params.zone The name of the zone for this request. + * @param {().TestPermissionsRequest} params.resource Request body data + * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. + * @param {callback} callback The callback that handles the response. + * @return {object} Request object + */ + testIamPermissions( + params?: Params$Resource$Networkendpointgroups$Testiampermissions, + options?: MethodOptions): AxiosPromise; + testIamPermissions( + params: Params$Resource$Networkendpointgroups$Testiampermissions, + options: MethodOptions| + BodyResponseCallback, + callback: BodyResponseCallback): void; + testIamPermissions( + params: Params$Resource$Networkendpointgroups$Testiampermissions, + callback: BodyResponseCallback): void; + testIamPermissions( + callback: BodyResponseCallback): void; + testIamPermissions( + paramsOrCallback?: + Params$Resource$Networkendpointgroups$Testiampermissions| + BodyResponseCallback, + optionsOrCallback?: MethodOptions| + BodyResponseCallback, + callback?: BodyResponseCallback): + void|AxiosPromise { + let params = (paramsOrCallback || {}) as + Params$Resource$Networkendpointgroups$Testiampermissions; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Networkendpointgroups$Testiampermissions; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: + (rootUrl + + '/compute/beta/projects/{project}/zones/{zone}/networkEndpointGroups/{resource}/testIamPermissions') + .replace(/([^:]\/)\/+/g, '$1'), + method: 'POST' + }, + options), + params, + requiredParams: ['project', 'zone', 'resource'], + pathParams: ['project', 'resource', 'zone'], + context: this.getRoot() + }; + if (callback) { + createAPIRequest(parameters, callback); + } else { + return createAPIRequest(parameters); + } + } + } + + export interface Params$Resource$Networkendpointgroups$Aggregatedlist { + /** + * Auth client or API Key for the request + */ + auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; + + /** + * A filter expression that filters resources listed in the response. The + * expression must specify the field name, a comparison operator, and the + * value that you want to use for filtering. The value must be a string, a + * number, or a boolean. The comparison operator must be either =, !=, >, or + * <. For example, if you are filtering Compute Engine instances, you can + * exclude instances named example-instance by specifying name != + * example-instance. You can also filter nested fields. For example, you + * could specify scheduling.automaticRestart = false to include instances + * only if they are not scheduled for automatic restarts. You can use + * filtering on nested fields to filter based on resource labels. To filter + * on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart = true) + * (cpuPlatform = "Intel Skylake"). By default, each expression is an AND + * expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ + filter?: string; + /** + * The maximum number of results per page that should be returned. If the + * number of available results is larger than maxResults, Compute Engine + * returns a nextPageToken that can be used to get the next page of results + * in subsequent list requests. Acceptable values are 0 to 500, inclusive. + * (Default: 500) + */ + maxResults?: number; + /** + * Sorts list results by a certain order. By default, results are returned + * in alphanumerical order based on the resource name. You can also sort + * results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result + * first). Use this to sort resources like operations so that the newest + * operation is returned first. Currently, only sorting by name or + * creationTimestamp desc is supported. + */ + orderBy?: string; + /** + * Specifies a page token to use. Set pageToken to the nextPageToken + * returned by a previous list request to get the next page of results. + */ + pageToken?: string; + /** + * Project ID for this request. + */ + project?: string; + } + export interface Params$Resource$Networkendpointgroups$Attachnetworkendpoints { /** * Auth client or API Key for the request */ auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; /** - * Name of the machine type to return. + * The name of the network endpoint group where you are attaching network + * endpoints to. It should comply with RFC1035. */ - machineType?: string; + networkEndpointGroup?: string; /** * Project ID for this request. */ project?: string; /** - * The name of the zone for this request. + * An optional request ID to identify requests. Specify a unique request ID + * so that if you must retry your request, the server will know to ignore + * the request if it has already been completed. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check + * if original operation with the same request ID was received, and if so, + * will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with + * the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * The name of the zone where the network endpoint group is located. It + * should comply with RFC1035. */ zone?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$NetworkEndpointGroupsAttachEndpointsRequest; } - export interface Params$Resource$Machinetypes$List { + export interface Params$Resource$Networkendpointgroups$Delete { + /** + * Auth client or API Key for the request + */ + auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; + + /** + * The name of the network endpoint group to delete. It should comply with + * RFC1035. + */ + networkEndpointGroup?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID + * so that if you must retry your request, the server will know to ignore + * the request if it has already been completed. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check + * if original operation with the same request ID was received, and if so, + * will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with + * the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * The name of the zone where the network endpoint group is located. It + * should comply with RFC1035. + */ + zone?: string; + } + export interface Params$Resource$Networkendpointgroups$Detachnetworkendpoints { + /** + * Auth client or API Key for the request + */ + auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; + + /** + * The name of the network endpoint group where you are removing network + * endpoints. It should comply with RFC1035. + */ + networkEndpointGroup?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID + * so that if you must retry your request, the server will know to ignore + * the request if it has already been completed. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check + * if original operation with the same request ID was received, and if so, + * will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with + * the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * The name of the zone where the network endpoint group is located. It + * should comply with RFC1035. + */ + zone?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$NetworkEndpointGroupsDetachEndpointsRequest; + } + export interface Params$Resource$Networkendpointgroups$Get { + /** + * Auth client or API Key for the request + */ + auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; + + /** + * The name of the network endpoint group. It should comply with RFC1035. + */ + networkEndpointGroup?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * The name of the zone where the network endpoint group is located. It + * should comply with RFC1035. + */ + zone?: string; + } + export interface Params$Resource$Networkendpointgroups$Insert { + /** + * Auth client or API Key for the request + */ + auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; + + /** + * Project ID for this request. + */ + project?: string; + /** + * An optional request ID to identify requests. Specify a unique request ID + * so that if you must retry your request, the server will know to ignore + * the request if it has already been completed. For example, consider a + * situation where you make an initial request and the request times out. If + * you make the request again with the same request ID, the server can check + * if original operation with the same request ID was received, and if so, + * will ignore the second request. This prevents clients from accidentally + * creating duplicate commitments. The request ID must be a valid UUID with + * the exception that zero UUID is not supported + * (00000000-0000-0000-0000-000000000000). + */ + requestId?: string; + /** + * The name of the zone where you want to create the network endpoint group. + * It should comply with RFC1035. + */ + zone?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$NetworkEndpointGroup; + } + export interface Params$Resource$Networkendpointgroups$List { + /** + * Auth client or API Key for the request + */ + auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; + + /** + * A filter expression that filters resources listed in the response. The + * expression must specify the field name, a comparison operator, and the + * value that you want to use for filtering. The value must be a string, a + * number, or a boolean. The comparison operator must be either =, !=, >, or + * <. For example, if you are filtering Compute Engine instances, you can + * exclude instances named example-instance by specifying name != + * example-instance. You can also filter nested fields. For example, you + * could specify scheduling.automaticRestart = false to include instances + * only if they are not scheduled for automatic restarts. You can use + * filtering on nested fields to filter based on resource labels. To filter + * on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart = true) + * (cpuPlatform = "Intel Skylake"). By default, each expression is an AND + * expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ + filter?: string; + /** + * The maximum number of results per page that should be returned. If the + * number of available results is larger than maxResults, Compute Engine + * returns a nextPageToken that can be used to get the next page of results + * in subsequent list requests. Acceptable values are 0 to 500, inclusive. + * (Default: 500) + */ + maxResults?: number; + /** + * Sorts list results by a certain order. By default, results are returned + * in alphanumerical order based on the resource name. You can also sort + * results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result + * first). Use this to sort resources like operations so that the newest + * operation is returned first. Currently, only sorting by name or + * creationTimestamp desc is supported. + */ + orderBy?: string; + /** + * Specifies a page token to use. Set pageToken to the nextPageToken + * returned by a previous list request to get the next page of results. + */ + pageToken?: string; + /** + * Project ID for this request. + */ + project?: string; + /** + * The name of the zone where the network endpoint group is located. It + * should comply with RFC1035. + */ + zone?: string; + } + export interface Params$Resource$Networkendpointgroups$Listnetworkendpoints { /** * Auth client or API Key for the request */ @@ -43526,6 +44959,11 @@ export namespace compute_beta { * (Default: 500) */ maxResults?: number; + /** + * The name of the network endpoint group from which you want to generate a + * list of included network endpoints. It should comply with RFC1035. + */ + networkEndpointGroup?: string; /** * Sorts list results by a certain order. By default, results are returned * in alphanumerical order based on the resource name. You can also sort @@ -43546,10 +44984,40 @@ export namespace compute_beta { * Project ID for this request. */ project?: string; + /** + * The name of the zone where the network endpoint group is located. It + * should comply with RFC1035. + */ + zone?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$NetworkEndpointGroupsListEndpointsRequest; + } + export interface Params$Resource$Networkendpointgroups$Testiampermissions { + /** + * Auth client or API Key for the request + */ + auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; + + /** + * Project ID for this request. + */ + project?: string; + /** + * Name of the resource for this request. + */ + resource?: string; /** * The name of the zone for this request. */ zone?: string; + + /** + * Request body metadata + */ + requestBody?: Schema$TestPermissionsRequest; } @@ -61384,6 +62852,102 @@ export namespace compute_beta { } + /** + * compute.securityPolicies.listPreconfiguredExpressionSets + * @desc Gets the current list of preconfigured Web Application Firewall + * (WAF) expressions. + * @alias compute.securityPolicies.listPreconfiguredExpressionSets + * @memberOf! () + * + * @param {object} params Parameters for request + * @param {string=} params.filter A filter expression that filters resources listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, if you are filtering Compute Engine instances, you can exclude instances named example-instance by specifying name != example-instance. You can also filter nested fields. For example, you could specify scheduling.automaticRestart = false to include instances only if they are not scheduled for automatic restarts. You can use filtering on nested fields to filter based on resource labels. To filter on multiple expressions, provide each separate expression within parentheses. For example, (scheduling.automaticRestart = true) (cpuPlatform = "Intel Skylake"). By default, each expression is an AND expression. However, you can include AND and OR expressions explicitly. For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel Broadwell") AND (scheduling.automaticRestart = true). + * @param {integer=} params.maxResults The maximum number of results per page that should be returned. If the number of available results is larger than maxResults, Compute Engine returns a nextPageToken that can be used to get the next page of results in subsequent list requests. Acceptable values are 0 to 500, inclusive. (Default: 500) + * @param {string=} params.orderBy Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using orderBy="creationTimestamp desc". This sorts results based on the creationTimestamp field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by name or creationTimestamp desc is supported. + * @param {string=} params.pageToken Specifies a page token to use. Set pageToken to the nextPageToken returned by a previous list request to get the next page of results. + * @param {string} params.project Project ID for this request. + * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. + * @param {callback} callback The callback that handles the response. + * @return {object} Request object + */ + listPreconfiguredExpressionSets( + params?: + Params$Resource$Securitypolicies$Listpreconfiguredexpressionsets, + options?: MethodOptions): + AxiosPromise< + Schema$SecurityPoliciesListPreconfiguredExpressionSetsResponse>; + listPreconfiguredExpressionSets( + params: + Params$Resource$Securitypolicies$Listpreconfiguredexpressionsets, + options: MethodOptions|BodyResponseCallback< + Schema$SecurityPoliciesListPreconfiguredExpressionSetsResponse>, + callback: BodyResponseCallback< + Schema$SecurityPoliciesListPreconfiguredExpressionSetsResponse>): + void; + listPreconfiguredExpressionSets( + params: + Params$Resource$Securitypolicies$Listpreconfiguredexpressionsets, + callback: BodyResponseCallback< + Schema$SecurityPoliciesListPreconfiguredExpressionSetsResponse>): + void; + listPreconfiguredExpressionSets( + callback: BodyResponseCallback< + Schema$SecurityPoliciesListPreconfiguredExpressionSetsResponse>): + void; + listPreconfiguredExpressionSets( + paramsOrCallback?: + Params$Resource$Securitypolicies$Listpreconfiguredexpressionsets| + BodyResponseCallback< + Schema$SecurityPoliciesListPreconfiguredExpressionSetsResponse>, + optionsOrCallback?: MethodOptions|BodyResponseCallback< + Schema$SecurityPoliciesListPreconfiguredExpressionSetsResponse>, + callback?: BodyResponseCallback< + Schema$SecurityPoliciesListPreconfiguredExpressionSetsResponse>): + void|AxiosPromise< + Schema$SecurityPoliciesListPreconfiguredExpressionSetsResponse> { + let params = (paramsOrCallback || {}) as + Params$Resource$Securitypolicies$Listpreconfiguredexpressionsets; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as + Params$Resource$Securitypolicies$Listpreconfiguredexpressionsets; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: + (rootUrl + + '/compute/beta/projects/{project}/global/securityPolicies/listPreconfiguredExpressionSets') + .replace(/([^:]\/)\/+/g, '$1'), + method: 'GET' + }, + options), + params, + requiredParams: ['project'], + pathParams: ['project'], + context: this.getRoot() + }; + if (callback) { + createAPIRequest< + Schema$SecurityPoliciesListPreconfiguredExpressionSetsResponse>( + parameters, callback); + } else { + return createAPIRequest< + Schema$SecurityPoliciesListPreconfiguredExpressionSetsResponse>( + parameters); + } + } + + /** * compute.securityPolicies.patch * @desc Patches the specified policy with the data included in the request. @@ -61958,6 +63522,60 @@ export namespace compute_beta { */ project?: string; } + export interface Params$Resource$Securitypolicies$Listpreconfiguredexpressionsets { + /** + * Auth client or API Key for the request + */ + auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; + + /** + * A filter expression that filters resources listed in the response. The + * expression must specify the field name, a comparison operator, and the + * value that you want to use for filtering. The value must be a string, a + * number, or a boolean. The comparison operator must be either =, !=, >, or + * <. For example, if you are filtering Compute Engine instances, you can + * exclude instances named example-instance by specifying name != + * example-instance. You can also filter nested fields. For example, you + * could specify scheduling.automaticRestart = false to include instances + * only if they are not scheduled for automatic restarts. You can use + * filtering on nested fields to filter based on resource labels. To filter + * on multiple expressions, provide each separate expression within + * parentheses. For example, (scheduling.automaticRestart = true) + * (cpuPlatform = "Intel Skylake"). By default, each expression is an AND + * expression. However, you can include AND and OR expressions explicitly. + * For example, (cpuPlatform = "Intel Skylake") OR (cpuPlatform = "Intel + * Broadwell") AND (scheduling.automaticRestart = true). + */ + filter?: string; + /** + * The maximum number of results per page that should be returned. If the + * number of available results is larger than maxResults, Compute Engine + * returns a nextPageToken that can be used to get the next page of results + * in subsequent list requests. Acceptable values are 0 to 500, inclusive. + * (Default: 500) + */ + maxResults?: number; + /** + * Sorts list results by a certain order. By default, results are returned + * in alphanumerical order based on the resource name. You can also sort + * results in descending order based on the creation timestamp using + * orderBy="creationTimestamp desc". This sorts results based on the + * creationTimestamp field in reverse chronological order (newest result + * first). Use this to sort resources like operations so that the newest + * operation is returned first. Currently, only sorting by name or + * creationTimestamp desc is supported. + */ + orderBy?: string; + /** + * Specifies a page token to use. Set pageToken to the nextPageToken + * returned by a previous list request to get the next page of results. + */ + pageToken?: string; + /** + * Project ID for this request. + */ + project?: string; + } export interface Params$Resource$Securitypolicies$Patch { /** * Auth client or API Key for the request diff --git a/src/apis/compute/package.json b/src/apis/compute/package.json new file mode 100644 index 00000000000..36c147394d1 --- /dev/null +++ b/src/apis/compute/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/compute", + "version": "0.1.0", + "description": "compute", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/compute/v1.ts b/src/apis/compute/v1.ts index 44022952c55..3e0a24499f3 100644 --- a/src/apis/compute/v1.ts +++ b/src/apis/compute/v1.ts @@ -1814,6 +1814,41 @@ export namespace compute_v1 { */ warning?: any; } + /** + * A specification of the desired way to instantiate a disk in the instance + * template when its created from a source instance. + */ + export interface Schema$DiskInstantiationConfig { + /** + * Specifies whether the disk will be auto-deleted when the instance is + * deleted (but not when the disk is detached from the instance). + */ + autoDelete?: boolean; + /** + * The custom source image to be used to restore this disk when + * instantiating this instance template. + */ + customImage?: string; + /** + * Specifies the device name of the disk to which the configurations apply + * to. + */ + deviceName?: string; + /** + * Specifies whether to include the disk and what image to use. Possible + * values are: - source-image: to use the same image that was used to + * create the source instance's corresponding disk. Applicable to the + * boot disk and additional read-write disks. - source-image-family: to use + * the same image family that was used to create the source instance's + * corresponding disk. Applicable to the boot disk and additional read-write + * disks. - custom-image: to use a user-provided image url for disk + * creation. Applicable to the boot disk and additional read-write disks. - + * attach-read-only: to attach a read-only disk. Applicable to read-only + * disks. - do-not-include: to exclude a disk from the template. Applicable + * to additional read-write disks, local SSDs, and read-only disks. + */ + instantiateFrom?: string; + } /** * A list of Disk resources. */ @@ -4014,6 +4049,18 @@ export namespace compute_v1 { * URL. */ selfLink?: string; + /** + * The source instance used to create the template. You can provide this as + * a partial or full URL to the resource. For example, the following are + * valid values: - + * https://www.googleapis.com/compute/v1/projects/project/zones/zone/instances/instance + * - projects/project/zones/zone/instances/instance + */ + sourceInstance?: string; + /** + * The source instance params to use to create this instance template. + */ + sourceInstanceParams?: Schema$SourceInstanceParams; } /** * A list of instance templates. @@ -4964,7 +5011,7 @@ export namespace compute_v1 { warning?: any; } /** - * Next available tag: 12 + * A Managed Instance resource. */ export interface Schema$ManagedInstance { /** @@ -6770,6 +6817,19 @@ export namespace compute_v1 { */ warning?: any; } + /** + * A specification of the parameters to use when creating the instance + * template from a source instance. + */ + export interface Schema$SourceInstanceParams { + /** + * Attached disks configuration. If not provided, defaults are applied: For + * boot disk and any other R/W disks, new custom images will be created from + * each disk. For read-only disks, they will be attached in read-only mode. + * Local SSD disks will be created as blank volumes. + */ + diskConfigs?: Schema$DiskInstantiationConfig[]; + } /** * An SslCertificate resource. This resource provides a mechanism to upload an * SSL key and certificate to the load balancer to serve secure connections diff --git a/src/apis/container/README.md b/src/apis/container/README.md new file mode 100644 index 00000000000..4e5e0c68ef9 --- /dev/null +++ b/src/apis/container/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/container + +> The Google Kubernetes Engine API is used for building and managing container based applications, powered by the open source Kubernetes technology. + +## Installation + +```sh +$ npm install @google/container +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/container/package.json b/src/apis/container/package.json new file mode 100644 index 00000000000..ca1ea2b85f2 --- /dev/null +++ b/src/apis/container/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/container", + "version": "0.1.0", + "description": "container", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/container/v1beta1.ts b/src/apis/container/v1beta1.ts index 225fc105823..907525e7a34 100644 --- a/src/apis/container/v1beta1.ts +++ b/src/apis/container/v1beta1.ts @@ -937,6 +937,28 @@ export namespace container_v1beta1 { */ enabled?: boolean; } + /** + * Progress metric is (string, int|float|string) pair. + */ + export interface Schema$Metric { + /** + * For metrics with floating point value. + */ + doubleValue?: number; + /** + * For metrics with integer value. + */ + intValue?: string; + /** + * Metric name, required. e.g., "nodes total", "percent + * done" + */ + name?: string; + /** + * For metrics with custom values (ratios, visual progress, etc.). + */ + stringValue?: string; + } /** * NetworkConfig reports the relative names of network & subnetwork. */ @@ -1246,6 +1268,10 @@ export namespace container_v1beta1 { * The operation type. */ operationType?: string; + /** + * [Output only] Progress information for an operation. + */ + progress?: Schema$OperationProgress; /** * Server-defined URL for the resource. */ @@ -1274,6 +1300,32 @@ export namespace container_v1beta1 { */ zone?: string; } + /** + * Information about operation (or operation stage) progress. + */ + export interface Schema$OperationProgress { + /** + * Progress metric bundle, for example: metrics: [{name: "nodes + * done", int_value: 15}, {name: "nodes + * total", int_value: 32}] or metrics: [{name: + * "progress", double_value: 0.56}, {name: + * "progress scale", double_value: 1.0}] + */ + metrics?: Schema$Metric[]; + /** + * A non-parameterized string describing an operation stage. Unset for + * single-stage operations. + */ + name?: string; + /** + * Substages of an operation or a stage. + */ + stages?: Schema$OperationProgress[]; + /** + * Status of an operation stage. Unset for single-stage operations. + */ + status?: string; + } /** * Configuration for the PodSecurityPolicy feature. */ diff --git a/src/apis/content/README.md b/src/apis/content/README.md new file mode 100644 index 00000000000..57641b6c69e --- /dev/null +++ b/src/apis/content/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/content + +> Manages product items, inventory, and Merchant Center accounts for Google Shopping. + +## Installation + +```sh +$ npm install @google/content +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/content/package.json b/src/apis/content/package.json new file mode 100644 index 00000000000..8aa11db3c25 --- /dev/null +++ b/src/apis/content/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/content", + "version": "0.1.0", + "description": "content", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/content/v2.ts b/src/apis/content/v2.ts index 27a7beba497..875cbd72b90 100644 --- a/src/apis/content/v2.ts +++ b/src/apis/content/v2.ts @@ -712,6 +712,24 @@ export namespace content_v2 { */ services?: string[]; } + export interface Schema$CutoffTime { + /** + * Hour of the cutoff time until which an order has to be placed to be + * processed in the same day. Required. + */ + hour?: number; + /** + * Minute of the cutoff time until which an order has to be placed to be + * processed in the same day. Required. + */ + minute?: number; + /** + * Timezone identifier for the cutoff time. A list of identifiers can be + * found in the AdWords API documentation. E.g. "Europe/Zurich". + * Required. + */ + timezone?: string; + } /** * Datafeed configuration data. */ @@ -1103,17 +1121,33 @@ export namespace content_v2 { language?: string; } export interface Schema$DeliveryTime { + /** + * Business days cutoff time definition. If not configured the cutoff time + * will be defaulted to 8AM PST. + */ + cutoffTime?: Schema$CutoffTime; /** * Holiday cutoff definitions. If configured, they specify order cutoff * times for holiday-specific shipping. */ holidayCutoffs?: Schema$HolidayCutoff[]; + /** + * Maximum number of business days spent before an order is shipped. 0 means + * same day shipped, 1 means next day shipped. Must be greater than or equal + * to minHandlingTimeInDays. + */ + maxHandlingTimeInDays?: number; /** * Maximum number of business days that is spent in transit. 0 means same * day delivery, 1 means next day delivery. Must be greater than or equal to * minTransitTimeInDays. Required. */ maxTransitTimeInDays?: number; + /** + * Minimum number of business days spent before an order is shipped. 0 means + * same day shipped, 1 means next day shipped. + */ + minHandlingTimeInDays?: number; /** * Minimum number of business days that is spent in transit. 0 means same * day delivery, 1 means next day delivery. Required. @@ -1563,6 +1597,10 @@ export namespace content_v2 { * LIA "On Display To Order" settings. */ onDisplayToOrder?: Schema$LiaOnDisplayToOrderSettings; + /** + * The POS data provider linked with this country. + */ + posDataProvider?: Schema$LiaPosDataProvider; /** * The status of the "Store pickup" feature. */ @@ -1596,6 +1634,16 @@ export namespace content_v2 { */ status?: string; } + export interface Schema$LiaPosDataProvider { + /** + * The ID of the POS data provider. + */ + posDataProviderId?: string; + /** + * The account ID by which this merchant is known to the POS data provider. + */ + posExternalAccountId?: string; + } export interface Schema$LiaSettings { /** * The ID of the account to which these LIA settings belong. Ignored upon @@ -1716,6 +1764,17 @@ export namespace content_v2 { */ kind?: string; } + export interface Schema$LiasettingsListPosDataProvidersResponse { + /** + * Identifies what kind of resource this is. Value: the fixed string + * "content#liasettingsListPosDataProvidersResponse". + */ + kind?: string; + /** + * The list of POS data providers for each eligible country + */ + posDataProviders?: Schema$PosDataProviders[]; + } export interface Schema$LiasettingsListResponse { /** * Identifies what kind of resource this is. Value: the fixed string @@ -1749,6 +1808,13 @@ export namespace content_v2 { */ kind?: string; } + export interface Schema$LiasettingsSetPosDataProviderResponse { + /** + * Identifies what kind of resource this is. Value: the fixed string + * "content#liasettingsSetPosDataProviderResponse". + */ + kind?: string; + } export interface Schema$LocationIdSet { /** * A non-empty list of location IDs. They must all be of the same location @@ -4689,6 +4755,11 @@ export namespace content_v2 { * enough. Can only be set if singleValue is not set. */ mainTable?: Schema$Table; + /** + * Name of the rate group. Optional. If set has to be unique within shipping + * service. + */ + name?: string; /** * The value of the rate group (e.g. flat rate $10). Can only be set if * mainTable and subtables are not set. @@ -4923,6 +4994,10 @@ export namespace content_v2 { * The details of the customer who placed the order. */ customer?: Schema$TestOrderCustomer; + /** + * Whether the orderinvoices service should support this order. + */ + enableOrderinvoices?: boolean; /** * Identifies what kind of resource this is. Value: the fixed string * "content#testOrder". @@ -6084,7 +6159,8 @@ export namespace content_v2 { /** * content.accountstatuses.get - * @desc Retrieves the status of a Merchant Center account. + * @desc Retrieves the status of a Merchant Center account. Multi-client + * accounts can only call this method for sub-accounts. * @alias content.accountstatuses.get * @memberOf! () * @@ -8286,6 +8362,81 @@ export namespace content_v2 { } + /** + * content.liasettings.listposdataproviders + * @desc Retrieves the list of POS data providers that have active settings + * for the all eiligible countries. + * @alias content.liasettings.listposdataproviders + * @memberOf! () + * + * @param {object=} params Parameters for request + * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. + * @param {callback} callback The callback that handles the response. + * @return {object} Request object + */ + listposdataproviders( + params?: Params$Resource$Liasettings$Listposdataproviders, + options?: MethodOptions): + AxiosPromise; + listposdataproviders( + params: Params$Resource$Liasettings$Listposdataproviders, + options: MethodOptions| + BodyResponseCallback, + callback: BodyResponseCallback< + Schema$LiasettingsListPosDataProvidersResponse>): void; + listposdataproviders( + params: Params$Resource$Liasettings$Listposdataproviders, + callback: BodyResponseCallback< + Schema$LiasettingsListPosDataProvidersResponse>): void; + listposdataproviders(callback: BodyResponseCallback< + Schema$LiasettingsListPosDataProvidersResponse>): void; + listposdataproviders( + paramsOrCallback?: Params$Resource$Liasettings$Listposdataproviders| + BodyResponseCallback, + optionsOrCallback?: MethodOptions| + BodyResponseCallback, + callback?: BodyResponseCallback< + Schema$LiasettingsListPosDataProvidersResponse>): + void|AxiosPromise { + let params = (paramsOrCallback || {}) as + Params$Resource$Liasettings$Listposdataproviders; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Liasettings$Listposdataproviders; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: (rootUrl + '/content/v2/liasettings/posdataproviders') + .replace(/([^:]\/)\/+/g, '$1'), + method: 'GET' + }, + options), + params, + requiredParams: [], + pathParams: [], + context: this.getRoot() + }; + if (callback) { + createAPIRequest( + parameters, callback); + } else { + return createAPIRequest( + parameters); + } + } + + /** * content.liasettings.patch * @desc Updates the LIA settings of the account. This method supports patch @@ -8612,6 +8763,91 @@ export namespace content_v2 { } + /** + * content.liasettings.setposdataprovider + * @desc Sets the POS data provider for the specified country. + * @alias content.liasettings.setposdataprovider + * @memberOf! () + * + * @param {object} params Parameters for request + * @param {string} params.accountId The ID of the account for which to retrieve accessible Google My Business accounts. + * @param {string=} params.country The country for which the POS data provider is selected. + * @param {string} params.merchantId The ID of the managing account. If this parameter is not the same as accountId, then this account must be a multi-client account and accountId must be the ID of a sub-account of this account. + * @param {string=} params.posDataProviderId The ID of POS data provider. + * @param {string=} params.posExternalAccountId The account ID by which this merchant is known to the POS data provider. + * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. + * @param {callback} callback The callback that handles the response. + * @return {object} Request object + */ + setposdataprovider( + params?: Params$Resource$Liasettings$Setposdataprovider, + options?: MethodOptions): + AxiosPromise; + setposdataprovider( + params: Params$Resource$Liasettings$Setposdataprovider, + options: MethodOptions| + BodyResponseCallback, + callback: + BodyResponseCallback): + void; + setposdataprovider( + params: Params$Resource$Liasettings$Setposdataprovider, + callback: + BodyResponseCallback): + void; + setposdataprovider( + callback: + BodyResponseCallback): + void; + setposdataprovider( + paramsOrCallback?: Params$Resource$Liasettings$Setposdataprovider| + BodyResponseCallback, + optionsOrCallback?: MethodOptions| + BodyResponseCallback, + callback?: + BodyResponseCallback): + void|AxiosPromise { + let params = (paramsOrCallback || {}) as + Params$Resource$Liasettings$Setposdataprovider; + let options = (optionsOrCallback || {}) as MethodOptions; + + if (typeof paramsOrCallback === 'function') { + callback = paramsOrCallback; + params = {} as Params$Resource$Liasettings$Setposdataprovider; + options = {}; + } + + if (typeof optionsOrCallback === 'function') { + callback = optionsOrCallback; + options = {}; + } + + const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; + const parameters = { + options: Object.assign( + { + url: + (rootUrl + + '/content/v2/{merchantId}/liasettings/{accountId}/setposdataprovider') + .replace(/([^:]\/)\/+/g, '$1'), + method: 'POST' + }, + options), + params, + requiredParams: ['merchantId', 'accountId'], + pathParams: ['accountId', 'merchantId'], + context: this.getRoot() + }; + if (callback) { + createAPIRequest( + parameters, callback); + } else { + return createAPIRequest( + parameters); + } + } + + /** * content.liasettings.update * @desc Updates the LIA settings of the account. @@ -8754,6 +8990,12 @@ export namespace content_v2 { */ pageToken?: string; } + export interface Params$Resource$Liasettings$Listposdataproviders { + /** + * Auth client or API Key for the request + */ + auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; + } export interface Params$Resource$Liasettings$Patch { /** * Auth client or API Key for the request @@ -8857,6 +9099,36 @@ export namespace content_v2 { */ merchantId?: string; } + export interface Params$Resource$Liasettings$Setposdataprovider { + /** + * Auth client or API Key for the request + */ + auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; + + /** + * The ID of the account for which to retrieve accessible Google My Business + * accounts. + */ + accountId?: string; + /** + * The country for which the POS data provider is selected. + */ + country?: string; + /** + * The ID of the managing account. If this parameter is not the same as + * accountId, then this account must be a multi-client account and accountId + * must be the ID of a sub-account of this account. + */ + merchantId?: string; + /** + * The ID of POS data provider. + */ + posDataProviderId?: string; + /** + * The account ID by which this merchant is known to the POS data provider. + */ + posExternalAccountId?: string; + } export interface Params$Resource$Liasettings$Update { /** * Auth client or API Key for the request diff --git a/src/apis/content/v2sandbox.ts b/src/apis/content/v2sandbox.ts index b6f07c309bf..e9f1614a46e 100644 --- a/src/apis/content/v2sandbox.ts +++ b/src/apis/content/v2sandbox.ts @@ -1907,6 +1907,10 @@ export namespace content_v2sandbox { * The details of the customer who placed the order. */ customer?: Schema$TestOrderCustomer; + /** + * Whether the orderinvoices service should support this order. + */ + enableOrderinvoices?: boolean; /** * Identifies what kind of resource this is. Value: the fixed string * "content#testOrder". diff --git a/src/apis/customsearch/README.md b/src/apis/customsearch/README.md new file mode 100644 index 00000000000..453493f7bd4 --- /dev/null +++ b/src/apis/customsearch/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/customsearch + +> Searches over a website or collection of websites + +## Installation + +```sh +$ npm install @google/customsearch +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/customsearch/package.json b/src/apis/customsearch/package.json new file mode 100644 index 00000000000..e61889d6e15 --- /dev/null +++ b/src/apis/customsearch/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/customsearch", + "version": "0.1.0", + "description": "customsearch", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/dataflow/README.md b/src/apis/dataflow/README.md new file mode 100644 index 00000000000..33bf0589b7e --- /dev/null +++ b/src/apis/dataflow/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/dataflow + +> Manages Google Cloud Dataflow projects on Google Cloud Platform. + +## Installation + +```sh +$ npm install @google/dataflow +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/dataflow/package.json b/src/apis/dataflow/package.json new file mode 100644 index 00000000000..a8c3fccbc55 --- /dev/null +++ b/src/apis/dataflow/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/dataflow", + "version": "0.1.0", + "description": "dataflow", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/dataproc/README.md b/src/apis/dataproc/README.md new file mode 100644 index 00000000000..62e4ee7ce1a --- /dev/null +++ b/src/apis/dataproc/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/dataproc + +> Manages Hadoop-based clusters and jobs on Google Cloud Platform. + +## Installation + +```sh +$ npm install @google/dataproc +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/dataproc/package.json b/src/apis/dataproc/package.json new file mode 100644 index 00000000000..91c2ab93c4d --- /dev/null +++ b/src/apis/dataproc/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/dataproc", + "version": "0.1.0", + "description": "dataproc", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/dataproc/v1.ts b/src/apis/dataproc/v1.ts index 5020689a145..c90f4761bf1 100644 --- a/src/apis/dataproc/v1.ts +++ b/src/apis/dataproc/v1.ts @@ -203,6 +203,23 @@ export namespace dataproc_v1 { */ yarnMetrics?: any; } + /** + * The cluster operation triggered by a workflow. + */ + export interface Schema$ClusterOperation { + /** + * Output only. Indicates the operation is done. + */ + done?: boolean; + /** + * Output only. Error, if operation failed. + */ + error?: string; + /** + * Output only. The id of the cluster operation. + */ + operationId?: string; + } /** * Metadata describing the operation. */ @@ -305,6 +322,12 @@ export namespace dataproc_v1 { * Optional. Size in GB of the boot disk (default is 500GB). */ bootDiskSizeGb?: number; + /** + * Optional. 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; /** * Optional. Number of attached SSDs, from 0 to 4 (default is 0). If SSDs * are not attached, the boot disk is used to store runtime logs and HDFS @@ -1094,6 +1117,78 @@ export namespace dataproc_v1 { */ requestId?: string; } + /** + * The workflow graph. + */ + export interface Schema$WorkflowGraph { + /** + * Output only. The workflow nodes. + */ + nodes?: Schema$WorkflowNode[]; + } + /** + * A Cloud Dataproc workflow template resource. + */ + export interface Schema$WorkflowMetadata { + /** + * Output only. The name of the managed cluster. + */ + clusterName?: string; + /** + * Output only. The create cluster operation metadata. + */ + createCluster?: Schema$ClusterOperation; + /** + * Output only. The delete cluster operation metadata. + */ + deleteCluster?: Schema$ClusterOperation; + /** + * Output only. The workflow graph. + */ + graph?: Schema$WorkflowGraph; + /** + * Map from parameter names to values that were used for those parameters. + */ + parameters?: any; + /** + * Output only. The workflow state. + */ + state?: string; + /** + * Output only. The "resource name" of the template. + */ + template?: string; + /** + * Output only. The version of template at the time of workflow + * instantiation. + */ + version?: number; + } + /** + * The workflow node. + */ + export interface Schema$WorkflowNode { + /** + * Output only. The error detail. + */ + error?: string; + /** + * Output only. The job id; populated after the node enters RUNNING state. + */ + jobId?: string; + /** + * Output only. Node's prerequisite nodes. + */ + prerequisiteStepIds?: string[]; + /** + * Output only. The node state. + */ + state?: string; + /** + * Output only. The name of the node. + */ + stepId?: string; + } /** * A YARN application created by a job. Application information is a subset of * <code>org.apache.hadoop.yarn.proto.YarnProtos.ApplicationReportProto</code>.Beta diff --git a/src/apis/dataproc/v1beta2.ts b/src/apis/dataproc/v1beta2.ts index 06f76864b4b..37968172f92 100644 --- a/src/apis/dataproc/v1beta2.ts +++ b/src/apis/dataproc/v1beta2.ts @@ -179,6 +179,10 @@ export namespace dataproc_v1beta2 { * manage this project-level, per-location bucket for you. */ configBucket?: string; + /** + * Optional. Encryption settings for the cluster. + */ + encryptionConfig?: Schema$EncryptionConfig; /** * Required. The shared Compute Engine config settings for all instances in * a cluster. @@ -391,6 +395,16 @@ export namespace dataproc_v1beta2 { * representation for Empty is empty JSON object {}. */ export interface Schema$Empty {} + /** + * Encryption settings for the cluster. + */ + export interface Schema$EncryptionConfig { + /** + * Optional. The Cloud KMS key name to use for PD disk encryption for all + * instances in the cluster. + */ + gcePdKmsKeyName?: string; + } /** * Common config settings for resources of Compute Engine cluster instances, * applicable to all instances in the cluster. diff --git a/src/apis/datastore/README.md b/src/apis/datastore/README.md new file mode 100644 index 00000000000..9fc874c9727 --- /dev/null +++ b/src/apis/datastore/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/datastore + +> Accesses the schemaless NoSQL database to provide fully managed, robust, scalable storage for your application. + +## Installation + +```sh +$ npm install @google/datastore +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/datastore/package.json b/src/apis/datastore/package.json new file mode 100644 index 00000000000..fe84fdd7f46 --- /dev/null +++ b/src/apis/datastore/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/datastore", + "version": "0.1.0", + "description": "datastore", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/deploymentmanager/README.md b/src/apis/deploymentmanager/README.md new file mode 100644 index 00000000000..987b12c5578 --- /dev/null +++ b/src/apis/deploymentmanager/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/deploymentmanager + +> The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform. + +## Installation + +```sh +$ npm install @google/deploymentmanager +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/deploymentmanager/alpha.ts b/src/apis/deploymentmanager/alpha.ts index c4bcfbf0262..a6d3d5d29a0 100644 --- a/src/apis/deploymentmanager/alpha.ts +++ b/src/apis/deploymentmanager/alpha.ts @@ -3970,7 +3970,7 @@ export namespace deploymentmanager_alpha { * * @param {object} params Parameters for request * @param {string} params.project The project ID for this request. - * @param {string} params.type The name of the type provider for this request. + * @param {string} params.type The name of the type provider type for this request. * @param {string} params.typeProvider The name of the type provider for this request. * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. @@ -4442,7 +4442,7 @@ export namespace deploymentmanager_alpha { */ project?: string; /** - * The name of the type provider for this request. + * The name of the type provider type for this request. */ type?: string; /** diff --git a/src/apis/deploymentmanager/package.json b/src/apis/deploymentmanager/package.json new file mode 100644 index 00000000000..eee87548a5c --- /dev/null +++ b/src/apis/deploymentmanager/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/deploymentmanager", + "version": "0.1.0", + "description": "deploymentmanager", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/deploymentmanager/v2beta.ts b/src/apis/deploymentmanager/v2beta.ts index d72058cfc49..5595daafe43 100644 --- a/src/apis/deploymentmanager/v2beta.ts +++ b/src/apis/deploymentmanager/v2beta.ts @@ -3902,7 +3902,7 @@ export namespace deploymentmanager_v2beta { * * @param {object} params Parameters for request * @param {string} params.project The project ID for this request. - * @param {string} params.type The name of the type provider for this request. + * @param {string} params.type The name of the type provider type for this request. * @param {string} params.typeProvider The name of the type provider for this request. * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. @@ -4374,7 +4374,7 @@ export namespace deploymentmanager_v2beta { */ project?: string; /** - * The name of the type provider for this request. + * The name of the type provider type for this request. */ type?: string; /** diff --git a/src/apis/dfareporting/README.md b/src/apis/dfareporting/README.md new file mode 100644 index 00000000000..c0cf97244a8 --- /dev/null +++ b/src/apis/dfareporting/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/dfareporting + +> Manages your DoubleClick Campaign Manager ad campaigns and reports. + +## Installation + +```sh +$ npm install @google/dfareporting +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/dfareporting/package.json b/src/apis/dfareporting/package.json new file mode 100644 index 00000000000..bd2d31f31aa --- /dev/null +++ b/src/apis/dfareporting/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/dfareporting", + "version": "0.1.0", + "description": "dfareporting", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/dialogflow/README.md b/src/apis/dialogflow/README.md new file mode 100644 index 00000000000..3b6e1245e12 --- /dev/null +++ b/src/apis/dialogflow/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/dialogflow + +> An end-to-end development suite for conversational interfaces (e.g., chatbots, voice-powered apps and devices). + +## Installation + +```sh +$ npm install @google/dialogflow +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/dialogflow/package.json b/src/apis/dialogflow/package.json new file mode 100644 index 00000000000..9662eaa5d50 --- /dev/null +++ b/src/apis/dialogflow/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/dialogflow", + "version": "0.1.0", + "description": "dialogflow", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/dialogflow/v2.ts b/src/apis/dialogflow/v2.ts index 3527631a9f2..55369e5d6ab 100644 --- a/src/apis/dialogflow/v2.ts +++ b/src/apis/dialogflow/v2.ts @@ -421,7 +421,7 @@ export namespace dialogflow_v2 { /** * Represents an intent. Intents convert a number of user expressions or * patterns into an action. An action is an extraction of a user command or - * sentence semantics. + * sentence semantics. Next available field number: 22. */ export interface Schema$GoogleCloudDialogflowV2beta1Intent { /** @@ -1383,7 +1383,7 @@ export namespace dialogflow_v2 { /** * Represents an intent. Intents convert a number of user expressions or * patterns into an action. An action is an extraction of a user command or - * sentence semantics. + * sentence semantics. Next available field number: 22. */ export interface Schema$GoogleCloudDialogflowV2Intent { /** diff --git a/src/apis/dialogflow/v2beta1.ts b/src/apis/dialogflow/v2beta1.ts index e56e490a7ec..e302fcfd0ea 100644 --- a/src/apis/dialogflow/v2beta1.ts +++ b/src/apis/dialogflow/v2beta1.ts @@ -536,7 +536,7 @@ export namespace dialogflow_v2beta1 { /** * Represents an intent. Intents convert a number of user expressions or * patterns into an action. An action is an extraction of a user command or - * sentence semantics. + * sentence semantics. Next available field number: 22. */ export interface Schema$GoogleCloudDialogflowV2beta1Intent { /** @@ -1597,7 +1597,7 @@ export namespace dialogflow_v2beta1 { /** * Represents an intent. Intents convert a number of user expressions or * patterns into an action. An action is an extraction of a user command or - * sentence semantics. + * sentence semantics. Next available field number: 22. */ export interface Schema$GoogleCloudDialogflowV2Intent { /** @@ -4120,7 +4120,7 @@ import(paramsOrCallback?: Params$Resource$Projects$Agent$Import|BodyResponseCall * @memberOf! () * * @param {object} params Parameters for request - * @param {string} params.session Required. The name of the session this query is sent to. Format: `projects//agent/sessions/`, or `projects//agent/environments//users//sessions/`. Note: Environments and users are under construction and will be available soon. If is not specified, we assume default 'draft' environment. If is not specified, we are using "-". It’s up to the API caller to choose an appropriate . and . They can be a random numbers or some type of user and session identifiers (preferably hashed). The length of the and must not exceed 36 characters. + * @param {string} params.session Required. The name of the session this query is sent to. Format: `projects//agent/sessions/`, or `projects//agent/environments//users//sessions/`. Note: Environments and users are under construction and will be available soon. If is not specified, we assume default 'draft' environment. If is not specified, we are using "-". It’s up to the API caller to choose an appropriate and . They can be a random numbers or some type of user and session identifiers (preferably hashed). The length of the and must not exceed 36 characters. * @param {().GoogleCloudDialogflowV2beta1DetectIntentRequest} params.resource Request body data * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. @@ -4229,7 +4229,7 @@ import(paramsOrCallback?: Params$Resource$Projects$Agent$Import|BodyResponseCall * construction and will be available soon. If is not * specified, we assume default 'draft' environment. If is not * specified, we are using "-". It’s up to the API caller to choose an - * appropriate . and . They can be a random numbers or + * appropriate and . They can be a random numbers or * some type of user and session identifiers (preferably hashed). The length * of the and must not exceed 36 characters. */ @@ -6117,7 +6117,7 @@ import(paramsOrCallback?: Params$Resource$Projects$Agent$Import|BodyResponseCall * @memberOf! () * * @param {object} params Parameters for request - * @param {string} params.session Required. The name of the session this query is sent to. Format: `projects//agent/sessions/`, or `projects//agent/environments//users//sessions/`. Note: Environments and users are under construction and will be available soon. If is not specified, we assume default 'draft' environment. If is not specified, we are using "-". It’s up to the API caller to choose an appropriate . and . They can be a random numbers or some type of user and session identifiers (preferably hashed). The length of the and must not exceed 36 characters. + * @param {string} params.session Required. The name of the session this query is sent to. Format: `projects//agent/sessions/`, or `projects//agent/environments//users//sessions/`. Note: Environments and users are under construction and will be available soon. If is not specified, we assume default 'draft' environment. If is not specified, we are using "-". It’s up to the API caller to choose an appropriate and . They can be a random numbers or some type of user and session identifiers (preferably hashed). The length of the and must not exceed 36 characters. * @param {().GoogleCloudDialogflowV2beta1DetectIntentRequest} params.resource Request body data * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. @@ -6221,7 +6221,7 @@ import(paramsOrCallback?: Params$Resource$Projects$Agent$Import|BodyResponseCall * construction and will be available soon. If is not * specified, we assume default 'draft' environment. If is not * specified, we are using "-". It’s up to the API caller to choose an - * appropriate . and . They can be a random numbers or + * appropriate and . They can be a random numbers or * some type of user and session identifiers (preferably hashed). The length * of the and must not exceed 36 characters. */ diff --git a/src/apis/digitalassetlinks/README.md b/src/apis/digitalassetlinks/README.md new file mode 100644 index 00000000000..91322b52737 --- /dev/null +++ b/src/apis/digitalassetlinks/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/digitalassetlinks + +> API for discovering relationships between online assets such as web sites or mobile apps. + +## Installation + +```sh +$ npm install @google/digitalassetlinks +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/digitalassetlinks/package.json b/src/apis/digitalassetlinks/package.json new file mode 100644 index 00000000000..26c68835df3 --- /dev/null +++ b/src/apis/digitalassetlinks/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/digitalassetlinks", + "version": "0.1.0", + "description": "digitalassetlinks", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/discovery/README.md b/src/apis/discovery/README.md new file mode 100644 index 00000000000..bf5c6e61ac7 --- /dev/null +++ b/src/apis/discovery/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/discovery + +> Provides information about other Google APIs, such as what APIs are available, the resource, and method details for each API. + +## Installation + +```sh +$ npm install @google/discovery +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/discovery/package.json b/src/apis/discovery/package.json new file mode 100644 index 00000000000..52df835c60c --- /dev/null +++ b/src/apis/discovery/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/discovery", + "version": "0.1.0", + "description": "discovery", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/dlp/README.md b/src/apis/dlp/README.md new file mode 100644 index 00000000000..a50da2c947d --- /dev/null +++ b/src/apis/dlp/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/dlp + +> Provides methods for detection, risk analysis, and de-identification of privacy-sensitive fragments in text, images, and Google Cloud Platform storage repositories. + +## Installation + +```sh +$ npm install @google/dlp +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/dlp/package.json b/src/apis/dlp/package.json new file mode 100644 index 00000000000..5258f826d2a --- /dev/null +++ b/src/apis/dlp/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/dlp", + "version": "0.1.0", + "description": "dlp", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/dlp/v2.ts b/src/apis/dlp/v2.ts index 2eb31707a26..c1972c44421 100644 --- a/src/apis/dlp/v2.ts +++ b/src/apis/dlp/v2.ts @@ -72,7 +72,8 @@ export namespace dlp_v2 { } /** - * A task to execute on the completion of a job. + * A task to execute on the completion of a job. See + * https://cloud.google.com/dlp/docs/concepts-actions to learn more. */ export interface Schema$GooglePrivacyDlpV2Action { /** @@ -236,7 +237,8 @@ export namespace dlp_v2 { * can be used on data of type: number, long, string, timestamp. If the bound * `Value` type differs from the type of data being transformed, we will first * attempt converting the type of the data to be transformed to match the type - * of the bound before comparing. + * of the bound before comparing. See + * https://cloud.google.com/dlp/docs/concepts-bucketing to learn more. */ export interface Schema$GooglePrivacyDlpV2BucketingConfig { /** @@ -443,7 +445,9 @@ export namespace dlp_v2 { */ byteItem?: Schema$GooglePrivacyDlpV2ByteContentItem; /** - * Structured content for inspection. + * Structured content for inspection. See + * https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to + * learn more. */ table?: Schema$GooglePrivacyDlpV2Table; /** @@ -582,7 +586,7 @@ export namespace dlp_v2 { * crypto key and context, the same identifier will be replaced with the same * surrogate. Identifiers must be at least two characters long. In the case * that the identifier is the empty string, it will be skipped. See - * [Pseudonymization](/dlp/docs/pseudonymization) for example usage. + * https://cloud.google.com/dlp/docs/pseudonymization to learn more. */ export interface Schema$GooglePrivacyDlpV2CryptoReplaceFfxFpeConfig { commonAlphabet?: string; @@ -702,7 +706,8 @@ export namespace dlp_v2 { } /** * Shifts dates by random number of days, with option to be consistent for the - * same context. + * same context. See https://cloud.google.com/dlp/docs/concepts-date-shifting + * to learn more. */ export interface Schema$GooglePrivacyDlpV2DateShiftConfig { /** @@ -809,6 +814,7 @@ export namespace dlp_v2 { } /** * The DeidentifyTemplates contains instructions on how to deidentify content. + * See https://cloud.google.com/dlp/docs/concepts-templates to learn more. */ export interface Schema$GooglePrivacyDlpV2DeidentifyTemplate { /** @@ -1173,7 +1179,8 @@ export namespace dlp_v2 { * with "10-20". This can be used on data of type: double, long. If * the bound Value type differs from the type of data being transformed, we * will first attempt converting the type of the data to be transformed to - * match the type of the bound before comparing. + * match the type of the bound before comparing. See + * https://cloud.google.com/dlp/docs/concepts-bucketing to learn more. */ export interface Schema$GooglePrivacyDlpV2FixedSizeBucketingConfig { /** @@ -1246,7 +1253,7 @@ export namespace dlp_v2 { infoType?: Schema$GooglePrivacyDlpV2InfoType; /** * If true, all text found in the image, regardless whether it matches an - * info_type, is redacted. + * info_type, is redacted. Only one should be provided. */ redactAllText?: boolean; /** @@ -1320,8 +1327,9 @@ export namespace dlp_v2 { */ export interface Schema$GooglePrivacyDlpV2InfoTypeTransformation { /** - * InfoTypes to apply the transformation to. Empty list will match all - * available infoTypes for this transformation. + * InfoTypes to apply the transformation to. An empty list will cause this + * transformation to apply to all findings that correspond to infoTypes that + * were requested in `InspectConfig`. */ infoTypes?: Schema$GooglePrivacyDlpV2InfoType[]; /** @@ -1352,7 +1360,9 @@ export namespace dlp_v2 { */ contentOptions?: string[]; /** - * Custom infoTypes provided by the user. + * CustomInfoTypes provided by the user. See + * https://cloud.google.com/dlp/docs/creating-custom-infotypes to learn + * more. */ customInfoTypes?: Schema$GooglePrivacyDlpV2CustomInfoType[]; /** @@ -1373,7 +1383,7 @@ export namespace dlp_v2 { limits?: Schema$GooglePrivacyDlpV2FindingLimits; /** * Only returns findings equal or above this threshold. The default is - * POSSIBLE. + * POSSIBLE. See https://cloud.google.com/dlp/docs/likelihood to learn more. */ minLikelihood?: string; } @@ -1463,7 +1473,8 @@ export namespace dlp_v2 { /** * The inspectTemplate contains a configuration (set of types of sensitive * data to be detected) to be used anywhere you otherwise would normally - * specify InspectConfig. + * specify InspectConfig. See + * https://cloud.google.com/dlp/docs/concepts-templates to learn more. */ export interface Schema$GooglePrivacyDlpV2InspectTemplate { /** @@ -1494,7 +1505,8 @@ export namespace dlp_v2 { updateTime?: string; } /** - * Contains a configuration to make dlp api calls on a repeating basis. + * Contains a configuration to make dlp api calls on a repeating basis. See + * https://cloud.google.com/dlp/docs/concepts-job-triggers to learn more. */ export interface Schema$GooglePrivacyDlpV2JobTrigger { /** @@ -1964,21 +1976,27 @@ export namespace dlp_v2 { */ export interface Schema$GooglePrivacyDlpV2OutputStorageConfig { /** - * Schema used for writing the findings. Columns are derived from the - * `Finding` object. If appending to an existing table, any columns from the - * predefined schema that are missing will be added. No columns in the - * existing table will be deleted. If unspecified, then all available - * columns will be used for a new table, and no changes will be made to an - * existing table. + * Schema used for writing the findings for Inspect jobs. This field is only + * used for Inspect and must be unspecified for Risk jobs. Columns are + * derived from the `Finding` object. If appending to an existing table, any + * columns from the predefined schema that are missing will be added. No + * columns in the existing table will be deleted. If unspecified, then all + * available columns will be used for a new table, and no changes will be + * made to an existing table. */ outputSchema?: string; /** * Store findings in an existing table or a new table in an existing - * dataset. Each column in an existing table must have the same name, type, - * and mode of a field in the `Finding` object. If table_id is not set a new - * one will be generated for you with the following format: - * dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific timezone will be used for - * generating the date details. + * dataset. If table_id is not set a new one will be generated for you with + * the following format: dlp_googleapis_yyyy_mm_dd_[dlp_job_id]. Pacific + * timezone will be used for generating the date details. For Inspect, each + * column in an existing output table must have the same name, type, and + * mode of a field in the `Finding` object. For Risk, an existing output + * table should be the output of a previous Risk analysis job run on the + * same source table, with the same privacy metric and quasi-identifiers. + * Risk jobs that analyze the same table but compute a different privacy + * metric, or use different sets of quasi-identifiers, cannot store their + * results in the same table. */ table?: Schema$GooglePrivacyDlpV2BigQueryTable; } @@ -2219,8 +2237,8 @@ export namespace dlp_v2 { */ export interface Schema$GooglePrivacyDlpV2RedactConfig {} /** - * Request to search for potentially sensitive info in a list of items and - * replace it with a default or provided content. + * Request to search for potentially sensitive info in an image and redact it + * by covering it with a colored rectangle. */ export interface Schema$GooglePrivacyDlpV2RedactImageRequest { /** @@ -2350,7 +2368,8 @@ export namespace dlp_v2 { totalEstimatedBytes?: string; } /** - * Configuration for a risk analysis job. + * Configuration for a risk analysis job. See + * https://cloud.google.com/dlp/docs/concepts-risk-analysis to learn more. */ export interface Schema$GooglePrivacyDlpV2RiskAnalysisJobConfig { /** @@ -2373,7 +2392,7 @@ export namespace dlp_v2 { /** * If set, the detailed findings will be persisted to the specified * OutputStorageConfig. Only a single instance of this action can be - * specified. Compatible with: Inspect + * specified. Compatible with: Inspect, Risk */ export interface Schema$GooglePrivacyDlpV2SaveFindings { outputConfig?: Schema$GooglePrivacyDlpV2OutputStorageConfig; @@ -2384,10 +2403,10 @@ export namespace dlp_v2 { export interface Schema$GooglePrivacyDlpV2Schedule { /** * With this option a job is started a regular periodic basis. For example: - * every 10 minutes. A scheduled start time will be skipped if the previous - * execution has not ended when its scheduled time occurs. This value must - * be set to a time duration greater than or equal to 60 minutes and can be - * no longer than 60 days. + * every day (86400 seconds). A scheduled start time will be skipped if the + * previous execution has not ended when its scheduled time occurs. This + * value must be set to a time duration greater than or equal to 1 day and + * can be no longer than 60 days. */ recurrencePeriodDuration?: string; } @@ -2458,6 +2477,8 @@ export namespace dlp_v2 { export interface Schema$GooglePrivacyDlpV2SurrogateType {} /** * Structured content to inspect. Up to 50,000 `Value`s per request allowed. + * See https://cloud.google.com/dlp/docs/inspecting-text#inspecting_a_table to + * learn more. */ export interface Schema$GooglePrivacyDlpV2Table { headers?: Schema$GooglePrivacyDlpV2FieldId[]; @@ -2832,8 +2853,8 @@ export namespace dlp_v2 { /** * dlp.infoTypes.list * @desc Returns a list of the sensitive information types that the DLP API - * supports. For more information, see [Listing supported predefined - * infoTypes](/dlp/docs/listing-infotypes). + * supports. See https://cloud.google.com/dlp/docs/infotypes-reference to + * learn more. * @alias dlp.infoTypes.list * @memberOf! () * @@ -2956,7 +2977,8 @@ export namespace dlp_v2 { /** * dlp.organizations.deidentifyTemplates.create * @desc Creates a DeidentifyTemplate for re-using frequently used - * configuration for de-identifying content, images, and storage. + * configuration for de-identifying content, images, and storage. See + * https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. * @alias dlp.organizations.deidentifyTemplates.create * @memberOf! () * @@ -3037,7 +3059,8 @@ export namespace dlp_v2 { /** * dlp.organizations.deidentifyTemplates.delete - * @desc Deletes a DeidentifyTemplate. + * @desc Deletes a DeidentifyTemplate. See + * https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. * @alias dlp.organizations.deidentifyTemplates.delete * @memberOf! () * @@ -3104,7 +3127,8 @@ export namespace dlp_v2 { /** * dlp.organizations.deidentifyTemplates.get - * @desc Gets a DeidentifyTemplate. + * @desc Gets a DeidentifyTemplate. See + * https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. * @alias dlp.organizations.deidentifyTemplates.get * @memberOf! () * @@ -3178,7 +3202,8 @@ export namespace dlp_v2 { /** * dlp.organizations.deidentifyTemplates.list - * @desc Lists DeidentifyTemplates. + * @desc Lists DeidentifyTemplates. See + * https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. * @alias dlp.organizations.deidentifyTemplates.list * @memberOf! () * @@ -3259,7 +3284,8 @@ export namespace dlp_v2 { /** * dlp.organizations.deidentifyTemplates.patch - * @desc Updates the DeidentifyTemplate. + * @desc Updates the DeidentifyTemplate. See + * https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. * @alias dlp.organizations.deidentifyTemplates.patch * @memberOf! () * @@ -3437,7 +3463,8 @@ export namespace dlp_v2 { /** * dlp.organizations.inspectTemplates.create * @desc Creates an InspectTemplate for re-using frequently used - * configuration for inspecting content, images, and storage. + * configuration for inspecting content, images, and storage. See + * https://cloud.google.com/dlp/docs/creating-templates to learn more. * @alias dlp.organizations.inspectTemplates.create * @memberOf! () * @@ -3517,7 +3544,8 @@ export namespace dlp_v2 { /** * dlp.organizations.inspectTemplates.delete - * @desc Deletes an InspectTemplate. + * @desc Deletes an InspectTemplate. See + * https://cloud.google.com/dlp/docs/creating-templates to learn more. * @alias dlp.organizations.inspectTemplates.delete * @memberOf! () * @@ -3584,7 +3612,8 @@ export namespace dlp_v2 { /** * dlp.organizations.inspectTemplates.get - * @desc Gets an InspectTemplate. + * @desc Gets an InspectTemplate. See + * https://cloud.google.com/dlp/docs/creating-templates to learn more. * @alias dlp.organizations.inspectTemplates.get * @memberOf! () * @@ -3657,7 +3686,8 @@ export namespace dlp_v2 { /** * dlp.organizations.inspectTemplates.list - * @desc Lists InspectTemplates. + * @desc Lists InspectTemplates. See + * https://cloud.google.com/dlp/docs/creating-templates to learn more. * @alias dlp.organizations.inspectTemplates.list * @memberOf! () * @@ -3735,7 +3765,8 @@ export namespace dlp_v2 { /** * dlp.organizations.inspectTemplates.patch - * @desc Updates the InspectTemplate. + * @desc Updates the InspectTemplate. See + * https://cloud.google.com/dlp/docs/creating-templates to learn more. * @alias dlp.organizations.inspectTemplates.patch * @memberOf! () * @@ -3938,8 +3969,9 @@ export namespace dlp_v2 { /** * dlp.projects.content.deidentify * @desc De-identifies potentially sensitive info from a ContentItem. This - * method has limits on input size and output size. [How-to - * guide](/dlp/docs/deidentify-sensitive-data) + * method has limits on input size and output size. See + * https://cloud.google.com/dlp/docs/deidentify-sensitive-data to learn + * more. * @alias dlp.projects.content.deidentify * @memberOf! () * @@ -4017,9 +4049,9 @@ export namespace dlp_v2 { /** * dlp.projects.content.inspect * @desc Finds potentially sensitive info in content. This method has limits - * on input size, processing time, and output size. [How-to guide for - * text](/dlp/docs/inspecting-text), [How-to guide for - * images](/dlp/docs/inspecting-images) + * on input size, processing time, and output size. For how to guides, see + * https://cloud.google.com/dlp/docs/inspecting-images and + * https://cloud.google.com/dlp/docs/inspecting-text, * @alias dlp.projects.content.inspect * @memberOf! () * @@ -4095,7 +4127,9 @@ export namespace dlp_v2 { /** * dlp.projects.content.reidentify - * @desc Re-identifies content that has been de-identified. + * @desc Re-identifies content that has been de-identified. See + * https://cloud.google.com/dlp/docs/pseudonymization#re-identification_in_free_text_code_example + * to learn more. * @alias dlp.projects.content.reidentify * @memberOf! () * @@ -4235,7 +4269,8 @@ export namespace dlp_v2 { /** * dlp.projects.deidentifyTemplates.create * @desc Creates a DeidentifyTemplate for re-using frequently used - * configuration for de-identifying content, images, and storage. + * configuration for de-identifying content, images, and storage. See + * https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. * @alias dlp.projects.deidentifyTemplates.create * @memberOf! () * @@ -4315,7 +4350,8 @@ export namespace dlp_v2 { /** * dlp.projects.deidentifyTemplates.delete - * @desc Deletes a DeidentifyTemplate. + * @desc Deletes a DeidentifyTemplate. See + * https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. * @alias dlp.projects.deidentifyTemplates.delete * @memberOf! () * @@ -4381,7 +4417,8 @@ export namespace dlp_v2 { /** * dlp.projects.deidentifyTemplates.get - * @desc Gets a DeidentifyTemplate. + * @desc Gets a DeidentifyTemplate. See + * https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. * @alias dlp.projects.deidentifyTemplates.get * @memberOf! () * @@ -4454,7 +4491,8 @@ export namespace dlp_v2 { /** * dlp.projects.deidentifyTemplates.list - * @desc Lists DeidentifyTemplates. + * @desc Lists DeidentifyTemplates. See + * https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. * @alias dlp.projects.deidentifyTemplates.list * @memberOf! () * @@ -4534,7 +4572,8 @@ export namespace dlp_v2 { /** * dlp.projects.deidentifyTemplates.patch - * @desc Updates the DeidentifyTemplate. + * @desc Updates the DeidentifyTemplate. See + * https://cloud.google.com/dlp/docs/creating-templates-deid to learn more. * @alias dlp.projects.deidentifyTemplates.patch * @memberOf! () * @@ -4712,7 +4751,8 @@ export namespace dlp_v2 { * dlp.projects.dlpJobs.cancel * @desc Starts asynchronous cancellation on a long-running DlpJob. The * server makes a best effort to cancel the DlpJob, but success is not - * guaranteed. + * guaranteed. See https://cloud.google.com/dlp/docs/inspecting-storage and + * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. * @alias dlp.projects.dlpJobs.cancel * @memberOf! () * @@ -4780,8 +4820,9 @@ export namespace dlp_v2 { /** * dlp.projects.dlpJobs.create - * @desc Creates a new job to inspect storage or calculate risk metrics. - * [How-to guide](/dlp/docs/compute-risk-analysis). + * @desc Creates a new job to inspect storage or calculate risk metrics. See + * https://cloud.google.com/dlp/docs/inspecting-storage and + * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. * @alias dlp.projects.dlpJobs.create * @memberOf! () * @@ -4853,7 +4894,9 @@ export namespace dlp_v2 { * dlp.projects.dlpJobs.delete * @desc Deletes a long-running DlpJob. This method indicates that the * client is no longer interested in the DlpJob result. The job will be - * cancelled if possible. + * cancelled if possible. See + * https://cloud.google.com/dlp/docs/inspecting-storage and + * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. * @alias dlp.projects.dlpJobs.delete * @memberOf! () * @@ -4919,7 +4962,9 @@ export namespace dlp_v2 { /** * dlp.projects.dlpJobs.get - * @desc Gets the latest state of a long-running DlpJob. + * @desc Gets the latest state of a long-running DlpJob. See + * https://cloud.google.com/dlp/docs/inspecting-storage and + * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. * @alias dlp.projects.dlpJobs.get * @memberOf! () * @@ -4982,7 +5027,9 @@ export namespace dlp_v2 { /** * dlp.projects.dlpJobs.list - * @desc Lists DlpJobs that match the specified filter in the request. + * @desc Lists DlpJobs that match the specified filter in the request. See + * https://cloud.google.com/dlp/docs/inspecting-storage and + * https://cloud.google.com/dlp/docs/compute-risk-analysis to learn more. * @alias dlp.projects.dlpJobs.list * @memberOf! () * @@ -5174,8 +5221,9 @@ export namespace dlp_v2 { /** * dlp.projects.image.redact * @desc Redacts potentially sensitive info from an image. This method has - * limits on input size, processing time, and output size. [How-to - * guide](/dlp/docs/redacting-sensitive-data-images) + * limits on input size, processing time, and output size. See + * https://cloud.google.com/dlp/docs/redacting-sensitive-data-images to + * learn more. * @alias dlp.projects.image.redact * @memberOf! () * @@ -5286,7 +5334,8 @@ export namespace dlp_v2 { /** * dlp.projects.inspectTemplates.create * @desc Creates an InspectTemplate for re-using frequently used - * configuration for inspecting content, images, and storage. + * configuration for inspecting content, images, and storage. See + * https://cloud.google.com/dlp/docs/creating-templates to learn more. * @alias dlp.projects.inspectTemplates.create * @memberOf! () * @@ -5365,7 +5414,8 @@ export namespace dlp_v2 { /** * dlp.projects.inspectTemplates.delete - * @desc Deletes an InspectTemplate. + * @desc Deletes an InspectTemplate. See + * https://cloud.google.com/dlp/docs/creating-templates to learn more. * @alias dlp.projects.inspectTemplates.delete * @memberOf! () * @@ -5431,7 +5481,8 @@ export namespace dlp_v2 { /** * dlp.projects.inspectTemplates.get - * @desc Gets an InspectTemplate. + * @desc Gets an InspectTemplate. See + * https://cloud.google.com/dlp/docs/creating-templates to learn more. * @alias dlp.projects.inspectTemplates.get * @memberOf! () * @@ -5504,7 +5555,8 @@ export namespace dlp_v2 { /** * dlp.projects.inspectTemplates.list - * @desc Lists InspectTemplates. + * @desc Lists InspectTemplates. See + * https://cloud.google.com/dlp/docs/creating-templates to learn more. * @alias dlp.projects.inspectTemplates.list * @memberOf! () * @@ -5582,7 +5634,8 @@ export namespace dlp_v2 { /** * dlp.projects.inspectTemplates.patch - * @desc Updates the InspectTemplate. + * @desc Updates the InspectTemplate. See + * https://cloud.google.com/dlp/docs/creating-templates to learn more. * @alias dlp.projects.inspectTemplates.patch * @memberOf! () * @@ -5758,7 +5811,8 @@ export namespace dlp_v2 { /** * dlp.projects.jobTriggers.create * @desc Creates a job trigger to run DLP actions such as scanning storage - * for sensitive information on a set schedule. + * for sensitive information on a set schedule. See + * https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. * @alias dlp.projects.jobTriggers.create * @memberOf! () * @@ -5833,7 +5887,8 @@ export namespace dlp_v2 { /** * dlp.projects.jobTriggers.delete - * @desc Deletes a job trigger. + * @desc Deletes a job trigger. See + * https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. * @alias dlp.projects.jobTriggers.delete * @memberOf! () * @@ -5899,7 +5954,8 @@ export namespace dlp_v2 { /** * dlp.projects.jobTriggers.get - * @desc Gets a job trigger. + * @desc Gets a job trigger. See + * https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. * @alias dlp.projects.jobTriggers.get * @memberOf! () * @@ -5968,15 +6024,16 @@ export namespace dlp_v2 { /** * dlp.projects.jobTriggers.list - * @desc Lists job triggers. + * @desc Lists job triggers. See + * https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. * @alias dlp.projects.jobTriggers.list * @memberOf! () * * @param {object} params Parameters for request - * @param {string=} params.orderBy Optional comma separated list of triggeredJob fields to order by, followed by 'asc/desc' postfix, i.e. `"create_time asc,name desc,schedule_mode asc"`. This list is case-insensitive. Example: `"name asc,schedule_mode desc, status desc"` Supported filters keys and values are: - `create_time`: corresponds to time the triggeredJob was created. - `update_time`: corresponds to time the triggeredJob was last updated. - `name`: corresponds to JobTrigger's display name. - `status`: corresponds to the triggeredJob status. + * @param {string=} params.orderBy Optional comma separated list of triggeredJob fields to order by, followed by `asc` or `desc` postfix. This list is case-insensitive, default sorting order is ascending, redundant space characters are insignificant. Example: `name asc,update_time, create_time desc` Supported fields are: - `create_time`: corresponds to time the triggeredJob was created. - `update_time`: corresponds to time the triggeredJob was last updated. - `name`: corresponds to JobTrigger's name. * @param {integer=} params.pageSize Optional size of the page, can be limited by a server. - * @param {string=} params.pageToken Optional page token to continue retrieval. Comes from previous call to ListJobTriggers. `order_by` and `filter` should not change for subsequent calls, but can be omitted if token is specified. - * @param {string} params.parent The parent resource name, for example projects/my-project-id. + * @param {string=} params.pageToken Optional page token to continue retrieval. Comes from previous call to ListJobTriggers. `order_by` field must not change for subsequent calls. + * @param {string} params.parent The parent resource name, for example `projects/my-project-id`. * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. * @param {callback} callback The callback that handles the response. * @return {object} Request object @@ -6046,7 +6103,8 @@ export namespace dlp_v2 { /** * dlp.projects.jobTriggers.patch - * @desc Updates a job trigger. + * @desc Updates a job trigger. See + * https://cloud.google.com/dlp/docs/creating-job-triggers to learn more. * @alias dlp.projects.jobTriggers.patch * @memberOf! () * @@ -6166,13 +6224,13 @@ export namespace dlp_v2 { /** * Optional comma separated list of triggeredJob fields to order by, - * followed by 'asc/desc' postfix, i.e. `"create_time asc,name - * desc,schedule_mode asc"`. This list is case-insensitive. Example: `"name - * asc,schedule_mode desc, status desc"` Supported filters keys and values - * are: - `create_time`: corresponds to time the triggeredJob was created. - * - `update_time`: corresponds to time the triggeredJob was last updated. - - * `name`: corresponds to JobTrigger's display name. - `status`: corresponds - * to the triggeredJob status. + * followed by `asc` or `desc` postfix. This list is case-insensitive, + * default sorting order is ascending, redundant space characters are + * insignificant. Example: `name asc,update_time, create_time desc` + * Supported fields are: - `create_time`: corresponds to time the + * triggeredJob was created. - `update_time`: corresponds to time the + * triggeredJob was last updated. - `name`: corresponds to JobTrigger's + * name. */ orderBy?: string; /** @@ -6181,12 +6239,11 @@ export namespace dlp_v2 { pageSize?: number; /** * Optional page token to continue retrieval. Comes from previous call to - * ListJobTriggers. `order_by` and `filter` should not change for subsequent - * calls, but can be omitted if token is specified. + * ListJobTriggers. `order_by` field must not change for subsequent calls. */ pageToken?: string; /** - * The parent resource name, for example projects/my-project-id. + * The parent resource name, for example `projects/my-project-id`. */ parent?: string; } diff --git a/src/apis/dns/README.md b/src/apis/dns/README.md new file mode 100644 index 00000000000..5d6a5702bb3 --- /dev/null +++ b/src/apis/dns/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/dns + +> Configures and serves authoritative DNS records. + +## Installation + +```sh +$ npm install @google/dns +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/dns/package.json b/src/apis/dns/package.json new file mode 100644 index 00000000000..7db1c211be9 --- /dev/null +++ b/src/apis/dns/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/dns", + "version": "0.1.0", + "description": "dns", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/doubleclickbidmanager/README.md b/src/apis/doubleclickbidmanager/README.md new file mode 100644 index 00000000000..15300bfd0da --- /dev/null +++ b/src/apis/doubleclickbidmanager/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/doubleclickbidmanager + +> API for viewing and managing your reports in DoubleClick Bid Manager. + +## Installation + +```sh +$ npm install @google/doubleclickbidmanager +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/doubleclickbidmanager/package.json b/src/apis/doubleclickbidmanager/package.json new file mode 100644 index 00000000000..429aacb1a72 --- /dev/null +++ b/src/apis/doubleclickbidmanager/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/doubleclickbidmanager", + "version": "0.1.0", + "description": "doubleclickbidmanager", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/doubleclicksearch/README.md b/src/apis/doubleclicksearch/README.md new file mode 100644 index 00000000000..72481a66ce3 --- /dev/null +++ b/src/apis/doubleclicksearch/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/doubleclicksearch + +> Reports and modifies your advertising data in DoubleClick Search (for example, campaigns, ad groups, keywords, and conversions). + +## Installation + +```sh +$ npm install @google/doubleclicksearch +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/doubleclicksearch/package.json b/src/apis/doubleclicksearch/package.json new file mode 100644 index 00000000000..7282d773c65 --- /dev/null +++ b/src/apis/doubleclicksearch/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/doubleclicksearch", + "version": "0.1.0", + "description": "doubleclicksearch", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/drive/README.md b/src/apis/drive/README.md new file mode 100644 index 00000000000..d77e9bcf021 --- /dev/null +++ b/src/apis/drive/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/drive + +> Manages files in Drive including uploading, downloading, searching, detecting changes, and updating sharing permissions. + +## Installation + +```sh +$ npm install @google/drive +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/drive/package.json b/src/apis/drive/package.json new file mode 100644 index 00000000000..55ad2e588c6 --- /dev/null +++ b/src/apis/drive/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/drive", + "version": "0.1.0", + "description": "drive", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/firebasedynamiclinks/README.md b/src/apis/firebasedynamiclinks/README.md new file mode 100644 index 00000000000..136e5a46de8 --- /dev/null +++ b/src/apis/firebasedynamiclinks/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/firebasedynamiclinks + +> Programmatically creates and manages Firebase Dynamic Links. + +## Installation + +```sh +$ npm install @google/firebasedynamiclinks +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/firebasedynamiclinks/package.json b/src/apis/firebasedynamiclinks/package.json new file mode 100644 index 00000000000..0bf03dbce55 --- /dev/null +++ b/src/apis/firebasedynamiclinks/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/firebasedynamiclinks", + "version": "0.1.0", + "description": "firebasedynamiclinks", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/firebaserules/README.md b/src/apis/firebaserules/README.md new file mode 100644 index 00000000000..a1e3b5a4947 --- /dev/null +++ b/src/apis/firebaserules/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/firebaserules + +> Creates and manages rules that determine when a Firebase Rules-enabled service should permit a request. + +## Installation + +```sh +$ npm install @google/firebaserules +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/firebaserules/package.json b/src/apis/firebaserules/package.json new file mode 100644 index 00000000000..e2fa24ba5ca --- /dev/null +++ b/src/apis/firebaserules/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/firebaserules", + "version": "0.1.0", + "description": "firebaserules", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/firebaserules/v1.ts b/src/apis/firebaserules/v1.ts index 0dc9906b6bf..3f08a579fe3 100644 --- a/src/apis/firebaserules/v1.ts +++ b/src/apis/firebaserules/v1.ts @@ -384,6 +384,11 @@ export namespace firebaserules_v1 { * State of the test. */ state?: string; + /** + * The set of visited expressions for a given test. This returns positions + * and evaluation results of all visited expressions. + */ + visitedExpressions?: Schema$VisitedExpression[]; } /** * The request for FirebaseRulesService.TestRuleset. @@ -440,6 +445,19 @@ export namespace firebaserules_v1 { */ updateMask?: string; } + /** + * Store the position and access outcome for an expression visited in rules. + */ + export interface Schema$VisitedExpression { + /** + * Position in the `Source` or `Ruleset` where an expression was visited. + */ + sourcePosition?: Schema$SourcePosition; + /** + * The evaluated value for the visited expression, e.g. true/false + */ + value?: any; + } export class Resource$Projects { diff --git a/src/apis/firestore/README.md b/src/apis/firestore/README.md new file mode 100644 index 00000000000..ef1c50690cf --- /dev/null +++ b/src/apis/firestore/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/firestore + +> + +## Installation + +```sh +$ npm install @google/firestore +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/firestore/package.json b/src/apis/firestore/package.json new file mode 100644 index 00000000000..cd6a7454566 --- /dev/null +++ b/src/apis/firestore/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/firestore", + "version": "0.1.0", + "description": "firestore", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/fitness/README.md b/src/apis/fitness/README.md new file mode 100644 index 00000000000..0418210fa1b --- /dev/null +++ b/src/apis/fitness/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/fitness + +> Stores and accesses user data in the fitness store from apps on any platform. + +## Installation + +```sh +$ npm install @google/fitness +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/fitness/package.json b/src/apis/fitness/package.json new file mode 100644 index 00000000000..148cf9f6a2d --- /dev/null +++ b/src/apis/fitness/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/fitness", + "version": "0.1.0", + "description": "fitness", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/fusiontables/README.md b/src/apis/fusiontables/README.md new file mode 100644 index 00000000000..ec4cd3d997c --- /dev/null +++ b/src/apis/fusiontables/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/fusiontables + +> API for working with Fusion Tables data. + +## Installation + +```sh +$ npm install @google/fusiontables +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/fusiontables/package.json b/src/apis/fusiontables/package.json new file mode 100644 index 00000000000..aa6e6f5dd99 --- /dev/null +++ b/src/apis/fusiontables/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/fusiontables", + "version": "0.1.0", + "description": "fusiontables", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/games/README.md b/src/apis/games/README.md new file mode 100644 index 00000000000..7f229f67577 --- /dev/null +++ b/src/apis/games/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/games + +> The API for Google Play Game Services. + +## Installation + +```sh +$ npm install @google/games +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/games/package.json b/src/apis/games/package.json new file mode 100644 index 00000000000..8c036b4a335 --- /dev/null +++ b/src/apis/games/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/games", + "version": "0.1.0", + "description": "games", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/gamesConfiguration/README.md b/src/apis/gamesConfiguration/README.md new file mode 100644 index 00000000000..6aea283d8b8 --- /dev/null +++ b/src/apis/gamesConfiguration/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/gamesConfiguration + +> The Publishing API for Google Play Game Services. + +## Installation + +```sh +$ npm install @google/gamesConfiguration +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/gamesConfiguration/package.json b/src/apis/gamesConfiguration/package.json new file mode 100644 index 00000000000..2095a2b5fee --- /dev/null +++ b/src/apis/gamesConfiguration/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/gamesConfiguration", + "version": "0.1.0", + "description": "gamesConfiguration", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/gamesManagement/README.md b/src/apis/gamesManagement/README.md new file mode 100644 index 00000000000..23062dcbed3 --- /dev/null +++ b/src/apis/gamesManagement/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/gamesManagement + +> The Management API for Google Play Game Services. + +## Installation + +```sh +$ npm install @google/gamesManagement +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/gamesManagement/package.json b/src/apis/gamesManagement/package.json new file mode 100644 index 00000000000..620b9c79c67 --- /dev/null +++ b/src/apis/gamesManagement/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/gamesManagement", + "version": "0.1.0", + "description": "gamesManagement", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/genomics/README.md b/src/apis/genomics/README.md new file mode 100644 index 00000000000..4cc3d6c7157 --- /dev/null +++ b/src/apis/genomics/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/genomics + +> Upload, process, query, and search Genomics data in the cloud. + +## Installation + +```sh +$ npm install @google/genomics +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/genomics/package.json b/src/apis/genomics/package.json new file mode 100644 index 00000000000..755e188924e --- /dev/null +++ b/src/apis/genomics/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/genomics", + "version": "0.1.0", + "description": "genomics", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/genomics/v2alpha1.ts b/src/apis/genomics/v2alpha1.ts index 7aa263393b4..9b6e2ff1081 100644 --- a/src/apis/genomics/v2alpha1.ts +++ b/src/apis/genomics/v2alpha1.ts @@ -459,10 +459,22 @@ export namespace genomics_v2alpha1 { */ export interface Schema$Network { /** - * The network name to attach the VM's network interface to. If - * unspecified, the global default network is used. + * The network name to attach the VM's network interface to. The value + * will be prefixed with "global/networks/" unless it contains a + * "/" in which case it is assumed to be a fully specified network + * resource URL. If unspecified, the global default network is used. */ name?: string; + /** + * If the specified network is configured for custom subnet creation, the + * name of the subnetwork to attach the instance to must be specified here. + * The value is prefixed with "regions/x/subnetworks/" unless it + * contains a "/" in which case it is assumed to be a full + * specified subnetwork resource URL. If the '*' character appears + * in the value, it is replaced with the region that the virtual machine has + * been allocated in. + */ + subnetwork?: string; /** * If set to true, do not attach a public IP address to the VM. Note that * without an public IP address, additional configuration is required to diff --git a/src/apis/gmail/README.md b/src/apis/gmail/README.md new file mode 100644 index 00000000000..a515fa57436 --- /dev/null +++ b/src/apis/gmail/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/gmail + +> Access Gmail mailboxes including sending user email. + +## Installation + +```sh +$ npm install @google/gmail +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/gmail/package.json b/src/apis/gmail/package.json new file mode 100644 index 00000000000..07551497ba3 --- /dev/null +++ b/src/apis/gmail/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/gmail", + "version": "0.1.0", + "description": "gmail", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/groupsmigration/README.md b/src/apis/groupsmigration/README.md new file mode 100644 index 00000000000..e75ccaf1f51 --- /dev/null +++ b/src/apis/groupsmigration/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/groupsmigration + +> Groups Migration Api. + +## Installation + +```sh +$ npm install @google/groupsmigration +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/groupsmigration/package.json b/src/apis/groupsmigration/package.json new file mode 100644 index 00000000000..3bf3549faeb --- /dev/null +++ b/src/apis/groupsmigration/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/groupsmigration", + "version": "0.1.0", + "description": "groupsmigration", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/groupssettings/README.md b/src/apis/groupssettings/README.md new file mode 100644 index 00000000000..517b3395ab7 --- /dev/null +++ b/src/apis/groupssettings/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/groupssettings + +> Lets you manage permission levels and related settings of a group. + +## Installation + +```sh +$ npm install @google/groupssettings +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/groupssettings/package.json b/src/apis/groupssettings/package.json new file mode 100644 index 00000000000..7024882c5bf --- /dev/null +++ b/src/apis/groupssettings/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/groupssettings", + "version": "0.1.0", + "description": "groupssettings", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/iam/README.md b/src/apis/iam/README.md new file mode 100644 index 00000000000..08c936f77ea --- /dev/null +++ b/src/apis/iam/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/iam + +> Manages identity and access control for Google Cloud Platform resources, including the creation of service accounts, which you can use to authenticate to Google and make API calls. + +## Installation + +```sh +$ npm install @google/iam +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/iam/package.json b/src/apis/iam/package.json new file mode 100644 index 00000000000..e1ba6c60928 --- /dev/null +++ b/src/apis/iam/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/iam", + "version": "0.1.0", + "description": "iam", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/iamcredentials/README.md b/src/apis/iamcredentials/README.md new file mode 100644 index 00000000000..625fdae3ff3 --- /dev/null +++ b/src/apis/iamcredentials/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/iamcredentials + +> IAM Service Account Credentials API + +## Installation + +```sh +$ npm install @google/iamcredentials +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/iamcredentials/index.ts b/src/apis/iamcredentials/index.ts new file mode 100644 index 00000000000..3afccb5642a --- /dev/null +++ b/src/apis/iamcredentials/index.ts @@ -0,0 +1,30 @@ +// Copyright 2018, Google, LLC. +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +/*! THIS FILE IS AUTO-GENERATED */ + +import {getAPI, GoogleConfigurable} from '../../shared/src'; +import {iamcredentials_v1} from './v1'; + +export const VERSIONS = { + 'v1': iamcredentials_v1.Iamcredentials, +}; + +export function iamcredentials(version: 'v1'): iamcredentials_v1.Iamcredentials; +export function iamcredentials(options: iamcredentials_v1.Options): + iamcredentials_v1.Iamcredentials; +export function iamcredentials( + this: GoogleConfigurable, + versionOrOptions: 'v1'|iamcredentials_v1.Options) { + return getAPI('iamcredentials', versionOrOptions, VERSIONS, this); +} diff --git a/src/apis/iamcredentials/package.json b/src/apis/iamcredentials/package.json new file mode 100644 index 00000000000..ea9fbec4556 --- /dev/null +++ b/src/apis/iamcredentials/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/iamcredentials", + "version": "0.1.0", + "description": "iamcredentials", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/iamcredentials/v1.ts b/src/apis/iamcredentials/v1.ts new file mode 100644 index 00000000000..d3fea745858 --- /dev/null +++ b/src/apis/iamcredentials/v1.ts @@ -0,0 +1,64 @@ +/** + * Copyright 2015 Google Inc. All Rights Reserved. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +import {AxiosPromise} from 'axios'; +import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library'; + +import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src'; + +// tslint:disable: no-any +// tslint:disable: class-name +// tslint:disable: variable-name +// tslint:disable: jsdoc-format +// tslint:disable: no-namespace + +export namespace iamcredentials_v1 { + export interface Options extends GlobalOptions { + version: 'v1'; + } + + /** + * IAM Service Account Credentials API + * + * IAM Service Account Credentials API + * + * @example + * const {google} = require('googleapis'); + * const iamcredentials = google.iamcredentials('v1'); + * + * @namespace iamcredentials + * @type {Function} + * @version v1 + * @variation v1 + * @param {object=} options Options for Iamcredentials + */ + export class Iamcredentials { + _options: GlobalOptions; + google?: GoogleConfigurable; + root = this; + + + constructor(options: GlobalOptions, google?: GoogleConfigurable) { + this._options = options || {}; + this.google = google; + this.getRoot.bind(this); + } + + getRoot() { + return this.root; + } + } +} diff --git a/src/apis/identitytoolkit/README.md b/src/apis/identitytoolkit/README.md new file mode 100644 index 00000000000..583d42be413 --- /dev/null +++ b/src/apis/identitytoolkit/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/identitytoolkit + +> Help the third party sites to implement federated login. + +## Installation + +```sh +$ npm install @google/identitytoolkit +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/identitytoolkit/package.json b/src/apis/identitytoolkit/package.json new file mode 100644 index 00000000000..42b5aaa0804 --- /dev/null +++ b/src/apis/identitytoolkit/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/identitytoolkit", + "version": "0.1.0", + "description": "identitytoolkit", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/index.ts b/src/apis/index.ts index d22fce0400b..7aae3438727 100644 --- a/src/apis/index.ts +++ b/src/apis/index.ts @@ -83,6 +83,7 @@ import * as gmail from './gmail'; import * as groupsmigration from './groupsmigration'; import * as groupssettings from './groupssettings'; import * as iam from './iam'; +import * as iamcredentials from './iamcredentials'; import * as identitytoolkit from './identitytoolkit'; import * as jobs from './jobs'; import * as kgsearch from './kgsearch'; @@ -222,6 +223,7 @@ export const APIS: APIList = { groupsmigration: groupsmigration.VERSIONS, groupssettings: groupssettings.VERSIONS, iam: iam.VERSIONS, + iamcredentials: iamcredentials.VERSIONS, identitytoolkit: identitytoolkit.VERSIONS, jobs: jobs.VERSIONS, kgsearch: kgsearch.VERSIONS, @@ -358,6 +360,7 @@ export class GeneratedAPIs { groupsmigration = groupsmigration.groupsmigration; groupssettings = groupssettings.groupssettings; iam = iam.iam; + iamcredentials = iamcredentials.iamcredentials; identitytoolkit = identitytoolkit.identitytoolkit; jobs = jobs.jobs; kgsearch = kgsearch.kgsearch; @@ -492,6 +495,7 @@ export class GeneratedAPIs { this.groupsmigration = this.groupsmigration.bind(this); this.groupssettings = this.groupssettings.bind(this); this.iam = this.iam.bind(this); + this.iamcredentials = this.iamcredentials.bind(this); this.identitytoolkit = this.identitytoolkit.bind(this); this.jobs = this.jobs.bind(this); this.kgsearch = this.kgsearch.bind(this); diff --git a/src/apis/jobs/README.md b/src/apis/jobs/README.md new file mode 100644 index 00000000000..f2fee6b8c8d --- /dev/null +++ b/src/apis/jobs/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/jobs + +> Cloud Job Discovery provides the capability to create, read, update, and delete job postings, as well as search jobs based on keywords and filters. + +## Installation + +```sh +$ npm install @google/jobs +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/jobs/package.json b/src/apis/jobs/package.json new file mode 100644 index 00000000000..eab720d3124 --- /dev/null +++ b/src/apis/jobs/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/jobs", + "version": "0.1.0", + "description": "jobs", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/jobs/v2.ts b/src/apis/jobs/v2.ts index b60f5dec1bd..aacd2a6d45d 100644 --- a/src/apis/jobs/v2.ts +++ b/src/apis/jobs/v2.ts @@ -203,7 +203,8 @@ export namespace jobs_v2 { * the company. If an employer has a subsidiary or sub-brand, such as * "Alphabet" and "Google", which the client wishes to * use as the company displayed on the job. Best practice is to create a - * distinct company identifier for each distinct brand displayed. + * distinct company identifier for each distinct brand displayed. The + * maximum number of allowed characters is 255. */ distributorCompanyId?: string; /** @@ -358,7 +359,7 @@ export namespace jobs_v2 { */ type?: string; /** - * Required. Specify desired ** base compensation entry's ** + * Required. Specify desired `base compensation entry's` * CompensationInfo.CompensationUnit. */ units?: string[]; @@ -668,7 +669,7 @@ export namespace jobs_v2 { */ compensationRange?: Schema$ExtendedCompensationInfoCompensationRange; /** - * Required. Specify desired ** base compensation entry's ** + * Required. Specify desired `base compensation entry's` * ExtendedCompensationInfo.CompensationUnit. */ compensationUnits?: string[]; @@ -1210,7 +1211,7 @@ export namespace jobs_v2 { * used by clients for client identification and tracking of listings. A job * is not allowed to be created if there is another job with the same * requisition_id, company_name and language_code. The maximum number of - * allowed characters is 225. + * allowed characters is 255. */ requisitionId?: string; /** @@ -1369,7 +1370,7 @@ export namespace jobs_v2 { /** * Optional. The query filter contains the keywords that match against the * job title, description, and location fields. The maximum query size is - * 255 bytes. + * 255 bytes/characters. */ query?: string; /** @@ -2568,7 +2569,7 @@ export namespace jobs_v2 { * @param {string} params.companyName Required. The resource name of the company that owns the jobs to be listed, such as, "companies/0000aaaa-1111-bbbb-2222-cccc3333dddd". * @param {boolean=} params.idsOnly Optional. If set to `true`, only job ID, job requisition ID and language code will be returned. A typical use is to synchronize job repositories. Defaults to false. * @param {boolean=} params.includeJobsCount Deprecated. Please DO NOT use this field except for small companies. Suggest counting jobs page by page instead. Optional. Set to true if the total number of open jobs is to be returned. Defaults to false. - * @param {string=} params.jobRequisitionId Optional. The requisition ID, also known as posting ID, assigned by the company to the job. The number of allowable characters is 225. + * @param {string=} params.jobRequisitionId Optional. The requisition ID, also known as posting ID, assigned by the company to the job. The maximum number of allowable characters is 225. * @param {integer=} params.pageSize Optional. The maximum number of jobs to be returned per page of results. If ids_only is set to true, the maximum allowed page size is 1000. Otherwise, the maximum allowed page size is 100. Default is 100 if empty or a number < 1 is specified. * @param {string=} params.pageToken Optional. The starting point of a query result. * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. @@ -2655,7 +2656,7 @@ export namespace jobs_v2 { includeJobsCount?: boolean; /** * Optional. The requisition ID, also known as posting ID, assigned by the - * company to the job. The number of allowable characters is 225. + * company to the job. The maximum number of allowable characters is 225. */ jobRequisitionId?: string; /** diff --git a/src/apis/kgsearch/README.md b/src/apis/kgsearch/README.md new file mode 100644 index 00000000000..b93180eca8d --- /dev/null +++ b/src/apis/kgsearch/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/kgsearch + +> Searches the Google Knowledge Graph for entities. + +## Installation + +```sh +$ npm install @google/kgsearch +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/kgsearch/package.json b/src/apis/kgsearch/package.json new file mode 100644 index 00000000000..468c0c09f1a --- /dev/null +++ b/src/apis/kgsearch/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/kgsearch", + "version": "0.1.0", + "description": "kgsearch", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/language/README.md b/src/apis/language/README.md new file mode 100644 index 00000000000..120d8e25f26 --- /dev/null +++ b/src/apis/language/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/language + +> Provides natural language understanding technologies to developers. Examples include sentiment analysis, entity recognition, entity sentiment analysis, and text annotations. + +## Installation + +```sh +$ npm install @google/language +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/language/package.json b/src/apis/language/package.json new file mode 100644 index 00000000000..2c002da1b4b --- /dev/null +++ b/src/apis/language/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/language", + "version": "0.1.0", + "description": "language", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/licensing/README.md b/src/apis/licensing/README.md new file mode 100644 index 00000000000..cbf51344f52 --- /dev/null +++ b/src/apis/licensing/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/licensing + +> Views and manages licenses for your domain. + +## Installation + +```sh +$ npm install @google/licensing +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/licensing/package.json b/src/apis/licensing/package.json new file mode 100644 index 00000000000..3534e7d479d --- /dev/null +++ b/src/apis/licensing/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/licensing", + "version": "0.1.0", + "description": "licensing", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/logging/README.md b/src/apis/logging/README.md new file mode 100644 index 00000000000..ecc1ca5470e --- /dev/null +++ b/src/apis/logging/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/logging + +> Writes log entries and manages your Stackdriver Logging configuration. + +## Installation + +```sh +$ npm install @google/logging +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/logging/package.json b/src/apis/logging/package.json new file mode 100644 index 00000000000..071999d242a --- /dev/null +++ b/src/apis/logging/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/logging", + "version": "0.1.0", + "description": "logging", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/manufacturers/README.md b/src/apis/manufacturers/README.md new file mode 100644 index 00000000000..16fe00dce02 --- /dev/null +++ b/src/apis/manufacturers/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/manufacturers + +> Public API for managing Manufacturer Center related data. + +## Installation + +```sh +$ npm install @google/manufacturers +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/manufacturers/package.json b/src/apis/manufacturers/package.json new file mode 100644 index 00000000000..93513bcf52d --- /dev/null +++ b/src/apis/manufacturers/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/manufacturers", + "version": "0.1.0", + "description": "manufacturers", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/mirror/README.md b/src/apis/mirror/README.md new file mode 100644 index 00000000000..919e026325c --- /dev/null +++ b/src/apis/mirror/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/mirror + +> Interacts with Glass users via the timeline. + +## Installation + +```sh +$ npm install @google/mirror +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/mirror/package.json b/src/apis/mirror/package.json new file mode 100644 index 00000000000..2fd09c56422 --- /dev/null +++ b/src/apis/mirror/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/mirror", + "version": "0.1.0", + "description": "mirror", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/ml/README.md b/src/apis/ml/README.md new file mode 100644 index 00000000000..9b9652c3e1a --- /dev/null +++ b/src/apis/ml/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/ml + +> An API to enable creating and using machine learning models. + +## Installation + +```sh +$ npm install @google/ml +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/ml/package.json b/src/apis/ml/package.json new file mode 100644 index 00000000000..34551341ce5 --- /dev/null +++ b/src/apis/ml/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/ml", + "version": "0.1.0", + "description": "ml", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/monitoring/README.md b/src/apis/monitoring/README.md new file mode 100644 index 00000000000..ed33dfb1bed --- /dev/null +++ b/src/apis/monitoring/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/monitoring + +> Manages your Stackdriver Monitoring data and configurations. Most projects must be associated with a Stackdriver account, with a few exceptions as noted on the individual method pages. + +## Installation + +```sh +$ npm install @google/monitoring +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/monitoring/package.json b/src/apis/monitoring/package.json new file mode 100644 index 00000000000..e62fcfb496e --- /dev/null +++ b/src/apis/monitoring/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/monitoring", + "version": "0.1.0", + "description": "monitoring", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/monitoring/v3.ts b/src/apis/monitoring/v3.ts index f4cc61efe48..36ded0e37f3 100644 --- a/src/apis/monitoring/v3.ts +++ b/src/apis/monitoring/v3.ts @@ -477,9 +477,7 @@ export namespace monitoring_v3 { */ count?: string; /** - * Must be in increasing order of |value| field. The current requirement - * enforced by the backend is that at most one Exemplar will fall into any - * bucket. + * Must be in increasing order of value field. */ exemplars?: Schema$Exemplar[]; /** diff --git a/src/apis/oauth2/README.md b/src/apis/oauth2/README.md new file mode 100644 index 00000000000..7727ccf0bf3 --- /dev/null +++ b/src/apis/oauth2/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/oauth2 + +> Obtains end-user authorization grants for use with other Google APIs. + +## Installation + +```sh +$ npm install @google/oauth2 +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/oauth2/package.json b/src/apis/oauth2/package.json new file mode 100644 index 00000000000..7c063996a44 --- /dev/null +++ b/src/apis/oauth2/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/oauth2", + "version": "0.1.0", + "description": "oauth2", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/oslogin/README.md b/src/apis/oslogin/README.md new file mode 100644 index 00000000000..4d5a71382b4 --- /dev/null +++ b/src/apis/oslogin/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/oslogin + +> Manages OS login configuration for Google account users. + +## Installation + +```sh +$ npm install @google/oslogin +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/oslogin/package.json b/src/apis/oslogin/package.json new file mode 100644 index 00000000000..8e94c14d93c --- /dev/null +++ b/src/apis/oslogin/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/oslogin", + "version": "0.1.0", + "description": "oslogin", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/pagespeedonline/README.md b/src/apis/pagespeedonline/README.md new file mode 100644 index 00000000000..51cf9b35470 --- /dev/null +++ b/src/apis/pagespeedonline/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/pagespeedonline + +> Analyzes the performance of a web page and provides tailored suggestions to make that page faster. + +## Installation + +```sh +$ npm install @google/pagespeedonline +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/pagespeedonline/package.json b/src/apis/pagespeedonline/package.json new file mode 100644 index 00000000000..049e05df40b --- /dev/null +++ b/src/apis/pagespeedonline/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/pagespeedonline", + "version": "0.1.0", + "description": "pagespeedonline", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/partners/README.md b/src/apis/partners/README.md new file mode 100644 index 00000000000..41e0df7ecf2 --- /dev/null +++ b/src/apis/partners/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/partners + +> Searches certified companies and creates contact leads with them, and also audits the usage of clients. + +## Installation + +```sh +$ npm install @google/partners +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/partners/package.json b/src/apis/partners/package.json new file mode 100644 index 00000000000..42492b77f06 --- /dev/null +++ b/src/apis/partners/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/partners", + "version": "0.1.0", + "description": "partners", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/people/README.md b/src/apis/people/README.md new file mode 100644 index 00000000000..82146c98523 --- /dev/null +++ b/src/apis/people/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/people + +> Provides access to information about profiles and contacts. + +## Installation + +```sh +$ npm install @google/people +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/people/package.json b/src/apis/people/package.json new file mode 100644 index 00000000000..b9a3ad58aae --- /dev/null +++ b/src/apis/people/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/people", + "version": "0.1.0", + "description": "people", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/playcustomapp/README.md b/src/apis/playcustomapp/README.md new file mode 100644 index 00000000000..637769b8867 --- /dev/null +++ b/src/apis/playcustomapp/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/playcustomapp + +> An API to publish custom Android apps. + +## Installation + +```sh +$ npm install @google/playcustomapp +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/playcustomapp/package.json b/src/apis/playcustomapp/package.json new file mode 100644 index 00000000000..d703604ccae --- /dev/null +++ b/src/apis/playcustomapp/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/playcustomapp", + "version": "0.1.0", + "description": "playcustomapp", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/plus/README.md b/src/apis/plus/README.md new file mode 100644 index 00000000000..eed594aeb87 --- /dev/null +++ b/src/apis/plus/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/plus + +> Builds on top of the Google+ platform. + +## Installation + +```sh +$ npm install @google/plus +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/plus/package.json b/src/apis/plus/package.json new file mode 100644 index 00000000000..cfb1e65a314 --- /dev/null +++ b/src/apis/plus/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/plus", + "version": "0.1.0", + "description": "plus", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/plusDomains/README.md b/src/apis/plusDomains/README.md new file mode 100644 index 00000000000..a2cf5f95098 --- /dev/null +++ b/src/apis/plusDomains/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/plusDomains + +> Builds on top of the Google+ platform for Google Apps Domains. + +## Installation + +```sh +$ npm install @google/plusDomains +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/plusDomains/package.json b/src/apis/plusDomains/package.json new file mode 100644 index 00000000000..6067264a4ac --- /dev/null +++ b/src/apis/plusDomains/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/plusDomains", + "version": "0.1.0", + "description": "plusDomains", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/poly/README.md b/src/apis/poly/README.md new file mode 100644 index 00000000000..25dcbd0975d --- /dev/null +++ b/src/apis/poly/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/poly + +> The Poly API provides read-only access to assets hosted on poly.google.com. + +## Installation + +```sh +$ npm install @google/poly +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/poly/package.json b/src/apis/poly/package.json new file mode 100644 index 00000000000..d79e5aab5f4 --- /dev/null +++ b/src/apis/poly/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/poly", + "version": "0.1.0", + "description": "poly", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/poly/v1.ts b/src/apis/poly/v1.ts index cdfb8cd8eff..75dbeb427ee 100644 --- a/src/apis/poly/v1.ts +++ b/src/apis/poly/v1.ts @@ -336,6 +336,14 @@ export namespace poly_v1 { * asset was uploaded. */ export interface Schema$PresentationParams { + /** + * A background color which could be used for displaying the 3D asset in a + * 'thumbnail' or 'palette' style view. Authors have the + * option to set this background color when publishing or editing their + * asset. This is represented as a six-digit hexademical triplet specifying + * the RGB components of the background color, e.g. #FF0000 for Red. + */ + backgroundColor?: string; /** * The materials' diffuse/albedo color. This does not apply to vertex * colors or texture maps. diff --git a/src/apis/proximitybeacon/README.md b/src/apis/proximitybeacon/README.md new file mode 100644 index 00000000000..13de9ba2ee4 --- /dev/null +++ b/src/apis/proximitybeacon/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/proximitybeacon + +> Registers, manages, indexes, and searches beacons. + +## Installation + +```sh +$ npm install @google/proximitybeacon +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/proximitybeacon/package.json b/src/apis/proximitybeacon/package.json new file mode 100644 index 00000000000..b38649e0ebb --- /dev/null +++ b/src/apis/proximitybeacon/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/proximitybeacon", + "version": "0.1.0", + "description": "proximitybeacon", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/pubsub/README.md b/src/apis/pubsub/README.md new file mode 100644 index 00000000000..2752848fad0 --- /dev/null +++ b/src/apis/pubsub/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/pubsub + +> Provides reliable, many-to-many, asynchronous messaging between applications. + +## Installation + +```sh +$ npm install @google/pubsub +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/pubsub/package.json b/src/apis/pubsub/package.json new file mode 100644 index 00000000000..44869b169fc --- /dev/null +++ b/src/apis/pubsub/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/pubsub", + "version": "0.1.0", + "description": "pubsub", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/redis/README.md b/src/apis/redis/README.md new file mode 100644 index 00000000000..5e7e8d13790 --- /dev/null +++ b/src/apis/redis/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/redis + +> The Google Cloud Memorystore for Redis API is used for creating and managing Redis instances on the Google Cloud Platform. + +## Installation + +```sh +$ npm install @google/redis +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/redis/package.json b/src/apis/redis/package.json new file mode 100644 index 00000000000..f53cd5f2269 --- /dev/null +++ b/src/apis/redis/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/redis", + "version": "0.1.0", + "description": "redis", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/replicapool/README.md b/src/apis/replicapool/README.md new file mode 100644 index 00000000000..d12cf4fa6aa --- /dev/null +++ b/src/apis/replicapool/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/replicapool + +> The Replica Pool API allows users to declaratively provision and manage groups of Google Compute Engine instances based on a common template. + +## Installation + +```sh +$ npm install @google/replicapool +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/replicapool/index.ts b/src/apis/replicapool/index.ts index bbd2879e993..b1342054a97 100644 --- a/src/apis/replicapool/index.ts +++ b/src/apis/replicapool/index.ts @@ -15,25 +15,17 @@ import {getAPI, GoogleConfigurable} from '../../shared/src'; import {replicapool_v1beta1} from './v1beta1'; -import {replicapool_v1beta2} from './v1beta2'; export const VERSIONS = { 'v1beta1': replicapool_v1beta1.Replicapool, - 'v1beta2': replicapool_v1beta2.Replicapool, }; export function replicapool(version: 'v1beta1'): replicapool_v1beta1.Replicapool; export function replicapool(options: replicapool_v1beta1.Options): replicapool_v1beta1.Replicapool; -export function replicapool(version: 'v1beta2'): - replicapool_v1beta2.Replicapool; -export function replicapool(options: replicapool_v1beta2.Options): - replicapool_v1beta2.Replicapool; -export function replicapool< - T = replicapool_v1beta1.Replicapool | replicapool_v1beta2.Replicapool>( +export function replicapool( this: GoogleConfigurable, - versionOrOptions: 'v1beta1'| - replicapool_v1beta1.Options|'v1beta2'|replicapool_v1beta2.Options) { + versionOrOptions: 'v1beta1'|replicapool_v1beta1.Options) { return getAPI('replicapool', versionOrOptions, VERSIONS, this); } diff --git a/src/apis/replicapool/package.json b/src/apis/replicapool/package.json new file mode 100644 index 00000000000..122e0b848c4 --- /dev/null +++ b/src/apis/replicapool/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/replicapool", + "version": "0.1.0", + "description": "replicapool", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/replicapool/v1beta2.ts b/src/apis/replicapool/v1beta2.ts deleted file mode 100644 index e4a0b360ef4..00000000000 --- a/src/apis/replicapool/v1beta2.ts +++ /dev/null @@ -1,1553 +0,0 @@ -/** - * Copyright 2015 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import {AxiosPromise} from 'axios'; -import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library'; - -import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src'; - -// tslint:disable: no-any -// tslint:disable: class-name -// tslint:disable: variable-name -// tslint:disable: jsdoc-format -// tslint:disable: no-namespace - -export namespace replicapool_v1beta2 { - export interface Options extends GlobalOptions { - version: 'v1beta2'; - } - - /** - * Google Compute Engine Instance Group Manager API - * - * [Deprecated. Please use Instance Group Manager in Compute API] Provides - * groups of homogenous Compute Engine instances. - * - * @example - * const {google} = require('googleapis'); - * const replicapool = google.replicapool('v1beta2'); - * - * @namespace replicapool - * @type {Function} - * @version v1beta2 - * @variation v1beta2 - * @param {object=} options Options for Replicapool - */ - export class Replicapool { - _options: GlobalOptions; - google?: GoogleConfigurable; - root = this; - - instanceGroupManagers: Resource$Instancegroupmanagers; - zoneOperations: Resource$Zoneoperations; - - constructor(options: GlobalOptions, google?: GoogleConfigurable) { - this._options = options || {}; - this.google = google; - this.getRoot.bind(this); - - this.instanceGroupManagers = new Resource$Instancegroupmanagers(this); - this.zoneOperations = new Resource$Zoneoperations(this); - } - - getRoot() { - return this.root; - } - } - - /** - * An Instance Group Manager resource. - */ - export interface Schema$InstanceGroupManager { - /** - * The autohealing policy for this managed instance group. You can specify - * only one value. - */ - autoHealingPolicies?: Schema$ReplicaPoolAutoHealingPolicy[]; - /** - * The base instance name to use for instances in this group. The value must - * be a valid RFC1035 name. Supported characters are lowercase letters, - * numbers, and hyphens (-). Instances are named by appending a hyphen and a - * random four-character string to the base instance name. - */ - baseInstanceName?: string; - /** - * [Output only] The time the instance group manager was created, in RFC3339 - * text format. - */ - creationTimestamp?: string; - /** - * [Output only] The number of instances that currently exist and are a part - * of this group. This includes instances that are starting but are not yet - * RUNNING, and instances that are in the process of being deleted or - * abandoned. - */ - currentSize?: number; - /** - * An optional textual description of the instance group manager. - */ - description?: string; - /** - * [Output only] Fingerprint of the instance group manager. This field is - * used for optimistic locking. An up-to-date fingerprint must be provided - * in order to modify the Instance Group Manager resource. - */ - fingerprint?: string; - /** - * [Output only] The full URL of the instance group created by the manager. - * This group contains all of the instances being managed, and cannot - * contain non-managed instances. - */ - group?: string; - /** - * [Output only] A server-assigned unique identifier for the resource. - */ - id?: string; - /** - * The full URL to an instance template from which all new instances will be - * created. - */ - instanceTemplate?: string; - /** - * [Output only] The resource type. Always replicapool#instanceGroupManager. - */ - kind?: string; - /** - * The name of the instance group manager. Must be 1-63 characters long and - * comply with RFC1035. Supported characters include lowercase letters, - * numbers, and hyphens. - */ - name?: string; - /** - * [Output only] The fully qualified URL for this resource. - */ - selfLink?: string; - /** - * The full URL of all target pools to which new instances in the group are - * added. Updating the target pool values does not affect existing - * instances. - */ - targetPools?: string[]; - /** - * [Output only] The number of instances that the manager is attempting to - * maintain. Deleting or abandoning instances affects this number, as does - * resizing the group. - */ - targetSize?: number; - } - export interface Schema$InstanceGroupManagerList { - /** - * Unique identifier for the resource; defined by the server (output only). - */ - id?: string; - /** - * A list of instance resources. - */ - items?: Schema$InstanceGroupManager[]; - /** - * Type of resource. - */ - kind?: string; - /** - * A token used to continue a truncated list request (output only). - */ - nextPageToken?: string; - /** - * Server defined URL for this resource (output only). - */ - selfLink?: string; - } - export interface Schema$InstanceGroupManagersAbandonInstancesRequest { - /** - * The names of one or more instances to abandon. For example: { - * 'instances': [ 'instance-c3po', 'instance-r2d2' ] - * } - */ - instances?: string[]; - } - export interface Schema$InstanceGroupManagersDeleteInstancesRequest { - /** - * Names of instances to delete. Example: 'instance-foo', - * 'instance-bar' - */ - instances?: string[]; - } - export interface Schema$InstanceGroupManagersRecreateInstancesRequest { - /** - * The names of one or more instances to recreate. For example: { - * 'instances': [ 'instance-c3po', 'instance-r2d2' ] - * } - */ - instances?: string[]; - } - export interface Schema$InstanceGroupManagersSetInstanceTemplateRequest { - /** - * The full URL to an Instance Template from which all new instances will be - * created. - */ - instanceTemplate?: string; - } - export interface Schema$InstanceGroupManagersSetTargetPoolsRequest { - /** - * The current fingerprint of the Instance Group Manager resource. If this - * does not match the server-side fingerprint of the resource, then the - * request will be rejected. - */ - fingerprint?: string; - /** - * A list of fully-qualified URLs to existing Target Pool resources. New - * instances in the Instance Group Manager will be added to the specified - * target pools; existing instances are not affected. - */ - targetPools?: string[]; - } - /** - * An operation resource, used to manage asynchronous API requests. - */ - export interface Schema$Operation { - /** - * [Output only] An optional identifier specified by the client when the - * mutation was initiated. Must be unique for all operation resources in the - * project. - */ - clientOperationId?: string; - /** - * [Output Only] The time that this operation was requested, in RFC3339 text - * format. - */ - creationTimestamp?: string; - /** - * [Output Only] The time that this operation was completed, in RFC3339 text - * format. - */ - endTime?: string; - /** - * [Output Only] If errors occurred during processing of this operation, - * this field will be populated. - */ - error?: any; - /** - * [Output only] If operation fails, the HTTP error message returned. - */ - httpErrorMessage?: string; - /** - * [Output only] If operation fails, the HTTP error status code returned. - */ - httpErrorStatusCode?: number; - /** - * [Output Only] Unique identifier for the resource, generated by the - * server. - */ - id?: string; - /** - * [Output Only] The time that this operation was requested, in RFC3339 text - * format. - */ - insertTime?: string; - /** - * [Output only] Type of the resource. - */ - kind?: string; - /** - * [Output Only] Name of the resource. - */ - name?: string; - /** - * [Output only] Type of the operation. Operations include insert, update, - * and delete. - */ - operationType?: string; - /** - * [Output only] An optional progress indicator that ranges from 0 to 100. - * There is no requirement that this be linear or support any granularity of - * operations. This should not be used to guess at when the operation will - * be complete. This number should be monotonically increasing as the - * operation progresses. - */ - progress?: number; - /** - * [Output Only] URL of the region where the operation resides. Only - * available when performing regional operations. - */ - region?: string; - /** - * [Output Only] Server-defined fully-qualified URL for this resource. - */ - selfLink?: string; - /** - * [Output Only] The time that this operation was started by the server, in - * RFC3339 text format. - */ - startTime?: string; - /** - * [Output Only] Status of the operation. - */ - status?: string; - /** - * [Output Only] An optional textual description of the current status of - * the operation. - */ - statusMessage?: string; - /** - * [Output Only] Unique target ID which identifies a particular incarnation - * of the target. - */ - targetId?: string; - /** - * [Output only] URL of the resource the operation is mutating. - */ - targetLink?: string; - /** - * [Output Only] User who requested the operation, for example: - * user@example.com. - */ - user?: string; - /** - * [Output Only] If there are issues with this operation, a warning is - * returned. - */ - warnings?: any[]; - /** - * [Output Only] URL of the zone where the operation resides. Only available - * when performing per-zone operations. - */ - zone?: string; - } - export interface Schema$OperationList { - /** - * Unique identifier for the resource; defined by the server (output only). - */ - id?: string; - /** - * The operation resources. - */ - items?: Schema$Operation[]; - /** - * Type of resource. - */ - kind?: string; - /** - * A token used to continue a truncated list request (output only). - */ - nextPageToken?: string; - /** - * Server defined URL for this resource (output only). - */ - selfLink?: string; - } - export interface Schema$ReplicaPoolAutoHealingPolicy { - /** - * The action to perform when an instance becomes unhealthy. Possible values - * are RECREATE or REBOOT. RECREATE replaces an unhealthy instance with a - * new instance that is based on the instance template for this managed - * instance group. REBOOT performs a soft reboot on an instance. If the - * instance cannot reboot, the instance performs a hard restart. - */ - actionType?: string; - /** - * The URL for the HealthCheck that signals autohealing. - */ - healthCheck?: string; - } - - - export class Resource$Instancegroupmanagers { - root: Replicapool; - constructor(root: Replicapool) { - this.root = root; - this.getRoot.bind(this); - } - - getRoot() { - return this.root; - } - - - /** - * replicapool.instanceGroupManagers.abandonInstances - * @desc Removes the specified instances from the managed instance group, - * and from any target pools of which they were members, without deleting - * the instances. - * @alias replicapool.instanceGroupManagers.abandonInstances - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {string} params.instanceGroupManager The name of the instance group manager. - * @param {string} params.project The Google Developers Console project name. - * @param {string} params.zone The name of the zone in which the instance group manager resides. - * @param {().InstanceGroupManagersAbandonInstancesRequest} params.resource Request body data - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - abandonInstances( - params?: Params$Resource$Instancegroupmanagers$Abandoninstances, - options?: MethodOptions): AxiosPromise; - abandonInstances( - params: Params$Resource$Instancegroupmanagers$Abandoninstances, - options: MethodOptions|BodyResponseCallback, - callback: BodyResponseCallback): void; - abandonInstances( - params: Params$Resource$Instancegroupmanagers$Abandoninstances, - callback: BodyResponseCallback): void; - abandonInstances(callback: BodyResponseCallback): void; - abandonInstances( - paramsOrCallback?: - Params$Resource$Instancegroupmanagers$Abandoninstances| - BodyResponseCallback, - optionsOrCallback?: MethodOptions| - BodyResponseCallback, - callback?: BodyResponseCallback): - void|AxiosPromise { - let params = (paramsOrCallback || {}) as - Params$Resource$Instancegroupmanagers$Abandoninstances; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Instancegroupmanagers$Abandoninstances; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: - (rootUrl + - '/replicapool/v1beta2/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/abandonInstances') - .replace(/([^:]\/)\/+/g, '$1'), - method: 'POST' - }, - options), - params, - requiredParams: ['project', 'zone', 'instanceGroupManager'], - pathParams: ['instanceGroupManager', 'project', 'zone'], - context: this.getRoot() - }; - if (callback) { - createAPIRequest(parameters, callback); - } else { - return createAPIRequest(parameters); - } - } - - - /** - * replicapool.instanceGroupManagers.delete - * @desc Deletes the instance group manager and all instances contained - * within. If you'd like to delete the manager without deleting the - * instances, you must first abandon the instances to remove them from the - * group. - * @alias replicapool.instanceGroupManagers.delete - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {string} params.instanceGroupManager Name of the Instance Group Manager resource to delete. - * @param {string} params.project The Google Developers Console project name. - * @param {string} params.zone The name of the zone in which the instance group manager resides. - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - delete( - params?: Params$Resource$Instancegroupmanagers$Delete, - options?: MethodOptions): AxiosPromise; - delete( - params: Params$Resource$Instancegroupmanagers$Delete, - options: MethodOptions|BodyResponseCallback, - callback: BodyResponseCallback): void; - delete( - params: Params$Resource$Instancegroupmanagers$Delete, - callback: BodyResponseCallback): void; - delete(callback: BodyResponseCallback): void; - delete( - paramsOrCallback?: Params$Resource$Instancegroupmanagers$Delete| - BodyResponseCallback, - optionsOrCallback?: MethodOptions| - BodyResponseCallback, - callback?: BodyResponseCallback): - void|AxiosPromise { - let params = (paramsOrCallback || {}) as - Params$Resource$Instancegroupmanagers$Delete; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Instancegroupmanagers$Delete; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: - (rootUrl + - '/replicapool/v1beta2/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}') - .replace(/([^:]\/)\/+/g, '$1'), - method: 'DELETE' - }, - options), - params, - requiredParams: ['project', 'zone', 'instanceGroupManager'], - pathParams: ['instanceGroupManager', 'project', 'zone'], - context: this.getRoot() - }; - if (callback) { - createAPIRequest(parameters, callback); - } else { - return createAPIRequest(parameters); - } - } - - - /** - * replicapool.instanceGroupManagers.deleteInstances - * @desc Deletes the specified instances. The instances are deleted, then - * removed from the instance group and any target pools of which they were a - * member. The targetSize of the instance group manager is reduced by the - * number of instances deleted. - * @alias replicapool.instanceGroupManagers.deleteInstances - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {string} params.instanceGroupManager The name of the instance group manager. - * @param {string} params.project The Google Developers Console project name. - * @param {string} params.zone The name of the zone in which the instance group manager resides. - * @param {().InstanceGroupManagersDeleteInstancesRequest} params.resource Request body data - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - deleteInstances( - params?: Params$Resource$Instancegroupmanagers$Deleteinstances, - options?: MethodOptions): AxiosPromise; - deleteInstances( - params: Params$Resource$Instancegroupmanagers$Deleteinstances, - options: MethodOptions|BodyResponseCallback, - callback: BodyResponseCallback): void; - deleteInstances( - params: Params$Resource$Instancegroupmanagers$Deleteinstances, - callback: BodyResponseCallback): void; - deleteInstances(callback: BodyResponseCallback): void; - deleteInstances( - paramsOrCallback?: - Params$Resource$Instancegroupmanagers$Deleteinstances| - BodyResponseCallback, - optionsOrCallback?: MethodOptions| - BodyResponseCallback, - callback?: BodyResponseCallback): - void|AxiosPromise { - let params = (paramsOrCallback || {}) as - Params$Resource$Instancegroupmanagers$Deleteinstances; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Instancegroupmanagers$Deleteinstances; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: - (rootUrl + - '/replicapool/v1beta2/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/deleteInstances') - .replace(/([^:]\/)\/+/g, '$1'), - method: 'POST' - }, - options), - params, - requiredParams: ['project', 'zone', 'instanceGroupManager'], - pathParams: ['instanceGroupManager', 'project', 'zone'], - context: this.getRoot() - }; - if (callback) { - createAPIRequest(parameters, callback); - } else { - return createAPIRequest(parameters); - } - } - - - /** - * replicapool.instanceGroupManagers.get - * @desc Returns the specified Instance Group Manager resource. - * @alias replicapool.instanceGroupManagers.get - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {string} params.instanceGroupManager Name of the instance resource to return. - * @param {string} params.project The Google Developers Console project name. - * @param {string} params.zone The name of the zone in which the instance group manager resides. - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - get(params?: Params$Resource$Instancegroupmanagers$Get, - options?: MethodOptions): AxiosPromise; - get(params: Params$Resource$Instancegroupmanagers$Get, - options: MethodOptions| - BodyResponseCallback, - callback: BodyResponseCallback): void; - get(params: Params$Resource$Instancegroupmanagers$Get, - callback: BodyResponseCallback): void; - get(callback: BodyResponseCallback): void; - get(paramsOrCallback?: Params$Resource$Instancegroupmanagers$Get| - BodyResponseCallback, - optionsOrCallback?: MethodOptions| - BodyResponseCallback, - callback?: BodyResponseCallback): - void|AxiosPromise { - let params = - (paramsOrCallback || {}) as Params$Resource$Instancegroupmanagers$Get; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Instancegroupmanagers$Get; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: - (rootUrl + - '/replicapool/v1beta2/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}') - .replace(/([^:]\/)\/+/g, '$1'), - method: 'GET' - }, - options), - params, - requiredParams: ['project', 'zone', 'instanceGroupManager'], - pathParams: ['instanceGroupManager', 'project', 'zone'], - context: this.getRoot() - }; - if (callback) { - createAPIRequest(parameters, callback); - } else { - return createAPIRequest(parameters); - } - } - - - /** - * replicapool.instanceGroupManagers.insert - * @desc Creates an instance group manager, as well as the instance group - * and the specified number of instances. - * @alias replicapool.instanceGroupManagers.insert - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {string} params.project The Google Developers Console project name. - * @param {integer} params.size Number of instances that should exist. - * @param {string} params.zone The name of the zone in which the instance group manager resides. - * @param {().InstanceGroupManager} params.resource Request body data - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - insert( - params?: Params$Resource$Instancegroupmanagers$Insert, - options?: MethodOptions): AxiosPromise; - insert( - params: Params$Resource$Instancegroupmanagers$Insert, - options: MethodOptions|BodyResponseCallback, - callback: BodyResponseCallback): void; - insert( - params: Params$Resource$Instancegroupmanagers$Insert, - callback: BodyResponseCallback): void; - insert(callback: BodyResponseCallback): void; - insert( - paramsOrCallback?: Params$Resource$Instancegroupmanagers$Insert| - BodyResponseCallback, - optionsOrCallback?: MethodOptions| - BodyResponseCallback, - callback?: BodyResponseCallback): - void|AxiosPromise { - let params = (paramsOrCallback || {}) as - Params$Resource$Instancegroupmanagers$Insert; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Instancegroupmanagers$Insert; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: - (rootUrl + - '/replicapool/v1beta2/projects/{project}/zones/{zone}/instanceGroupManagers') - .replace(/([^:]\/)\/+/g, '$1'), - method: 'POST' - }, - options), - params, - requiredParams: ['project', 'zone', 'size'], - pathParams: ['project', 'zone'], - context: this.getRoot() - }; - if (callback) { - createAPIRequest(parameters, callback); - } else { - return createAPIRequest(parameters); - } - } - - - /** - * replicapool.instanceGroupManagers.list - * @desc Retrieves the list of Instance Group Manager resources contained - * within the specified zone. - * @alias replicapool.instanceGroupManagers.list - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {string=} params.filter Optional. Filter expression for filtering listed resources. - * @param {integer=} params.maxResults Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 500. - * @param {string=} params.pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. - * @param {string} params.project The Google Developers Console project name. - * @param {string} params.zone The name of the zone in which the instance group manager resides. - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - list( - params?: Params$Resource$Instancegroupmanagers$List, - options?: MethodOptions): AxiosPromise; - list( - params: Params$Resource$Instancegroupmanagers$List, - options: MethodOptions| - BodyResponseCallback, - callback: BodyResponseCallback): void; - list( - params: Params$Resource$Instancegroupmanagers$List, - callback: BodyResponseCallback): void; - list(callback: BodyResponseCallback): void; - list( - paramsOrCallback?: Params$Resource$Instancegroupmanagers$List| - BodyResponseCallback, - optionsOrCallback?: MethodOptions| - BodyResponseCallback, - callback?: BodyResponseCallback): - void|AxiosPromise { - let params = (paramsOrCallback || {}) as - Params$Resource$Instancegroupmanagers$List; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Instancegroupmanagers$List; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: - (rootUrl + - '/replicapool/v1beta2/projects/{project}/zones/{zone}/instanceGroupManagers') - .replace(/([^:]\/)\/+/g, '$1'), - method: 'GET' - }, - options), - params, - requiredParams: ['project', 'zone'], - pathParams: ['project', 'zone'], - context: this.getRoot() - }; - if (callback) { - createAPIRequest(parameters, callback); - } else { - return createAPIRequest(parameters); - } - } - - - /** - * replicapool.instanceGroupManagers.recreateInstances - * @desc Recreates the specified instances. The instances are deleted, then - * recreated using the instance group manager's current instance template. - * @alias replicapool.instanceGroupManagers.recreateInstances - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {string} params.instanceGroupManager The name of the instance group manager. - * @param {string} params.project The Google Developers Console project name. - * @param {string} params.zone The name of the zone in which the instance group manager resides. - * @param {().InstanceGroupManagersRecreateInstancesRequest} params.resource Request body data - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - recreateInstances( - params?: Params$Resource$Instancegroupmanagers$Recreateinstances, - options?: MethodOptions): AxiosPromise; - recreateInstances( - params: Params$Resource$Instancegroupmanagers$Recreateinstances, - options: MethodOptions|BodyResponseCallback, - callback: BodyResponseCallback): void; - recreateInstances( - params: Params$Resource$Instancegroupmanagers$Recreateinstances, - callback: BodyResponseCallback): void; - recreateInstances(callback: BodyResponseCallback): void; - recreateInstances( - paramsOrCallback?: - Params$Resource$Instancegroupmanagers$Recreateinstances| - BodyResponseCallback, - optionsOrCallback?: MethodOptions| - BodyResponseCallback, - callback?: BodyResponseCallback): - void|AxiosPromise { - let params = (paramsOrCallback || {}) as - Params$Resource$Instancegroupmanagers$Recreateinstances; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Instancegroupmanagers$Recreateinstances; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: - (rootUrl + - '/replicapool/v1beta2/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/recreateInstances') - .replace(/([^:]\/)\/+/g, '$1'), - method: 'POST' - }, - options), - params, - requiredParams: ['project', 'zone', 'instanceGroupManager'], - pathParams: ['instanceGroupManager', 'project', 'zone'], - context: this.getRoot() - }; - if (callback) { - createAPIRequest(parameters, callback); - } else { - return createAPIRequest(parameters); - } - } - - - /** - * replicapool.instanceGroupManagers.resize - * @desc Resizes the managed instance group up or down. If resized up, new - * instances are created using the current instance template. If resized - * down, instances are removed in the order outlined in Resizing a managed - * instance group. - * @alias replicapool.instanceGroupManagers.resize - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {string} params.instanceGroupManager The name of the instance group manager. - * @param {string} params.project The Google Developers Console project name. - * @param {integer} params.size Number of instances that should exist in this Instance Group Manager. - * @param {string} params.zone The name of the zone in which the instance group manager resides. - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - resize( - params?: Params$Resource$Instancegroupmanagers$Resize, - options?: MethodOptions): AxiosPromise; - resize( - params: Params$Resource$Instancegroupmanagers$Resize, - options: MethodOptions|BodyResponseCallback, - callback: BodyResponseCallback): void; - resize( - params: Params$Resource$Instancegroupmanagers$Resize, - callback: BodyResponseCallback): void; - resize(callback: BodyResponseCallback): void; - resize( - paramsOrCallback?: Params$Resource$Instancegroupmanagers$Resize| - BodyResponseCallback, - optionsOrCallback?: MethodOptions| - BodyResponseCallback, - callback?: BodyResponseCallback): - void|AxiosPromise { - let params = (paramsOrCallback || {}) as - Params$Resource$Instancegroupmanagers$Resize; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Instancegroupmanagers$Resize; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: - (rootUrl + - '/replicapool/v1beta2/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resize') - .replace(/([^:]\/)\/+/g, '$1'), - method: 'POST' - }, - options), - params, - requiredParams: ['project', 'zone', 'instanceGroupManager', 'size'], - pathParams: ['instanceGroupManager', 'project', 'zone'], - context: this.getRoot() - }; - if (callback) { - createAPIRequest(parameters, callback); - } else { - return createAPIRequest(parameters); - } - } - - - /** - * replicapool.instanceGroupManagers.setInstanceTemplate - * @desc Sets the instance template to use when creating new instances in - * this group. Existing instances are not affected. - * @alias replicapool.instanceGroupManagers.setInstanceTemplate - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {string} params.instanceGroupManager The name of the instance group manager. - * @param {string} params.project The Google Developers Console project name. - * @param {string} params.zone The name of the zone in which the instance group manager resides. - * @param {().InstanceGroupManagersSetInstanceTemplateRequest} params.resource Request body data - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - setInstanceTemplate( - params?: Params$Resource$Instancegroupmanagers$Setinstancetemplate, - options?: MethodOptions): AxiosPromise; - setInstanceTemplate( - params: Params$Resource$Instancegroupmanagers$Setinstancetemplate, - options: MethodOptions|BodyResponseCallback, - callback: BodyResponseCallback): void; - setInstanceTemplate( - params: Params$Resource$Instancegroupmanagers$Setinstancetemplate, - callback: BodyResponseCallback): void; - setInstanceTemplate(callback: BodyResponseCallback): void; - setInstanceTemplate( - paramsOrCallback?: - Params$Resource$Instancegroupmanagers$Setinstancetemplate| - BodyResponseCallback, - optionsOrCallback?: MethodOptions| - BodyResponseCallback, - callback?: BodyResponseCallback): - void|AxiosPromise { - let params = (paramsOrCallback || {}) as - Params$Resource$Instancegroupmanagers$Setinstancetemplate; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as - Params$Resource$Instancegroupmanagers$Setinstancetemplate; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: - (rootUrl + - '/replicapool/v1beta2/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setInstanceTemplate') - .replace(/([^:]\/)\/+/g, '$1'), - method: 'POST' - }, - options), - params, - requiredParams: ['project', 'zone', 'instanceGroupManager'], - pathParams: ['instanceGroupManager', 'project', 'zone'], - context: this.getRoot() - }; - if (callback) { - createAPIRequest(parameters, callback); - } else { - return createAPIRequest(parameters); - } - } - - - /** - * replicapool.instanceGroupManagers.setTargetPools - * @desc Modifies the target pools to which all new instances in this group - * are assigned. Existing instances in the group are not affected. - * @alias replicapool.instanceGroupManagers.setTargetPools - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {string} params.instanceGroupManager The name of the instance group manager. - * @param {string} params.project The Google Developers Console project name. - * @param {string} params.zone The name of the zone in which the instance group manager resides. - * @param {().InstanceGroupManagersSetTargetPoolsRequest} params.resource Request body data - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - setTargetPools( - params?: Params$Resource$Instancegroupmanagers$Settargetpools, - options?: MethodOptions): AxiosPromise; - setTargetPools( - params: Params$Resource$Instancegroupmanagers$Settargetpools, - options: MethodOptions|BodyResponseCallback, - callback: BodyResponseCallback): void; - setTargetPools( - params: Params$Resource$Instancegroupmanagers$Settargetpools, - callback: BodyResponseCallback): void; - setTargetPools(callback: BodyResponseCallback): void; - setTargetPools( - paramsOrCallback?: Params$Resource$Instancegroupmanagers$Settargetpools| - BodyResponseCallback, - optionsOrCallback?: MethodOptions| - BodyResponseCallback, - callback?: BodyResponseCallback): - void|AxiosPromise { - let params = (paramsOrCallback || {}) as - Params$Resource$Instancegroupmanagers$Settargetpools; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Instancegroupmanagers$Settargetpools; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: - (rootUrl + - '/replicapool/v1beta2/projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/setTargetPools') - .replace(/([^:]\/)\/+/g, '$1'), - method: 'POST' - }, - options), - params, - requiredParams: ['project', 'zone', 'instanceGroupManager'], - pathParams: ['instanceGroupManager', 'project', 'zone'], - context: this.getRoot() - }; - if (callback) { - createAPIRequest(parameters, callback); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Instancegroupmanagers$Abandoninstances { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - /** - * The name of the instance group manager. - */ - instanceGroupManager?: string; - /** - * The Google Developers Console project name. - */ - project?: string; - /** - * The name of the zone in which the instance group manager resides. - */ - zone?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$InstanceGroupManagersAbandonInstancesRequest; - } - export interface Params$Resource$Instancegroupmanagers$Delete { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - /** - * Name of the Instance Group Manager resource to delete. - */ - instanceGroupManager?: string; - /** - * The Google Developers Console project name. - */ - project?: string; - /** - * The name of the zone in which the instance group manager resides. - */ - zone?: string; - } - export interface Params$Resource$Instancegroupmanagers$Deleteinstances { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - /** - * The name of the instance group manager. - */ - instanceGroupManager?: string; - /** - * The Google Developers Console project name. - */ - project?: string; - /** - * The name of the zone in which the instance group manager resides. - */ - zone?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$InstanceGroupManagersDeleteInstancesRequest; - } - export interface Params$Resource$Instancegroupmanagers$Get { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - /** - * Name of the instance resource to return. - */ - instanceGroupManager?: string; - /** - * The Google Developers Console project name. - */ - project?: string; - /** - * The name of the zone in which the instance group manager resides. - */ - zone?: string; - } - export interface Params$Resource$Instancegroupmanagers$Insert { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - /** - * The Google Developers Console project name. - */ - project?: string; - /** - * Number of instances that should exist. - */ - size?: number; - /** - * The name of the zone in which the instance group manager resides. - */ - zone?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$InstanceGroupManager; - } - export interface Params$Resource$Instancegroupmanagers$List { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - /** - * Optional. Filter expression for filtering listed resources. - */ - filter?: string; - /** - * Optional. Maximum count of results to be returned. Maximum value is 500 - * and default value is 500. - */ - maxResults?: number; - /** - * Optional. Tag returned by a previous list request truncated by - * maxResults. Used to continue a previous list request. - */ - pageToken?: string; - /** - * The Google Developers Console project name. - */ - project?: string; - /** - * The name of the zone in which the instance group manager resides. - */ - zone?: string; - } - export interface Params$Resource$Instancegroupmanagers$Recreateinstances { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - /** - * The name of the instance group manager. - */ - instanceGroupManager?: string; - /** - * The Google Developers Console project name. - */ - project?: string; - /** - * The name of the zone in which the instance group manager resides. - */ - zone?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$InstanceGroupManagersRecreateInstancesRequest; - } - export interface Params$Resource$Instancegroupmanagers$Resize { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - /** - * The name of the instance group manager. - */ - instanceGroupManager?: string; - /** - * The Google Developers Console project name. - */ - project?: string; - /** - * Number of instances that should exist in this Instance Group Manager. - */ - size?: number; - /** - * The name of the zone in which the instance group manager resides. - */ - zone?: string; - } - export interface Params$Resource$Instancegroupmanagers$Setinstancetemplate { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - /** - * The name of the instance group manager. - */ - instanceGroupManager?: string; - /** - * The Google Developers Console project name. - */ - project?: string; - /** - * The name of the zone in which the instance group manager resides. - */ - zone?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$InstanceGroupManagersSetInstanceTemplateRequest; - } - export interface Params$Resource$Instancegroupmanagers$Settargetpools { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - /** - * The name of the instance group manager. - */ - instanceGroupManager?: string; - /** - * The Google Developers Console project name. - */ - project?: string; - /** - * The name of the zone in which the instance group manager resides. - */ - zone?: string; - - /** - * Request body metadata - */ - requestBody?: Schema$InstanceGroupManagersSetTargetPoolsRequest; - } - - - export class Resource$Zoneoperations { - root: Replicapool; - constructor(root: Replicapool) { - this.root = root; - this.getRoot.bind(this); - } - - getRoot() { - return this.root; - } - - - /** - * replicapool.zoneOperations.get - * @desc Retrieves the specified zone-specific operation resource. - * @alias replicapool.zoneOperations.get - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {string} params.operation Name of the operation resource to return. - * @param {string} params.project Name of the project scoping this request. - * @param {string} params.zone Name of the zone scoping this request. - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - get(params?: Params$Resource$Zoneoperations$Get, - options?: MethodOptions): AxiosPromise; - get(params: Params$Resource$Zoneoperations$Get, - options: MethodOptions|BodyResponseCallback, - callback: BodyResponseCallback): void; - get(params: Params$Resource$Zoneoperations$Get, - callback: BodyResponseCallback): void; - get(callback: BodyResponseCallback): void; - get(paramsOrCallback?: Params$Resource$Zoneoperations$Get| - BodyResponseCallback, - optionsOrCallback?: MethodOptions| - BodyResponseCallback, - callback?: BodyResponseCallback): - void|AxiosPromise { - let params = - (paramsOrCallback || {}) as Params$Resource$Zoneoperations$Get; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Zoneoperations$Get; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: - (rootUrl + - '/replicapool/v1beta2/projects/{project}/zones/{zone}/operations/{operation}') - .replace(/([^:]\/)\/+/g, '$1'), - method: 'GET' - }, - options), - params, - requiredParams: ['project', 'zone', 'operation'], - pathParams: ['operation', 'project', 'zone'], - context: this.getRoot() - }; - if (callback) { - createAPIRequest(parameters, callback); - } else { - return createAPIRequest(parameters); - } - } - - - /** - * replicapool.zoneOperations.list - * @desc Retrieves the list of operation resources contained within the - * specified zone. - * @alias replicapool.zoneOperations.list - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {string=} params.filter Optional. Filter expression for filtering listed resources. - * @param {integer=} params.maxResults Optional. Maximum count of results to be returned. Maximum value is 500 and default value is 500. - * @param {string=} params.pageToken Optional. Tag returned by a previous list request truncated by maxResults. Used to continue a previous list request. - * @param {string} params.project Name of the project scoping this request. - * @param {string} params.zone Name of the zone scoping this request. - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - list(params?: Params$Resource$Zoneoperations$List, options?: MethodOptions): - AxiosPromise; - list( - params: Params$Resource$Zoneoperations$List, - options: MethodOptions|BodyResponseCallback, - callback: BodyResponseCallback): void; - list( - params: Params$Resource$Zoneoperations$List, - callback: BodyResponseCallback): void; - list(callback: BodyResponseCallback): void; - list( - paramsOrCallback?: Params$Resource$Zoneoperations$List| - BodyResponseCallback, - optionsOrCallback?: MethodOptions| - BodyResponseCallback, - callback?: BodyResponseCallback): - void|AxiosPromise { - let params = - (paramsOrCallback || {}) as Params$Resource$Zoneoperations$List; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Zoneoperations$List; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = options.rootUrl || 'https://www.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: - (rootUrl + - '/replicapool/v1beta2/projects/{project}/zones/{zone}/operations') - .replace(/([^:]\/)\/+/g, '$1'), - method: 'GET' - }, - options), - params, - requiredParams: ['project', 'zone'], - pathParams: ['project', 'zone'], - context: this.getRoot() - }; - if (callback) { - createAPIRequest(parameters, callback); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Zoneoperations$Get { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - /** - * Name of the operation resource to return. - */ - operation?: string; - /** - * Name of the project scoping this request. - */ - project?: string; - /** - * Name of the zone scoping this request. - */ - zone?: string; - } - export interface Params$Resource$Zoneoperations$List { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - /** - * Optional. Filter expression for filtering listed resources. - */ - filter?: string; - /** - * Optional. Maximum count of results to be returned. Maximum value is 500 - * and default value is 500. - */ - maxResults?: number; - /** - * Optional. Tag returned by a previous list request truncated by - * maxResults. Used to continue a previous list request. - */ - pageToken?: string; - /** - * Name of the project scoping this request. - */ - project?: string; - /** - * Name of the zone scoping this request. - */ - zone?: string; - } -} diff --git a/src/apis/replicapoolupdater/README.md b/src/apis/replicapoolupdater/README.md new file mode 100644 index 00000000000..6aac1b78a27 --- /dev/null +++ b/src/apis/replicapoolupdater/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/replicapoolupdater + +> [Deprecated. Please use compute.instanceGroupManagers.update method. replicapoolupdater API will be disabled after December 30th, 2016] Updates groups of Compute Engine instances. + +## Installation + +```sh +$ npm install @google/replicapoolupdater +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/replicapoolupdater/package.json b/src/apis/replicapoolupdater/package.json new file mode 100644 index 00000000000..02fedd8a0ec --- /dev/null +++ b/src/apis/replicapoolupdater/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/replicapoolupdater", + "version": "0.1.0", + "description": "replicapoolupdater", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/reseller/README.md b/src/apis/reseller/README.md new file mode 100644 index 00000000000..3d55fab0289 --- /dev/null +++ b/src/apis/reseller/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/reseller + +> Creates and manages your customers and their subscriptions. + +## Installation + +```sh +$ npm install @google/reseller +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/reseller/package.json b/src/apis/reseller/package.json new file mode 100644 index 00000000000..009a3a65d11 --- /dev/null +++ b/src/apis/reseller/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/reseller", + "version": "0.1.0", + "description": "reseller", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/runtimeconfig/README.md b/src/apis/runtimeconfig/README.md new file mode 100644 index 00000000000..c56af5a398c --- /dev/null +++ b/src/apis/runtimeconfig/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/runtimeconfig + +> The Runtime Configurator allows you to dynamically configure and expose variables through Google Cloud Platform. In addition, you can also set Watchers and Waiters that will watch for changes to your data and return based on certain conditions. + +## Installation + +```sh +$ npm install @google/runtimeconfig +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/runtimeconfig/package.json b/src/apis/runtimeconfig/package.json new file mode 100644 index 00000000000..b599da278a0 --- /dev/null +++ b/src/apis/runtimeconfig/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/runtimeconfig", + "version": "0.1.0", + "description": "runtimeconfig", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/safebrowsing/README.md b/src/apis/safebrowsing/README.md new file mode 100644 index 00000000000..c26ed0eb311 --- /dev/null +++ b/src/apis/safebrowsing/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/safebrowsing + +> Enables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. + +## Installation + +```sh +$ npm install @google/safebrowsing +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/safebrowsing/package.json b/src/apis/safebrowsing/package.json new file mode 100644 index 00000000000..885cc76ca20 --- /dev/null +++ b/src/apis/safebrowsing/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/safebrowsing", + "version": "0.1.0", + "description": "safebrowsing", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/script/README.md b/src/apis/script/README.md new file mode 100644 index 00000000000..d8c5aef6cbf --- /dev/null +++ b/src/apis/script/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/script + +> An API for managing and executing Google Apps Script projects. Note: In order to use this API in your apps, you must enable it for use. To allow other apps to manage your scripts, you must grant them access. + +## Installation + +```sh +$ npm install @google/script +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/script/package.json b/src/apis/script/package.json new file mode 100644 index 00000000000..60ff84c53d7 --- /dev/null +++ b/src/apis/script/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/script", + "version": "0.1.0", + "description": "script", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/searchconsole/README.md b/src/apis/searchconsole/README.md new file mode 100644 index 00000000000..5131f09e83c --- /dev/null +++ b/src/apis/searchconsole/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/searchconsole + +> Provides tools for running validation tests against single URLs + +## Installation + +```sh +$ npm install @google/searchconsole +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/searchconsole/package.json b/src/apis/searchconsole/package.json new file mode 100644 index 00000000000..2f9a877d9e7 --- /dev/null +++ b/src/apis/searchconsole/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/searchconsole", + "version": "0.1.0", + "description": "searchconsole", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/servicebroker/README.md b/src/apis/servicebroker/README.md new file mode 100644 index 00000000000..aee58e76492 --- /dev/null +++ b/src/apis/servicebroker/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/servicebroker + +> The Google Cloud Platform Service Broker API provides Google hosted implementation of the Open Service Broker API (https://www.openservicebrokerapi.org/). + +## Installation + +```sh +$ npm install @google/servicebroker +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/servicebroker/package.json b/src/apis/servicebroker/package.json new file mode 100644 index 00000000000..02cddca22e5 --- /dev/null +++ b/src/apis/servicebroker/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/servicebroker", + "version": "0.1.0", + "description": "servicebroker", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/serviceconsumermanagement/README.md b/src/apis/serviceconsumermanagement/README.md new file mode 100644 index 00000000000..27096c2490d --- /dev/null +++ b/src/apis/serviceconsumermanagement/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/serviceconsumermanagement + +> Provides management methods for configuring service producer resources on Google Cloud. + +## Installation + +```sh +$ npm install @google/serviceconsumermanagement +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/serviceconsumermanagement/package.json b/src/apis/serviceconsumermanagement/package.json new file mode 100644 index 00000000000..5accc01eaa9 --- /dev/null +++ b/src/apis/serviceconsumermanagement/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/serviceconsumermanagement", + "version": "0.1.0", + "description": "serviceconsumermanagement", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/servicecontrol/README.md b/src/apis/servicecontrol/README.md new file mode 100644 index 00000000000..50da02af6fc --- /dev/null +++ b/src/apis/servicecontrol/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/servicecontrol + +> Google Service Control provides control plane functionality to managed services, such as logging, monitoring, and status checks. + +## Installation + +```sh +$ npm install @google/servicecontrol +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/servicecontrol/package.json b/src/apis/servicecontrol/package.json new file mode 100644 index 00000000000..a7a5d9b6125 --- /dev/null +++ b/src/apis/servicecontrol/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/servicecontrol", + "version": "0.1.0", + "description": "servicecontrol", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/servicecontrol/v1.ts b/src/apis/servicecontrol/v1.ts index 02447d8b738..8e7f02daed9 100644 --- a/src/apis/servicecontrol/v1.ts +++ b/src/apis/servicecontrol/v1.ts @@ -166,6 +166,10 @@ export namespace servicecontrol_v1 { * Metadata about the operation. */ requestMetadata?: Schema$RequestMetadata; + /** + * The resource location information. + */ + resourceLocation?: Schema$ResourceLocation; /** * The resource or collection that is the target of the operation. The name * is a scheme-less URI, not including the API service name. For example: @@ -1026,6 +1030,17 @@ export namespace servicecontrol_v1 { */ resourceName?: string; } + /** + * Location information about a resource. + */ + export interface Schema$ResourceLocation { + /** + * The locations of a resource after the execution of the operation. For + * example: "europe-west1-a" "us-east1" + * "nam3" + */ + currentLocations?: string[]; + } /** * Request message for QuotaController.StartReconciliation. */ diff --git a/src/apis/servicemanagement/README.md b/src/apis/servicemanagement/README.md new file mode 100644 index 00000000000..efdcf1de701 --- /dev/null +++ b/src/apis/servicemanagement/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/servicemanagement + +> Google Service Management allows service producers to publish their services on Google Cloud Platform so that they can be discovered and used by service consumers. + +## Installation + +```sh +$ npm install @google/servicemanagement +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/servicemanagement/package.json b/src/apis/servicemanagement/package.json new file mode 100644 index 00000000000..6e2f51a4320 --- /dev/null +++ b/src/apis/servicemanagement/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/servicemanagement", + "version": "0.1.0", + "description": "servicemanagement", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/serviceusage/README.md b/src/apis/serviceusage/README.md new file mode 100644 index 00000000000..35ded33272d --- /dev/null +++ b/src/apis/serviceusage/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/serviceusage + +> Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use. + +## Installation + +```sh +$ npm install @google/serviceusage +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/serviceusage/package.json b/src/apis/serviceusage/package.json new file mode 100644 index 00000000000..0eb607fef63 --- /dev/null +++ b/src/apis/serviceusage/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/serviceusage", + "version": "0.1.0", + "description": "serviceusage", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/serviceusage/v1beta1.ts b/src/apis/serviceusage/v1beta1.ts index 3547183aee7..99702ab4d96 100644 --- a/src/apis/serviceusage/v1beta1.ts +++ b/src/apis/serviceusage/v1beta1.ts @@ -612,6 +612,14 @@ export namespace serviceusage_v1beta1 { */ selector?: string; } + /** + * 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 `{}`. + */ + export interface Schema$Empty {} export interface Schema$EnableFailure { /** * An error message describing why the service could not be enabled. diff --git a/src/apis/serviceuser/README.md b/src/apis/serviceuser/README.md new file mode 100644 index 00000000000..27914985889 --- /dev/null +++ b/src/apis/serviceuser/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/serviceuser + +> Enables services that service consumers want to use on Google Cloud Platform, lists the available or enabled services, or disables services that service consumers no longer use. + +## Installation + +```sh +$ npm install @google/serviceuser +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/serviceuser/package.json b/src/apis/serviceuser/package.json new file mode 100644 index 00000000000..91050ca1728 --- /dev/null +++ b/src/apis/serviceuser/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/serviceuser", + "version": "0.1.0", + "description": "serviceuser", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/sheets/README.md b/src/apis/sheets/README.md new file mode 100644 index 00000000000..26a4457a25f --- /dev/null +++ b/src/apis/sheets/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/sheets + +> Reads and writes Google Sheets. + +## Installation + +```sh +$ npm install @google/sheets +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/sheets/package.json b/src/apis/sheets/package.json new file mode 100644 index 00000000000..0e2255b53cd --- /dev/null +++ b/src/apis/sheets/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/sheets", + "version": "0.1.0", + "description": "sheets", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/siteVerification/README.md b/src/apis/siteVerification/README.md new file mode 100644 index 00000000000..c56684e352b --- /dev/null +++ b/src/apis/siteVerification/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/siteVerification + +> Verifies ownership of websites or domains with Google. + +## Installation + +```sh +$ npm install @google/siteVerification +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/siteVerification/package.json b/src/apis/siteVerification/package.json new file mode 100644 index 00000000000..4259bcab15e --- /dev/null +++ b/src/apis/siteVerification/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/siteVerification", + "version": "0.1.0", + "description": "siteVerification", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/slides/README.md b/src/apis/slides/README.md new file mode 100644 index 00000000000..70a20df6c94 --- /dev/null +++ b/src/apis/slides/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/slides + +> An API for creating and editing Google Slides presentations. + +## Installation + +```sh +$ npm install @google/slides +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/slides/package.json b/src/apis/slides/package.json new file mode 100644 index 00000000000..d10461b53f2 --- /dev/null +++ b/src/apis/slides/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/slides", + "version": "0.1.0", + "description": "slides", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/slides/v1.ts b/src/apis/slides/v1.ts index 4c032a4be4f..7c4aff5ca65 100644 --- a/src/apis/slides/v1.ts +++ b/src/apis/slides/v1.ts @@ -473,7 +473,9 @@ export namespace slides_v1 { objectId?: string; } /** - * Creates a video. + * Creates a video. NOTE: Drive video creation requires that the requesting + * app have at least one of the drive, drive.readonly, or drive.file OAuth + * scopes. */ export interface Schema$CreateVideoRequest { /** @@ -488,7 +490,9 @@ export namespace slides_v1 { /** * The video source's unique identifier for this video. e.g. For * YouTube video https://www.youtube.com/watch?v=7U3axjORYZ0, the ID is - * 7U3axjORYZ0. + * 7U3axjORYZ0. For Drive video + * https://drive.google.com/file/d/1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q the ID + * is 1xCgQLFTJi5_Xl8DgW_lcUYq5e-q6Hi5Q. */ id?: string; /** diff --git a/src/apis/sourcerepo/README.md b/src/apis/sourcerepo/README.md new file mode 100644 index 00000000000..0b212980069 --- /dev/null +++ b/src/apis/sourcerepo/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/sourcerepo + +> Access source code repositories hosted by Google. + +## Installation + +```sh +$ npm install @google/sourcerepo +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/sourcerepo/package.json b/src/apis/sourcerepo/package.json new file mode 100644 index 00000000000..bf6d4576f8a --- /dev/null +++ b/src/apis/sourcerepo/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/sourcerepo", + "version": "0.1.0", + "description": "sourcerepo", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/spanner/README.md b/src/apis/spanner/README.md new file mode 100644 index 00000000000..0a59a5492ce --- /dev/null +++ b/src/apis/spanner/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/spanner + +> Cloud Spanner is a managed, mission-critical, globally consistent and scalable relational database service. + +## Installation + +```sh +$ npm install @google/spanner +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/spanner/package.json b/src/apis/spanner/package.json new file mode 100644 index 00000000000..3b93e67a9b0 --- /dev/null +++ b/src/apis/spanner/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/spanner", + "version": "0.1.0", + "description": "spanner", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/spectrum/README.md b/src/apis/spectrum/README.md new file mode 100644 index 00000000000..1bd6eb65999 --- /dev/null +++ b/src/apis/spectrum/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/spectrum + +> API for spectrum-management functions. + +## Installation + +```sh +$ npm install @google/spectrum +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/spectrum/package.json b/src/apis/spectrum/package.json new file mode 100644 index 00000000000..f11848ef2e1 --- /dev/null +++ b/src/apis/spectrum/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/spectrum", + "version": "0.1.0", + "description": "spectrum", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/speech/README.md b/src/apis/speech/README.md new file mode 100644 index 00000000000..92da926878a --- /dev/null +++ b/src/apis/speech/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/speech + +> Converts audio to text by applying powerful neural network models. + +## Installation + +```sh +$ npm install @google/speech +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/speech/package.json b/src/apis/speech/package.json new file mode 100644 index 00000000000..6b6c842cf8f --- /dev/null +++ b/src/apis/speech/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/speech", + "version": "0.1.0", + "description": "speech", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/speech/v1.ts b/src/apis/speech/v1.ts index ddc269eab58..4ca41607fea 100644 --- a/src/apis/speech/v1.ts +++ b/src/apis/speech/v1.ts @@ -231,6 +231,13 @@ export namespace speech_v1 { * and phrases in the results. */ export interface Schema$SpeechContext { + /** + * Strength of biasing to use (strong, medium or weak). If you use strong + * biasing option then more likely to see those phrases in the results. If + * biasing streangth is not specified then by default medium biasing would + * be used. + */ + biasingStrength?: string; /** * *Optional* A list of strings containing words and phrases * "hints" so that the speech recognition is more likely to diff --git a/src/apis/sqladmin/README.md b/src/apis/sqladmin/README.md new file mode 100644 index 00000000000..a453748ac57 --- /dev/null +++ b/src/apis/sqladmin/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/sqladmin + +> Creates and configures Cloud SQL instances, which provide fully-managed MySQL databases. + +## Installation + +```sh +$ npm install @google/sqladmin +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/sqladmin/package.json b/src/apis/sqladmin/package.json new file mode 100644 index 00000000000..1a6caae1312 --- /dev/null +++ b/src/apis/sqladmin/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/sqladmin", + "version": "0.1.0", + "description": "sqladmin", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/storage/README.md b/src/apis/storage/README.md new file mode 100644 index 00000000000..20b977532c4 --- /dev/null +++ b/src/apis/storage/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/storage + +> Stores and retrieves potentially large, immutable data objects. + +## Installation + +```sh +$ npm install @google/storage +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/storage/package.json b/src/apis/storage/package.json new file mode 100644 index 00000000000..70de21591e9 --- /dev/null +++ b/src/apis/storage/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/storage", + "version": "0.1.0", + "description": "storage", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/storagetransfer/README.md b/src/apis/storagetransfer/README.md new file mode 100644 index 00000000000..45dec52c160 --- /dev/null +++ b/src/apis/storagetransfer/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/storagetransfer + +> Transfers data from external data sources to a Google Cloud Storage bucket or between Google Cloud Storage buckets. + +## Installation + +```sh +$ npm install @google/storagetransfer +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/storagetransfer/package.json b/src/apis/storagetransfer/package.json new file mode 100644 index 00000000000..1eeaeefd78e --- /dev/null +++ b/src/apis/storagetransfer/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/storagetransfer", + "version": "0.1.0", + "description": "storagetransfer", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/streetviewpublish/README.md b/src/apis/streetviewpublish/README.md new file mode 100644 index 00000000000..cbab5ed9f8d --- /dev/null +++ b/src/apis/streetviewpublish/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/streetviewpublish + +> Publishes 360 photos to Google Maps, along with position, orientation, and connectivity metadata. Apps can offer an interface for positioning, connecting, and uploading user-generated Street View images. + +## Installation + +```sh +$ npm install @google/streetviewpublish +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/streetviewpublish/package.json b/src/apis/streetviewpublish/package.json new file mode 100644 index 00000000000..4bbde100f6f --- /dev/null +++ b/src/apis/streetviewpublish/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/streetviewpublish", + "version": "0.1.0", + "description": "streetviewpublish", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/surveys/README.md b/src/apis/surveys/README.md new file mode 100644 index 00000000000..818820f31ee --- /dev/null +++ b/src/apis/surveys/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/surveys + +> Creates and conducts surveys, lists the surveys that an authenticated user owns, and retrieves survey results and information about specified surveys. + +## Installation + +```sh +$ npm install @google/surveys +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/surveys/package.json b/src/apis/surveys/package.json new file mode 100644 index 00000000000..646fe1530c4 --- /dev/null +++ b/src/apis/surveys/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/surveys", + "version": "0.1.0", + "description": "surveys", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/tagmanager/README.md b/src/apis/tagmanager/README.md new file mode 100644 index 00000000000..af9a87cb829 --- /dev/null +++ b/src/apis/tagmanager/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/tagmanager + +> Accesses Tag Manager accounts and containers. + +## Installation + +```sh +$ npm install @google/tagmanager +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/tagmanager/package.json b/src/apis/tagmanager/package.json new file mode 100644 index 00000000000..f1ce3d851ce --- /dev/null +++ b/src/apis/tagmanager/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/tagmanager", + "version": "0.1.0", + "description": "tagmanager", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/tasks/README.md b/src/apis/tasks/README.md new file mode 100644 index 00000000000..adee6761f3b --- /dev/null +++ b/src/apis/tasks/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/tasks + +> Lets you manage your tasks and task lists. + +## Installation + +```sh +$ npm install @google/tasks +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/tasks/package.json b/src/apis/tasks/package.json new file mode 100644 index 00000000000..72c76425531 --- /dev/null +++ b/src/apis/tasks/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/tasks", + "version": "0.1.0", + "description": "tasks", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/testing/README.md b/src/apis/testing/README.md new file mode 100644 index 00000000000..b6416baf55d --- /dev/null +++ b/src/apis/testing/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/testing + +> Allows developers to run automated tests for their mobile applications on Google infrastructure. + +## Installation + +```sh +$ npm install @google/testing +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/testing/package.json b/src/apis/testing/package.json new file mode 100644 index 00000000000..8442f1d1043 --- /dev/null +++ b/src/apis/testing/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/testing", + "version": "0.1.0", + "description": "testing", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/texttospeech/README.md b/src/apis/texttospeech/README.md new file mode 100644 index 00000000000..a13393fc35e --- /dev/null +++ b/src/apis/texttospeech/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/texttospeech + +> Synthesizes natural-sounding speech by applying powerful neural network models. + +## Installation + +```sh +$ npm install @google/texttospeech +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/texttospeech/package.json b/src/apis/texttospeech/package.json new file mode 100644 index 00000000000..47e4dd40733 --- /dev/null +++ b/src/apis/texttospeech/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/texttospeech", + "version": "0.1.0", + "description": "texttospeech", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/toolresults/README.md b/src/apis/toolresults/README.md new file mode 100644 index 00000000000..127ee35ff8a --- /dev/null +++ b/src/apis/toolresults/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/toolresults + +> Reads and publishes results from Firebase Test Lab. + +## Installation + +```sh +$ npm install @google/toolresults +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/toolresults/package.json b/src/apis/toolresults/package.json new file mode 100644 index 00000000000..fff1ef5d632 --- /dev/null +++ b/src/apis/toolresults/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/toolresults", + "version": "0.1.0", + "description": "toolresults", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/tpu/README.md b/src/apis/tpu/README.md new file mode 100644 index 00000000000..46cd18e3a16 --- /dev/null +++ b/src/apis/tpu/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/tpu + +> TPU API provides customers with access to Google TPU technology. + +## Installation + +```sh +$ npm install @google/tpu +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/tpu/package.json b/src/apis/tpu/package.json new file mode 100644 index 00000000000..1f6662ab89b --- /dev/null +++ b/src/apis/tpu/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/tpu", + "version": "0.1.0", + "description": "tpu", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/translate/README.md b/src/apis/translate/README.md new file mode 100644 index 00000000000..5d708cc363f --- /dev/null +++ b/src/apis/translate/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/translate + +> The Google Cloud Translation API lets websites and programs integrate with Google Translate programmatically. + +## Installation + +```sh +$ npm install @google/translate +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/translate/package.json b/src/apis/translate/package.json new file mode 100644 index 00000000000..f04fd97bffa --- /dev/null +++ b/src/apis/translate/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/translate", + "version": "0.1.0", + "description": "translate", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/urlshortener/README.md b/src/apis/urlshortener/README.md new file mode 100644 index 00000000000..886c2857205 --- /dev/null +++ b/src/apis/urlshortener/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/urlshortener + +> Lets you create, inspect, and manage goo.gl short URLs + +## Installation + +```sh +$ npm install @google/urlshortener +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/urlshortener/package.json b/src/apis/urlshortener/package.json new file mode 100644 index 00000000000..0ef23f13164 --- /dev/null +++ b/src/apis/urlshortener/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/urlshortener", + "version": "0.1.0", + "description": "urlshortener", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/vault/README.md b/src/apis/vault/README.md new file mode 100644 index 00000000000..77b1c889253 --- /dev/null +++ b/src/apis/vault/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/vault + +> Archiving and eDiscovery for G Suite. + +## Installation + +```sh +$ npm install @google/vault +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/vault/package.json b/src/apis/vault/package.json new file mode 100644 index 00000000000..3f1539eed14 --- /dev/null +++ b/src/apis/vault/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/vault", + "version": "0.1.0", + "description": "vault", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/videointelligence/README.md b/src/apis/videointelligence/README.md new file mode 100644 index 00000000000..f36737e9ea7 --- /dev/null +++ b/src/apis/videointelligence/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/videointelligence + +> Cloud Video Intelligence API. + +## Installation + +```sh +$ npm install @google/videointelligence +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/videointelligence/package.json b/src/apis/videointelligence/package.json new file mode 100644 index 00000000000..a8a736cedce --- /dev/null +++ b/src/apis/videointelligence/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/videointelligence", + "version": "0.1.0", + "description": "videointelligence", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/videointelligence/v1beta1.ts b/src/apis/videointelligence/v1beta1.ts deleted file mode 100644 index 78901fb706f..00000000000 --- a/src/apis/videointelligence/v1beta1.ts +++ /dev/null @@ -1,1262 +0,0 @@ -/** - * Copyright 2015 Google Inc. All Rights Reserved. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ - -import {AxiosPromise} from 'axios'; -import {Compute, JWT, OAuth2Client, UserRefreshClient} from 'google-auth-library'; - -import {BodyResponseCallback, createAPIRequest, GlobalOptions, GoogleConfigurable, MethodOptions} from '../../shared/src'; - -// tslint:disable: no-any -// tslint:disable: class-name -// tslint:disable: variable-name -// tslint:disable: jsdoc-format -// tslint:disable: no-namespace - -export namespace videointelligence_v1beta1 { - export interface Options extends GlobalOptions { - version: 'v1beta1'; - } - - /** - * Cloud Video Intelligence API - * - * Cloud Video Intelligence API. - * - * @example - * const {google} = require('googleapis'); - * const videointelligence = google.videointelligence('v1beta1'); - * - * @namespace videointelligence - * @type {Function} - * @version v1beta1 - * @variation v1beta1 - * @param {object=} options Options for Videointelligence - */ - export class Videointelligence { - _options: GlobalOptions; - google?: GoogleConfigurable; - root = this; - - videos: Resource$Videos; - - constructor(options: GlobalOptions, google?: GoogleConfigurable) { - this._options = options || {}; - this.google = google; - this.getRoot.bind(this); - - this.videos = new Resource$Videos(this); - } - - getRoot() { - return this.root; - } - } - - /** - * Video annotation progress. Included in the `metadata` field of the - * `Operation` returned by the `GetOperation` call of the - * `google::longrunning::Operations` service. - */ - export interface Schema$GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress { - /** - * Progress metadata for all videos specified in `AnnotateVideoRequest`. - */ - annotationProgress?: - Schema$GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress[]; - } - /** - * Video annotation request. - */ - export interface Schema$GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest { - /** - * Requested video annotation features. - */ - features?: string[]; - /** - * The video data bytes. Encoding: base64. If unset, the input video(s) - * should be specified via `input_uri`. If set, `input_uri` should be unset. - */ - inputContent?: string; - /** - * Input video location. Currently, only [Google Cloud - * Storage](https://cloud.google.com/storage/) URIs are supported, which - * must be specified in the following format: `gs://bucket-id/object-id` - * (other URI formats return google.rpc.Code.INVALID_ARGUMENT). For more - * information, see [Request URIs](/storage/docs/reference-uris). A video - * URI may include wildcards in `object-id`, and thus identify multiple - * videos. Supported wildcards: '*' to match 0 or more characters; - * '?' to match 1 character. If unset, the input video should be - * embedded in the request as `input_content`. If set, `input_content` - * should be unset. - */ - inputUri?: string; - /** - * Optional cloud region where annotation should take place. Supported cloud - * regions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no - * region is specified, a region will be determined based on video file - * location. - */ - locationId?: string; - /** - * Optional location where the output (in JSON format) should be stored. - * Currently, only [Google Cloud Storage](https://cloud.google.com/storage/) - * URIs are supported, which must be specified in the following format: - * `gs://bucket-id/object-id` (other URI formats return - * google.rpc.Code.INVALID_ARGUMENT). For more information, see [Request - * URIs](/storage/docs/reference-uris). - */ - outputUri?: string; - /** - * Additional video context and/or feature-specific parameters. - */ - videoContext?: Schema$GoogleCloudVideointelligenceV1beta1_VideoContext; - } - /** - * Video annotation response. Included in the `response` field of the - * `Operation` returned by the `GetOperation` call of the - * `google::longrunning::Operations` service. - */ - export interface Schema$GoogleCloudVideointelligenceV1beta1_AnnotateVideoResponse { - /** - * Annotation results for all videos specified in `AnnotateVideoRequest`. - */ - annotationResults?: - Schema$GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults[]; - } - /** - * Label annotation. - */ - export interface Schema$GoogleCloudVideointelligenceV1beta1_LabelAnnotation { - /** - * Textual description, e.g. `Fixed-gear bicycle`. - */ - description?: string; - /** - * Language code for `description` in BCP-47 format. - */ - languageCode?: string; - /** - * Where the label was detected and with what confidence. - */ - locations?: Schema$GoogleCloudVideointelligenceV1beta1_LabelLocation[]; - } - /** - * Label location. - */ - export interface Schema$GoogleCloudVideointelligenceV1beta1_LabelLocation { - /** - * Confidence that the label is accurate. Range: [0, 1]. - */ - confidence?: number; - /** - * Label level. - */ - level?: string; - /** - * Video segment. Set to [-1, -1] for video-level labels. Set to [timestamp, - * timestamp] for frame-level labels. Otherwise, corresponds to one of - * `AnnotateSpec.segments` (if specified) or to shot boundaries (if - * requested). - */ - segment?: Schema$GoogleCloudVideointelligenceV1beta1_VideoSegment; - } - /** - * Safe search annotation (based on per-frame visual signals only). If no - * unsafe content has been detected in a frame, no annotations are present for - * that frame. If only some types of unsafe content have been detected in a - * frame, the likelihood is set to `UNKNOWN` for all other types of unsafe - * content. - */ - export interface Schema$GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation { - /** - * Likelihood of adult content. - */ - adult?: string; - /** - * Likelihood of medical content. - */ - medical?: string; - /** - * Likelihood of racy content. - */ - racy?: string; - /** - * Likelihood that an obvious modification was made to the original version - * to make it appear funny or offensive. - */ - spoof?: string; - /** - * Video time offset in microseconds. - */ - timeOffset?: string; - /** - * Likelihood of violent content. - */ - violent?: string; - } - /** - * Annotation progress for a single video. - */ - export interface Schema$GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress { - /** - * Video file location in [Google Cloud - * Storage](https://cloud.google.com/storage/). - */ - inputUri?: string; - /** - * Approximate percentage processed thus far. Guaranteed to be 100 when - * fully processed. - */ - progressPercent?: number; - /** - * Time when the request was received. - */ - startTime?: string; - /** - * Time of the most recent update. - */ - updateTime?: string; - } - /** - * Annotation results for a single video. - */ - export interface Schema$GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults { - /** - * If set, indicates an error. Note that for a single `AnnotateVideoRequest` - * some videos may succeed and some may fail. - */ - error?: Schema$GoogleRpc_Status; - /** - * Video file location in [Google Cloud - * Storage](https://cloud.google.com/storage/). - */ - inputUri?: string; - /** - * Label annotations. There is exactly one element for each unique label. - */ - labelAnnotations?: - Schema$GoogleCloudVideointelligenceV1beta1_LabelAnnotation[]; - /** - * Safe search annotations. - */ - safeSearchAnnotations?: - Schema$GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation[]; - /** - * Shot annotations. Each shot is represented as a video segment. - */ - shotAnnotations?: Schema$GoogleCloudVideointelligenceV1beta1_VideoSegment[]; - } - /** - * Video context and/or feature-specific parameters. - */ - export interface Schema$GoogleCloudVideointelligenceV1beta1_VideoContext { - /** - * If label detection has been requested, what labels should be detected in - * addition to video-level labels or segment-level labels. If unspecified, - * defaults to `SHOT_MODE`. - */ - labelDetectionMode?: string; - /** - * Model to use for label detection. Supported values: "latest" - * and "stable" (the default). - */ - labelDetectionModel?: string; - /** - * Model to use for safe search detection. Supported values: - * "latest" and "stable" (the default). - */ - safeSearchDetectionModel?: string; - /** - * Video segments to annotate. The segments may overlap and are not required - * to be contiguous or span the whole video. If unspecified, each video is - * treated as a single segment. - */ - segments?: Schema$GoogleCloudVideointelligenceV1beta1_VideoSegment[]; - /** - * Model to use for shot change detection. Supported values: - * "latest" and "stable" (the default). - */ - shotChangeDetectionModel?: string; - /** - * Whether the video has been shot from a stationary (i.e. non-moving) - * camera. When set to true, might improve detection accuracy for moving - * objects. - */ - stationaryCamera?: boolean; - } - /** - * Video segment. - */ - export interface Schema$GoogleCloudVideointelligenceV1beta1_VideoSegment { - /** - * End offset in microseconds (inclusive). Unset means 0. - */ - endTimeOffset?: string; - /** - * Start offset in microseconds (inclusive). Unset means 0. - */ - startTimeOffset?: string; - } - /** - * Video annotation progress. Included in the `metadata` field of the - * `Operation` returned by the `GetOperation` call of the - * `google::longrunning::Operations` service. - */ - export interface Schema$GoogleCloudVideointelligenceV1beta2_AnnotateVideoProgress { - /** - * Progress metadata for all videos specified in `AnnotateVideoRequest`. - */ - annotationProgress?: - Schema$GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress[]; - } - /** - * Video annotation response. Included in the `response` field of the - * `Operation` returned by the `GetOperation` call of the - * `google::longrunning::Operations` service. - */ - export interface Schema$GoogleCloudVideointelligenceV1beta2_AnnotateVideoResponse { - /** - * Annotation results for all videos specified in `AnnotateVideoRequest`. - */ - annotationResults?: - Schema$GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults[]; - } - /** - * Detected entity from video analysis. - */ - export interface Schema$GoogleCloudVideointelligenceV1beta2_Entity { - /** - * Textual description, e.g. `Fixed-gear bicycle`. - */ - description?: string; - /** - * Opaque entity ID. Some IDs may be available in [Google Knowledge Graph - * Search API](https://developers.google.com/knowledge-graph/). - */ - entityId?: string; - /** - * Language code for `description` in BCP-47 format. - */ - languageCode?: string; - } - /** - * Explicit content annotation (based on per-frame visual signals only). If no - * explicit content has been detected in a frame, no annotations are present - * for that frame. - */ - export interface Schema$GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation { - /** - * All video frames where explicit content was detected. - */ - frames?: Schema$GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame[]; - } - /** - * Video frame level annotation results for explicit content. - */ - export interface Schema$GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame { - /** - * Likelihood of the pornography content.. - */ - pornographyLikelihood?: string; - /** - * Time-offset, relative to the beginning of the video, corresponding to the - * video frame for this location. - */ - timeOffset?: string; - } - /** - * Label annotation. - */ - export interface Schema$GoogleCloudVideointelligenceV1beta2_LabelAnnotation { - /** - * Common categories for the detected entity. E.g. when the label is - * `Terrier` the category is likely `dog`. And in some cases there might be - * more than one categories e.g. `Terrier` could also be a `pet`. - */ - categoryEntities?: Schema$GoogleCloudVideointelligenceV1beta2_Entity[]; - /** - * Detected entity. - */ - entity?: Schema$GoogleCloudVideointelligenceV1beta2_Entity; - /** - * All video frames where a label was detected. - */ - frames?: Schema$GoogleCloudVideointelligenceV1beta2_LabelFrame[]; - /** - * All video segments where a label was detected. - */ - segments?: Schema$GoogleCloudVideointelligenceV1beta2_LabelSegment[]; - } - /** - * Video frame level annotation results for label detection. - */ - export interface Schema$GoogleCloudVideointelligenceV1beta2_LabelFrame { - /** - * Confidence that the label is accurate. Range: [0, 1]. - */ - confidence?: number; - /** - * Time-offset, relative to the beginning of the video, corresponding to the - * video frame for this location. - */ - timeOffset?: string; - } - /** - * Video segment level annotation results for label detection. - */ - export interface Schema$GoogleCloudVideointelligenceV1beta2_LabelSegment { - /** - * Confidence that the label is accurate. Range: [0, 1]. - */ - confidence?: number; - /** - * Video segment where a label was detected. - */ - segment?: Schema$GoogleCloudVideointelligenceV1beta2_VideoSegment; - } - /** - * Annotation progress for a single video. - */ - export interface Schema$GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress { - /** - * Output only. Video file location in [Google Cloud - * Storage](https://cloud.google.com/storage/). - */ - inputUri?: string; - /** - * Output only. Approximate percentage processed thus far. Guaranteed to be - * 100 when fully processed. - */ - progressPercent?: number; - /** - * Output only. Time when the request was received. - */ - startTime?: string; - /** - * Output only. Time of the most recent update. - */ - updateTime?: string; - } - /** - * Annotation results for a single video. - */ - export interface Schema$GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults { - /** - * Output only. Non-streaming error only. If set, indicates an error. Note - * that for a single `AnnotateVideoRequest` some videos may succeed and some - * may fail. - */ - error?: Schema$GoogleRpc_Status; - /** - * Explicit content annotation. - */ - explicitAnnotation?: - Schema$GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation; - /** - * Label annotations on frame level. There is exactly one element for each - * unique label. - */ - frameLabelAnnotations?: - Schema$GoogleCloudVideointelligenceV1beta2_LabelAnnotation[]; - /** - * Output only. Video file location in [Google Cloud - * Storage](https://cloud.google.com/storage/). - */ - inputUri?: string; - /** - * Label annotations on video level or user specified segment level. There - * is exactly one element for each unique label. - */ - segmentLabelAnnotations?: - Schema$GoogleCloudVideointelligenceV1beta2_LabelAnnotation[]; - /** - * Shot annotations. Each shot is represented as a video segment. - */ - shotAnnotations?: Schema$GoogleCloudVideointelligenceV1beta2_VideoSegment[]; - /** - * Label annotations on shot level. There is exactly one element for each - * unique label. - */ - shotLabelAnnotations?: - Schema$GoogleCloudVideointelligenceV1beta2_LabelAnnotation[]; - } - /** - * Video segment. - */ - export interface Schema$GoogleCloudVideointelligenceV1beta2_VideoSegment { - /** - * Time-offset, relative to the beginning of the video, corresponding to the - * end of the segment (inclusive). - */ - endTimeOffset?: string; - /** - * Time-offset, relative to the beginning of the video, corresponding to the - * start of the segment (inclusive). - */ - startTimeOffset?: string; - } - /** - * Video annotation progress. Included in the `metadata` field of the - * `Operation` returned by the `GetOperation` call of the - * `google::longrunning::Operations` service. - */ - export interface Schema$GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoProgress { - /** - * Progress metadata for all videos specified in `AnnotateVideoRequest`. - */ - annotationProgress?: - Schema$GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress[]; - } - /** - * Video annotation response. Included in the `response` field of the - * `Operation` returned by the `GetOperation` call of the - * `google::longrunning::Operations` service. - */ - export interface Schema$GoogleCloudVideointelligenceV1p1beta1_AnnotateVideoResponse { - /** - * Annotation results for all videos specified in `AnnotateVideoRequest`. - */ - annotationResults?: - Schema$GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults[]; - } - /** - * Emotion attribute. - */ - export interface Schema$GoogleCloudVideointelligenceV1p1beta1_EmotionAttribute { - /** - * Emotion entry. - */ - emotion?: string; - /** - * Confidence score. - */ - score?: number; - } - /** - * Detected entity from video analysis. - */ - export interface Schema$GoogleCloudVideointelligenceV1p1beta1_Entity { - /** - * Textual description, e.g. `Fixed-gear bicycle`. - */ - description?: string; - /** - * Opaque entity ID. Some IDs may be available in [Google Knowledge Graph - * Search API](https://developers.google.com/knowledge-graph/). - */ - entityId?: string; - /** - * Language code for `description` in BCP-47 format. - */ - languageCode?: string; - } - /** - * Explicit content annotation (based on per-frame visual signals only). If no - * explicit content has been detected in a frame, no annotations are present - * for that frame. - */ - export interface Schema$GoogleCloudVideointelligenceV1p1beta1_ExplicitContentAnnotation { - /** - * All video frames where explicit content was detected. - */ - frames?: - Schema$GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame[]; - } - /** - * Video frame level annotation results for explicit content. - */ - export interface Schema$GoogleCloudVideointelligenceV1p1beta1_ExplicitContentFrame { - /** - * Likelihood of the pornography content.. - */ - pornographyLikelihood?: string; - /** - * Time-offset, relative to the beginning of the video, corresponding to the - * video frame for this location. - */ - timeOffset?: string; - } - /** - * Face detection annotation. - */ - export interface Schema$GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation { - /** - * All video frames where a face was detected. - */ - frames?: Schema$GoogleCloudVideointelligenceV1p1beta1_FaceDetectionFrame[]; - /** - * All video segments where a face was detected. - */ - segments?: Schema$GoogleCloudVideointelligenceV1p1beta1_FaceSegment[]; - } - /** - * Face detection attribute. - */ - export interface Schema$GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAttribute { - /** - * Emotion attributes. - */ - emotions?: Schema$GoogleCloudVideointelligenceV1p1beta1_EmotionAttribute[]; - /** - * Normalized Bounding box. - */ - normalizedBoundingBox?: - Schema$GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox; - } - /** - * Video frame level annotation results for face detection. - */ - export interface Schema$GoogleCloudVideointelligenceV1p1beta1_FaceDetectionFrame { - /** - * Face attributes in a frame. There can be more than one attributes if the - * same face is detected in multiple locations within the current frame. - */ - attributes?: - Schema$GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAttribute[]; - /** - * Time-offset, relative to the beginning of the video, corresponding to the - * video frame for this location. - */ - timeOffset?: string; - } - /** - * Video segment level annotation results for face detection. - */ - export interface Schema$GoogleCloudVideointelligenceV1p1beta1_FaceSegment { - /** - * Video segment where a face was detected. - */ - segment?: Schema$GoogleCloudVideointelligenceV1p1beta1_VideoSegment; - } - /** - * Label annotation. - */ - export interface Schema$GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation { - /** - * Common categories for the detected entity. E.g. when the label is - * `Terrier` the category is likely `dog`. And in some cases there might be - * more than one categories e.g. `Terrier` could also be a `pet`. - */ - categoryEntities?: Schema$GoogleCloudVideointelligenceV1p1beta1_Entity[]; - /** - * Detected entity. - */ - entity?: Schema$GoogleCloudVideointelligenceV1p1beta1_Entity; - /** - * All video frames where a label was detected. - */ - frames?: Schema$GoogleCloudVideointelligenceV1p1beta1_LabelFrame[]; - /** - * All video segments where a label was detected. - */ - segments?: Schema$GoogleCloudVideointelligenceV1p1beta1_LabelSegment[]; - } - /** - * Video frame level annotation results for label detection. - */ - export interface Schema$GoogleCloudVideointelligenceV1p1beta1_LabelFrame { - /** - * Confidence that the label is accurate. Range: [0, 1]. - */ - confidence?: number; - /** - * Time-offset, relative to the beginning of the video, corresponding to the - * video frame for this location. - */ - timeOffset?: string; - } - /** - * Video segment level annotation results for label detection. - */ - export interface Schema$GoogleCloudVideointelligenceV1p1beta1_LabelSegment { - /** - * Confidence that the label is accurate. Range: [0, 1]. - */ - confidence?: number; - /** - * Video segment where a label was detected. - */ - segment?: Schema$GoogleCloudVideointelligenceV1p1beta1_VideoSegment; - } - /** - * Normalized bounding box. The normalized vertex coordinates are relative to - * the original image. Range: [0, 1]. - */ - export interface Schema$GoogleCloudVideointelligenceV1p1beta1_NormalizedBoundingBox { - /** - * Bottom Y coordinate. - */ - bottom?: number; - /** - * Left X coordinate. - */ - left?: number; - /** - * Right X coordinate. - */ - right?: number; - /** - * Top Y coordinate. - */ - top?: number; - } - /** - * Alternative hypotheses (a.k.a. n-best list). - */ - export interface Schema$GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative { - /** - * Output only. The confidence estimate between 0.0 and 1.0. A higher number - * indicates an estimated greater likelihood that the recognized words are - * correct. This field is typically provided only for the top hypothesis, - * and only for `is_final=true` results. Clients should not rely on the - * `confidence` field as it is not guaranteed to be accurate or consistent. - * The default of 0.0 is a sentinel value indicating `confidence` was not - * set. - */ - confidence?: number; - /** - * Output only. Transcript text representing the words that the user spoke. - */ - transcript?: string; - /** - * Output only. A list of word-specific information for each recognized - * word. - */ - words?: Schema$GoogleCloudVideointelligenceV1p1beta1_WordInfo[]; - } - /** - * A speech recognition result corresponding to a portion of the audio. - */ - export interface Schema$GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription { - /** - * Output only. May contain one or more recognition hypotheses (up to the - * maximum specified in `max_alternatives`). These alternatives are ordered - * in terms of accuracy, with the top (first) alternative being the most - * probable, as ranked by the recognizer. - */ - alternatives?: - Schema$GoogleCloudVideointelligenceV1p1beta1_SpeechRecognitionAlternative[]; - } - /** - * Annotation progress for a single video. - */ - export interface Schema$GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationProgress { - /** - * Output only. Video file location in [Google Cloud - * Storage](https://cloud.google.com/storage/). - */ - inputUri?: string; - /** - * Output only. Approximate percentage processed thus far. Guaranteed to be - * 100 when fully processed. - */ - progressPercent?: number; - /** - * Output only. Time when the request was received. - */ - startTime?: string; - /** - * Output only. Time of the most recent update. - */ - updateTime?: string; - } - /** - * Annotation results for a single video. - */ - export interface Schema$GoogleCloudVideointelligenceV1p1beta1_VideoAnnotationResults { - /** - * Output only. Non-streaming error only. If set, indicates an error. Note - * that for a single `AnnotateVideoRequest` some videos may succeed and some - * may fail. - */ - error?: Schema$GoogleRpc_Status; - /** - * Explicit content annotation. - */ - explicitAnnotation?: - Schema$GoogleCloudVideointelligenceV1p1beta1_ExplicitContentAnnotation; - /** - * Face detection annotations. - */ - faceDetectionAnnotations?: - Schema$GoogleCloudVideointelligenceV1p1beta1_FaceDetectionAnnotation[]; - /** - * Label annotations on frame level. There is exactly one element for each - * unique label. - */ - frameLabelAnnotations?: - Schema$GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation[]; - /** - * Output only. Video file location in [Google Cloud - * Storage](https://cloud.google.com/storage/). - */ - inputUri?: string; - /** - * Label annotations on video level or user specified segment level. There - * is exactly one element for each unique label. - */ - segmentLabelAnnotations?: - Schema$GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation[]; - /** - * Shot annotations. Each shot is represented as a video segment. - */ - shotAnnotations?: - Schema$GoogleCloudVideointelligenceV1p1beta1_VideoSegment[]; - /** - * Label annotations on shot level. There is exactly one element for each - * unique label. - */ - shotLabelAnnotations?: - Schema$GoogleCloudVideointelligenceV1p1beta1_LabelAnnotation[]; - /** - * Speech transcription. - */ - speechTranscriptions?: - Schema$GoogleCloudVideointelligenceV1p1beta1_SpeechTranscription[]; - } - /** - * Video segment. - */ - export interface Schema$GoogleCloudVideointelligenceV1p1beta1_VideoSegment { - /** - * Time-offset, relative to the beginning of the video, corresponding to the - * end of the segment (inclusive). - */ - endTimeOffset?: string; - /** - * Time-offset, relative to the beginning of the video, corresponding to the - * start of the segment (inclusive). - */ - startTimeOffset?: string; - } - /** - * Word-specific information for recognized words. Word information is only - * included in the response when certain request parameters are set, such as - * `enable_word_time_offsets`. - */ - export interface Schema$GoogleCloudVideointelligenceV1p1beta1_WordInfo { - /** - * Output only. Time offset relative to the beginning of the audio, and - * corresponding to the end of the spoken word. This field is only set if - * `enable_word_time_offsets=true` and only in the top hypothesis. This is - * an experimental feature and the accuracy of the time offset can vary. - */ - endTime?: string; - /** - * Output only. Time offset relative to the beginning of the audio, and - * corresponding to the start of the spoken word. This field is only set if - * `enable_word_time_offsets=true` and only in the top hypothesis. This is - * an experimental feature and the accuracy of the time offset can vary. - */ - startTime?: string; - /** - * Output only. The word corresponding to this set of information. - */ - word?: string; - } - /** - * Video annotation progress. Included in the `metadata` field of the - * `Operation` returned by the `GetOperation` call of the - * `google::longrunning::Operations` service. - */ - export interface Schema$GoogleCloudVideointelligenceV1_AnnotateVideoProgress { - /** - * Progress metadata for all videos specified in `AnnotateVideoRequest`. - */ - annotationProgress?: - Schema$GoogleCloudVideointelligenceV1_VideoAnnotationProgress[]; - } - /** - * Video annotation response. Included in the `response` field of the - * `Operation` returned by the `GetOperation` call of the - * `google::longrunning::Operations` service. - */ - export interface Schema$GoogleCloudVideointelligenceV1_AnnotateVideoResponse { - /** - * Annotation results for all videos specified in `AnnotateVideoRequest`. - */ - annotationResults?: - Schema$GoogleCloudVideointelligenceV1_VideoAnnotationResults[]; - } - /** - * Detected entity from video analysis. - */ - export interface Schema$GoogleCloudVideointelligenceV1_Entity { - /** - * Textual description, e.g. `Fixed-gear bicycle`. - */ - description?: string; - /** - * Opaque entity ID. Some IDs may be available in [Google Knowledge Graph - * Search API](https://developers.google.com/knowledge-graph/). - */ - entityId?: string; - /** - * Language code for `description` in BCP-47 format. - */ - languageCode?: string; - } - /** - * Explicit content annotation (based on per-frame visual signals only). If no - * explicit content has been detected in a frame, no annotations are present - * for that frame. - */ - export interface Schema$GoogleCloudVideointelligenceV1_ExplicitContentAnnotation { - /** - * All video frames where explicit content was detected. - */ - frames?: Schema$GoogleCloudVideointelligenceV1_ExplicitContentFrame[]; - } - /** - * Video frame level annotation results for explicit content. - */ - export interface Schema$GoogleCloudVideointelligenceV1_ExplicitContentFrame { - /** - * Likelihood of the pornography content.. - */ - pornographyLikelihood?: string; - /** - * Time-offset, relative to the beginning of the video, corresponding to the - * video frame for this location. - */ - timeOffset?: string; - } - /** - * Label annotation. - */ - export interface Schema$GoogleCloudVideointelligenceV1_LabelAnnotation { - /** - * Common categories for the detected entity. E.g. when the label is - * `Terrier` the category is likely `dog`. And in some cases there might be - * more than one categories e.g. `Terrier` could also be a `pet`. - */ - categoryEntities?: Schema$GoogleCloudVideointelligenceV1_Entity[]; - /** - * Detected entity. - */ - entity?: Schema$GoogleCloudVideointelligenceV1_Entity; - /** - * All video frames where a label was detected. - */ - frames?: Schema$GoogleCloudVideointelligenceV1_LabelFrame[]; - /** - * All video segments where a label was detected. - */ - segments?: Schema$GoogleCloudVideointelligenceV1_LabelSegment[]; - } - /** - * Video frame level annotation results for label detection. - */ - export interface Schema$GoogleCloudVideointelligenceV1_LabelFrame { - /** - * Confidence that the label is accurate. Range: [0, 1]. - */ - confidence?: number; - /** - * Time-offset, relative to the beginning of the video, corresponding to the - * video frame for this location. - */ - timeOffset?: string; - } - /** - * Video segment level annotation results for label detection. - */ - export interface Schema$GoogleCloudVideointelligenceV1_LabelSegment { - /** - * Confidence that the label is accurate. Range: [0, 1]. - */ - confidence?: number; - /** - * Video segment where a label was detected. - */ - segment?: Schema$GoogleCloudVideointelligenceV1_VideoSegment; - } - /** - * Annotation progress for a single video. - */ - export interface Schema$GoogleCloudVideointelligenceV1_VideoAnnotationProgress { - /** - * Output only. Video file location in [Google Cloud - * Storage](https://cloud.google.com/storage/). - */ - inputUri?: string; - /** - * Output only. Approximate percentage processed thus far. Guaranteed to be - * 100 when fully processed. - */ - progressPercent?: number; - /** - * Output only. Time when the request was received. - */ - startTime?: string; - /** - * Output only. Time of the most recent update. - */ - updateTime?: string; - } - /** - * Annotation results for a single video. - */ - export interface Schema$GoogleCloudVideointelligenceV1_VideoAnnotationResults { - /** - * Output only. Non-streaming error only. If set, indicates an error. Note - * that for a single `AnnotateVideoRequest` some videos may succeed and some - * may fail. - */ - error?: Schema$GoogleRpc_Status; - /** - * Explicit content annotation. - */ - explicitAnnotation?: - Schema$GoogleCloudVideointelligenceV1_ExplicitContentAnnotation; - /** - * Label annotations on frame level. There is exactly one element for each - * unique label. - */ - frameLabelAnnotations?: - Schema$GoogleCloudVideointelligenceV1_LabelAnnotation[]; - /** - * Output only. Video file location in [Google Cloud - * Storage](https://cloud.google.com/storage/). - */ - inputUri?: string; - /** - * Label annotations on video level or user specified segment level. There - * is exactly one element for each unique label. - */ - segmentLabelAnnotations?: - Schema$GoogleCloudVideointelligenceV1_LabelAnnotation[]; - /** - * Shot annotations. Each shot is represented as a video segment. - */ - shotAnnotations?: Schema$GoogleCloudVideointelligenceV1_VideoSegment[]; - /** - * Label annotations on shot level. There is exactly one element for each - * unique label. - */ - shotLabelAnnotations?: - Schema$GoogleCloudVideointelligenceV1_LabelAnnotation[]; - } - /** - * Video segment. - */ - export interface Schema$GoogleCloudVideointelligenceV1_VideoSegment { - /** - * Time-offset, relative to the beginning of the video, corresponding to the - * end of the segment (inclusive). - */ - endTimeOffset?: string; - /** - * Time-offset, relative to the beginning of the video, corresponding to the - * start of the segment (inclusive). - */ - startTimeOffset?: string; - } - /** - * This resource represents a long-running operation that is the result of a - * network API call. - */ - export interface Schema$GoogleLongrunning_Operation { - /** - * If the value is `false`, it means the operation is still in progress. If - * `true`, the operation is completed, and either `error` or `response` is - * available. - */ - done?: boolean; - /** - * The error result of the operation in case of failure or cancellation. - */ - error?: Schema$GoogleRpc_Status; - /** - * Service-specific metadata associated with the operation. It typically - * contains progress information and common metadata such as create time. - * Some services might not provide such metadata. Any method that returns a - * long-running operation should document the metadata type, if any. - */ - metadata?: any; - /** - * 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 have the format of `operations/some/unique/name`. - */ - name?: string; - /** - * 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?: any; - } - /** - * 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). The error model is designed to be: - * - Simple to use and understand for most users - Flexible enough to meet - * unexpected needs # Overview The `Status` message contains three pieces of - * data: error code, error message, and error details. The error code should - * be an enum value of google.rpc.Code, but it may accept additional error - * codes if needed. The error message should be a developer-facing English - * message that helps developers *understand* and *resolve* the error. If a - * localized user-facing error message is needed, put the localized message in - * the error details or localize it in the client. The optional error details - * may contain arbitrary information about the error. There is a predefined - * set of error detail types in the package `google.rpc` that can be used for - * common error conditions. # Language mapping The `Status` message is the - * logical representation of the error model, but it is not necessarily the - * actual wire format. When the `Status` message is exposed in different - * client libraries and different wire protocols, it can be mapped - * differently. For example, it will likely be mapped to some exceptions in - * Java, but more likely mapped to some error codes in C. # Other uses The - * error model and the `Status` message can be used in a variety of - * environments, either with or without APIs, to provide a consistent - * developer experience across different environments. Example uses of this - * error model include: - Partial errors. If a service needs to return - * partial errors to the client, it may embed the `Status` in the normal - * response to indicate the partial errors. - Workflow errors. A typical - * workflow has multiple steps. Each step may have a `Status` message for - * error reporting. - Batch operations. If a client uses batch request and - * batch response, the `Status` message should be used directly inside - * batch response, one for each error sub-response. - Asynchronous - * operations. If an API call embeds asynchronous operation results in its - * response, the status of those operations should be represented directly - * using the `Status` message. - Logging. If some API errors are stored in - * logs, the message `Status` could be used directly after any stripping - * needed for security/privacy reasons. - */ - export interface Schema$GoogleRpc_Status { - /** - * The status code, which should be an enum value of google.rpc.Code. - */ - code?: number; - /** - * A list of messages that carry the error details. There is a common set - * of message types for APIs to use. - */ - details?: any[]; - /** - * 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; - } - - - export class Resource$Videos { - root: Videointelligence; - constructor(root: Videointelligence) { - this.root = root; - this.getRoot.bind(this); - } - - getRoot() { - return this.root; - } - - - /** - * videointelligence.videos.annotate - * @desc Performs asynchronous video annotation. Progress and results can be - * retrieved through the `google.longrunning.Operations` interface. - * `Operation.metadata` contains `AnnotateVideoProgress` (progress). - * `Operation.response` contains `AnnotateVideoResponse` (results). - * @alias videointelligence.videos.annotate - * @memberOf! () - * - * @param {object} params Parameters for request - * @param {().GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest} params.resource Request body data - * @param {object} [options] Optionally override request options, such as `url`, `method`, and `encoding`. - * @param {callback} callback The callback that handles the response. - * @return {object} Request object - */ - annotate(params?: Params$Resource$Videos$Annotate, options?: MethodOptions): - AxiosPromise; - annotate( - params: Params$Resource$Videos$Annotate, - options: MethodOptions| - BodyResponseCallback, - callback: BodyResponseCallback): - void; - annotate( - params: Params$Resource$Videos$Annotate, - callback: BodyResponseCallback): - void; - annotate(callback: - BodyResponseCallback): - void; - annotate( - paramsOrCallback?: Params$Resource$Videos$Annotate| - BodyResponseCallback, - optionsOrCallback?: MethodOptions| - BodyResponseCallback, - callback?: BodyResponseCallback): - void|AxiosPromise { - let params = (paramsOrCallback || {}) as Params$Resource$Videos$Annotate; - let options = (optionsOrCallback || {}) as MethodOptions; - - if (typeof paramsOrCallback === 'function') { - callback = paramsOrCallback; - params = {} as Params$Resource$Videos$Annotate; - options = {}; - } - - if (typeof optionsOrCallback === 'function') { - callback = optionsOrCallback; - options = {}; - } - - const rootUrl = - options.rootUrl || 'https://videointelligence.googleapis.com/'; - const parameters = { - options: Object.assign( - { - url: (rootUrl + '/v1beta1/videos:annotate') - .replace(/([^:]\/)\/+/g, '$1'), - method: 'POST' - }, - options), - params, - requiredParams: [], - pathParams: [], - context: this.getRoot() - }; - if (callback) { - createAPIRequest( - parameters, callback); - } else { - return createAPIRequest(parameters); - } - } - } - - export interface Params$Resource$Videos$Annotate { - /** - * Auth client or API Key for the request - */ - auth?: string|OAuth2Client|JWT|Compute|UserRefreshClient; - - - /** - * Request body metadata - */ - requestBody?: - Schema$GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest; - } -} diff --git a/src/apis/vision/README.md b/src/apis/vision/README.md new file mode 100644 index 00000000000..de3ea1e1763 --- /dev/null +++ b/src/apis/vision/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/vision + +> Integrates Google Vision features, including image labeling, face, logo, and landmark detection, optical character recognition (OCR), and detection of explicit content, into applications. + +## Installation + +```sh +$ npm install @google/vision +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/vision/package.json b/src/apis/vision/package.json new file mode 100644 index 00000000000..a9c5beeb542 --- /dev/null +++ b/src/apis/vision/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/vision", + "version": "0.1.0", + "description": "vision", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/vision/v1.ts b/src/apis/vision/v1.ts index 5a2aae79ed6..0760f6235bd 100644 --- a/src/apis/vision/v1.ts +++ b/src/apis/vision/v1.ts @@ -1358,7 +1358,8 @@ export namespace vision_v1 { */ export interface Schema$GoogleCloudVisionV1p2beta1WebDetection { /** - * Best guess text labels for the request image. + * The service's best guess as to the topic of the request image. + * Inferred from similar images on the open web. */ bestGuessLabels?: Schema$GoogleCloudVisionV1p2beta1WebDetectionWebLabel[]; /** @@ -2121,7 +2122,8 @@ export namespace vision_v1 { */ export interface Schema$WebDetection { /** - * Best guess text labels for the request image. + * The service's best guess as to the topic of the request image. + * Inferred from similar images on the open web. */ bestGuessLabels?: Schema$WebLabel[]; /** diff --git a/src/apis/vision/v1p1beta1.ts b/src/apis/vision/v1p1beta1.ts index bb73032cf30..b5426461f9c 100644 --- a/src/apis/vision/v1p1beta1.ts +++ b/src/apis/vision/v1p1beta1.ts @@ -1360,7 +1360,8 @@ export namespace vision_v1p1beta1 { */ export interface Schema$GoogleCloudVisionV1p1beta1WebDetection { /** - * Best guess text labels for the request image. + * The service's best guess as to the topic of the request image. + * Inferred from similar images on the open web. */ bestGuessLabels?: Schema$GoogleCloudVisionV1p1beta1WebDetectionWebLabel[]; /** @@ -2209,7 +2210,8 @@ export namespace vision_v1p1beta1 { */ export interface Schema$GoogleCloudVisionV1p2beta1WebDetection { /** - * Best guess text labels for the request image. + * The service's best guess as to the topic of the request image. + * Inferred from similar images on the open web. */ bestGuessLabels?: Schema$GoogleCloudVisionV1p2beta1WebDetectionWebLabel[]; /** @@ -2873,7 +2875,8 @@ export namespace vision_v1p1beta1 { */ export interface Schema$WebDetection { /** - * Best guess text labels for the request image. + * The service's best guess as to the topic of the request image. + * Inferred from similar images on the open web. */ bestGuessLabels?: Schema$WebLabel[]; /** diff --git a/src/apis/vision/v1p2beta1.ts b/src/apis/vision/v1p2beta1.ts index 84adf96e2c6..17b7e6a0252 100644 --- a/src/apis/vision/v1p2beta1.ts +++ b/src/apis/vision/v1p2beta1.ts @@ -1428,7 +1428,8 @@ export namespace vision_v1p2beta1 { */ export interface Schema$GoogleCloudVisionV1p2beta1WebDetection { /** - * Best guess text labels for the request image. + * The service's best guess as to the topic of the request image. + * Inferred from similar images on the open web. */ bestGuessLabels?: Schema$GoogleCloudVisionV1p2beta1WebDetectionWebLabel[]; /** @@ -2101,7 +2102,8 @@ export namespace vision_v1p2beta1 { */ export interface Schema$WebDetection { /** - * Best guess text labels for the request image. + * The service's best guess as to the topic of the request image. + * Inferred from similar images on the open web. */ bestGuessLabels?: Schema$WebLabel[]; /** diff --git a/src/apis/webfonts/README.md b/src/apis/webfonts/README.md new file mode 100644 index 00000000000..e86d38cf43e --- /dev/null +++ b/src/apis/webfonts/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/webfonts + +> Accesses the metadata for all families served by Google Fonts, providing a list of families currently available (including available styles and a list of supported script subsets). + +## Installation + +```sh +$ npm install @google/webfonts +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/webfonts/package.json b/src/apis/webfonts/package.json new file mode 100644 index 00000000000..f6e0426ee00 --- /dev/null +++ b/src/apis/webfonts/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/webfonts", + "version": "0.1.0", + "description": "webfonts", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/webmasters/README.md b/src/apis/webmasters/README.md new file mode 100644 index 00000000000..65b7c41f6ff --- /dev/null +++ b/src/apis/webmasters/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/webmasters + +> View Google Search Console data for your verified sites. + +## Installation + +```sh +$ npm install @google/webmasters +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/webmasters/package.json b/src/apis/webmasters/package.json new file mode 100644 index 00000000000..bd0a78f80d7 --- /dev/null +++ b/src/apis/webmasters/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/webmasters", + "version": "0.1.0", + "description": "webmasters", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/websecurityscanner/README.md b/src/apis/websecurityscanner/README.md new file mode 100644 index 00000000000..28e9502a3ec --- /dev/null +++ b/src/apis/websecurityscanner/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/websecurityscanner + +> Web Security Scanner API (under development). + +## Installation + +```sh +$ npm install @google/websecurityscanner +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/websecurityscanner/package.json b/src/apis/websecurityscanner/package.json new file mode 100644 index 00000000000..6cf3500e822 --- /dev/null +++ b/src/apis/websecurityscanner/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/websecurityscanner", + "version": "0.1.0", + "description": "websecurityscanner", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/youtube/README.md b/src/apis/youtube/README.md new file mode 100644 index 00000000000..9a871297de7 --- /dev/null +++ b/src/apis/youtube/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/youtube + +> Supports core YouTube features, such as uploading videos, creating and managing playlists, searching for content, and much more. + +## Installation + +```sh +$ npm install @google/youtube +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/youtube/package.json b/src/apis/youtube/package.json new file mode 100644 index 00000000000..ba73ab55b43 --- /dev/null +++ b/src/apis/youtube/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/youtube", + "version": "0.1.0", + "description": "youtube", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/youtubeAnalytics/README.md b/src/apis/youtubeAnalytics/README.md new file mode 100644 index 00000000000..184bfe1314a --- /dev/null +++ b/src/apis/youtubeAnalytics/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/youtubeAnalytics + +> Retrieves your YouTube Analytics data. + +## Installation + +```sh +$ npm install @google/youtubeAnalytics +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/youtubeAnalytics/package.json b/src/apis/youtubeAnalytics/package.json new file mode 100644 index 00000000000..fbc80912622 --- /dev/null +++ b/src/apis/youtubeAnalytics/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/youtubeAnalytics", + "version": "0.1.0", + "description": "youtubeAnalytics", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/apis/youtubereporting/README.md b/src/apis/youtubereporting/README.md new file mode 100644 index 00000000000..829e81fccd1 --- /dev/null +++ b/src/apis/youtubereporting/README.md @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/youtubereporting + +> Schedules reporting jobs containing your YouTube Analytics data and downloads the resulting bulk data reports in the form of CSV files. + +## Installation + +```sh +$ npm install @google/youtubereporting +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/apis/youtubereporting/package.json b/src/apis/youtubereporting/package.json new file mode 100644 index 00000000000..52714b93432 --- /dev/null +++ b/src/apis/youtubereporting/package.json @@ -0,0 +1,24 @@ +{ + "name": "@google/youtubereporting", + "version": "0.1.0", + "description": "youtubereporting", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +} diff --git a/src/index.ts b/src/index.ts index 397efb83cd6..a1eec2142d3 100644 --- a/src/index.ts +++ b/src/index.ts @@ -127,6 +127,7 @@ export {gmail_v1} from './apis/gmail/v1'; export {groupsmigration_v1} from './apis/groupsmigration/v1'; export {groupssettings_v1} from './apis/groupssettings/v1'; export {iam_v1} from './apis/iam/v1'; +export {iamcredentials_v1} from './apis/iamcredentials/v1'; export {identitytoolkit_v3} from './apis/identitytoolkit/v3'; export {jobs_v2} from './apis/jobs/v2'; export {kgsearch_v1} from './apis/kgsearch/v1'; @@ -160,7 +161,6 @@ export {pubsub_v1beta1a} from './apis/pubsub/v1beta1a'; export {pubsub_v1beta2} from './apis/pubsub/v1beta2'; export {redis_v1beta1} from './apis/redis/v1beta1'; export {replicapool_v1beta1} from './apis/replicapool/v1beta1'; -export {replicapool_v1beta2} from './apis/replicapool/v1beta2'; export {replicapoolupdater_v1beta1} from './apis/replicapoolupdater/v1beta1'; export {reseller_v1} from './apis/reseller/v1'; export {runtimeconfig_v1} from './apis/runtimeconfig/v1'; From ee7024487b9b4e8c3f8abe57c7c1f94f726286eb Mon Sep 17 00:00:00 2001 From: Justin Beckwith Date: Wed, 13 Jun 2018 20:03:31 -0700 Subject: [PATCH 2/2] add readme and package.json --- Makefile | 1 + package-lock.json | 1002 ++++++++-------------- package.json | 1 + src/generator/generator.ts | 15 +- src/generator/templates/README.md.njk | 27 + src/generator/templates/package.json.njk | 24 + 6 files changed, 437 insertions(+), 633 deletions(-) create mode 100644 src/generator/templates/README.md.njk create mode 100644 src/generator/templates/package.json.njk diff --git a/Makefile b/Makefile index d23e5fd1dbb..2d8306ecda9 100644 --- a/Makefile +++ b/Makefile @@ -4,6 +4,7 @@ PATH := $(shell npm bin):$(PATH) build: tsc -v && tsc -p . + copyfiles src/apis/**/README.md src/apis/**/package.json build build-tools: tsc -p tsconfig.tools.json diff --git a/package-lock.json b/package-lock.json index 44f3828c6c6..c85dc4d6432 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,9 +1,126 @@ { "name": "googleapis", - "version": "31.0.2", + "version": "32.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { + "@babel/code-frame": { + "version": "7.0.0-beta.49", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.0.0-beta.49.tgz", + "integrity": "sha1-vs2AVIJzREDJ0TfkbXc0DmTX9Rs=", + "dev": true, + "requires": { + "@babel/highlight": "7.0.0-beta.49" + } + }, + "@babel/generator": { + "version": "7.0.0-beta.49", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.0.0-beta.49.tgz", + "integrity": "sha1-6c/9qROZaszseTu8JauRvBnQv3o=", + "dev": true, + "requires": { + "@babel/types": "7.0.0-beta.49", + "jsesc": "^2.5.1", + "lodash": "^4.17.5", + "source-map": "^0.5.0", + "trim-right": "^1.0.1" + }, + "dependencies": { + "source-map": { + "version": "0.5.7", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz", + "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=", + "dev": true + } + } + }, + "@babel/helper-function-name": { + "version": "7.0.0-beta.49", + "resolved": "https://registry.npmjs.org/@babel/helper-function-name/-/helper-function-name-7.0.0-beta.49.tgz", + "integrity": "sha1-olwRGbnwNSeGcBJuAiXAMEHI3jI=", + "dev": true, + "requires": { + "@babel/helper-get-function-arity": "7.0.0-beta.49", + "@babel/template": "7.0.0-beta.49", + "@babel/types": "7.0.0-beta.49" + } + }, + "@babel/helper-get-function-arity": { + "version": "7.0.0-beta.49", + "resolved": "https://registry.npmjs.org/@babel/helper-get-function-arity/-/helper-get-function-arity-7.0.0-beta.49.tgz", + "integrity": "sha1-z1Aj8y0q2S0Ic3STnOwJUby1FEE=", + "dev": true, + "requires": { + "@babel/types": "7.0.0-beta.49" + } + }, + "@babel/helper-split-export-declaration": { + "version": "7.0.0-beta.49", + "resolved": "https://registry.npmjs.org/@babel/helper-split-export-declaration/-/helper-split-export-declaration-7.0.0-beta.49.tgz", + "integrity": "sha1-QNeO2glo0BGxxShm5XRs+yPldUg=", + "dev": true, + "requires": { + "@babel/types": "7.0.0-beta.49" + } + }, + "@babel/highlight": { + "version": "7.0.0-beta.49", + "resolved": "https://registry.npmjs.org/@babel/highlight/-/highlight-7.0.0-beta.49.tgz", + "integrity": "sha1-lr3GtD4TSCASumaRsQGEktOWIsw=", + "dev": true, + "requires": { + "chalk": "^2.0.0", + "esutils": "^2.0.2", + "js-tokens": "^3.0.0" + } + }, + "@babel/parser": { + "version": "7.0.0-beta.49", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.0.0-beta.49.tgz", + "integrity": "sha1-lE0MW6KBK7FZ7b0iZ0Ov0mUXm9w=", + "dev": true + }, + "@babel/template": { + "version": "7.0.0-beta.49", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.0.0-beta.49.tgz", + "integrity": "sha1-44q+ghfLl5P0YaUwbXrXRdg+HSc=", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0-beta.49", + "@babel/parser": "7.0.0-beta.49", + "@babel/types": "7.0.0-beta.49", + "lodash": "^4.17.5" + } + }, + "@babel/traverse": { + "version": "7.0.0-beta.49", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.0.0-beta.49.tgz", + "integrity": "sha1-TypzaCoYM07WYl0QCo0nMZ98LWg=", + "dev": true, + "requires": { + "@babel/code-frame": "7.0.0-beta.49", + "@babel/generator": "7.0.0-beta.49", + "@babel/helper-function-name": "7.0.0-beta.49", + "@babel/helper-split-export-declaration": "7.0.0-beta.49", + "@babel/parser": "7.0.0-beta.49", + "@babel/types": "7.0.0-beta.49", + "debug": "^3.1.0", + "globals": "^11.1.0", + "invariant": "^2.2.0", + "lodash": "^4.17.5" + } + }, + "@babel/types": { + "version": "7.0.0-beta.49", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.0.0-beta.49.tgz", + "integrity": "sha1-t+Oxw/TUz+Eb34yJ8e/V4WF7h6Y=", + "dev": true, + "requires": { + "esutils": "^2.0.2", + "lodash": "^4.17.5", + "to-fast-properties": "^2.0.0" + } + }, "@types/body-parser": { "version": "1.17.0", "resolved": "https://registry.npmjs.org/@types/body-parser/-/body-parser-1.17.0.tgz", @@ -1198,6 +1315,73 @@ "integrity": "sha1-Z29us8OZl8LuGsOpJP1hJHSPV40=", "dev": true }, + "copyfiles": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/copyfiles/-/copyfiles-2.0.0.tgz", + "integrity": "sha512-NSSJdwCH27/hEiBlhkXYWh3AaPo8IATxLX5XtJQgknOvOehrREtETsGd/BNr2vuj0URgKBC/50PNRM3yShQGJQ==", + "dev": true, + "requires": { + "glob": "^7.0.5", + "minimatch": "^3.0.3", + "mkdirp": "^0.5.1", + "noms": "0.0.0", + "through2": "^2.0.1", + "yargs": "^11.0.0" + }, + "dependencies": { + "cliui": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-4.1.0.tgz", + "integrity": "sha512-4FG+RSG9DL7uEwRUZXZn3SS34DiDPfzP0VOiEwtUWlE+AR2EIg+hSyvrIgUUfhdgR/UkAeW2QHgeP+hWrXs7jQ==", + "dev": true, + "requires": { + "string-width": "^2.1.1", + "strip-ansi": "^4.0.0", + "wrap-ansi": "^2.0.0" + } + }, + "os-locale": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/os-locale/-/os-locale-2.1.0.tgz", + "integrity": "sha512-3sslG3zJbEYcaC4YVAvDorjGxc7tv6KVATnLPZONiljsUncvihe9BQoVCEs0RZ1kmf4Hk9OBqlZfJZWI4GanKA==", + "dev": true, + "requires": { + "execa": "^0.7.0", + "lcid": "^1.0.0", + "mem": "^1.1.0" + } + }, + "yargs": { + "version": "11.0.0", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-11.0.0.tgz", + "integrity": "sha512-Rjp+lMYQOWtgqojx1dEWorjCofi1YN7AoFvYV7b1gx/7dAAeuI4kN5SZiEvr0ZmsZTOpDRcCqrpI10L31tFkBw==", + "dev": true, + "requires": { + "cliui": "^4.0.0", + "decamelize": "^1.1.1", + "find-up": "^2.1.0", + "get-caller-file": "^1.0.1", + "os-locale": "^2.0.0", + "require-directory": "^2.1.1", + "require-main-filename": "^1.0.1", + "set-blocking": "^2.0.0", + "string-width": "^2.0.0", + "which-module": "^2.0.0", + "y18n": "^3.2.1", + "yargs-parser": "^9.0.2" + } + }, + "yargs-parser": { + "version": "9.0.2", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-9.0.2.tgz", + "integrity": "sha1-nM9qQ0YP5O1Aqbto9I1DuKaMwHc=", + "dev": true, + "requires": { + "camelcase": "^4.1.0" + } + } + } + }, "core-js": { "version": "2.5.7", "resolved": "https://registry.npmjs.org/core-js/-/core-js-2.5.7.tgz", @@ -3142,6 +3326,12 @@ "retry-axios": "0.3.2" } }, + "get-caller-file": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-1.0.2.tgz", + "integrity": "sha1-9wLmMSfn4jHBYKgMFVSstw1QR+U=", + "dev": true + }, "get-func-name": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/get-func-name/-/get-func-name-2.0.0.tgz", @@ -3589,6 +3779,15 @@ "integrity": "sha1-ftGxQQxqDg94z5XTuEQMY/eLhhQ=", "dev": true }, + "invariant": { + "version": "2.2.4", + "resolved": "https://registry.npmjs.org/invariant/-/invariant-2.2.4.tgz", + "integrity": "sha512-phJfQVBuaJM5raOpJjSfkiD6BpbCE4Ns//LaXl6wGYtUBY83nWS6Rf9tXm2e8VaK60JEjYldbPif/A2B1C2gNA==", + "dev": true, + "requires": { + "loose-envify": "^1.0.0" + } + }, "invert-kv": { "version": "1.0.0", "resolved": "https://registry.npmjs.org/invert-kv/-/invert-kv-1.0.0.tgz", @@ -3943,6 +4142,27 @@ "integrity": "sha1-R+Y/evVa+m+S4VAOaQ64uFKcCZo=", "dev": true }, + "istanbul-lib-coverage": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.0.tgz", + "integrity": "sha512-yMSw5xLIbdaxiVXHk3amfNM2WeBxLrwH/BCyZ9HvA/fylwziAIJOG2rKqWyLqEJqwKT725vxxqidv+SyynnGAA==", + "dev": true + }, + "istanbul-lib-instrument": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-2.2.0.tgz", + "integrity": "sha512-ozQGtlIw+/a/F3n6QwWiuuyRAPp64+g2GVsKYsIez0sgIEzkU5ZpL2uZ5pmAzbEJ82anlRaPlOQZzkRXspgJyg==", + "dev": true, + "requires": { + "@babel/generator": "7.0.0-beta.49", + "@babel/parser": "7.0.0-beta.49", + "@babel/template": "7.0.0-beta.49", + "@babel/traverse": "7.0.0-beta.49", + "@babel/types": "7.0.0-beta.49", + "istanbul-lib-coverage": "^2.0.0", + "semver": "^5.5.0" + } + }, "js-green-licenses": { "version": "0.5.0", "resolved": "https://registry.npmjs.org/js-green-licenses/-/js-green-licenses-0.5.0.tgz", @@ -3982,6 +4202,12 @@ "dev": true, "optional": true }, + "jsesc": { + "version": "2.5.1", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-2.5.1.tgz", + "integrity": "sha1-5CGiqOINawgZ3yiQj3glJrlt0f4=", + "dev": true + }, "json-parse-better-errors": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/json-parse-better-errors/-/json-parse-better-errors-1.0.2.tgz", @@ -4223,6 +4449,15 @@ "integrity": "sha1-hxDXrwqmJvj/+hzgAWhUUmMlV0g=", "dev": true }, + "mem": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/mem/-/mem-1.1.0.tgz", + "integrity": "sha1-Xt1StIXKHZAP5kiVUFOZoN+kX3Y=", + "dev": true, + "requires": { + "mimic-fn": "^1.0.0" + } + }, "meow": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/meow/-/meow-5.0.0.tgz", @@ -4561,6 +4796,42 @@ "resolved": "https://registry.npmjs.org/node-forge/-/node-forge-0.7.5.tgz", "integrity": "sha512-MmbQJ2MTESTjt3Gi/3yG1wGpIMhUfcIypUCGtTizFR9IiccFwxSpfp0vtIZlkFclEqERemxfnSdZEMR9VqqEFQ==" }, + "noms": { + "version": "0.0.0", + "resolved": "https://registry.npmjs.org/noms/-/noms-0.0.0.tgz", + "integrity": "sha1-2o69nzr51nYJGbJ9nNyAkqczKFk=", + "dev": true, + "requires": { + "inherits": "^2.0.1", + "readable-stream": "~1.0.31" + }, + "dependencies": { + "isarray": { + "version": "0.0.1", + "resolved": "https://registry.npmjs.org/isarray/-/isarray-0.0.1.tgz", + "integrity": "sha1-ihis/Kmo9Bd+Cav8YDiTmwXR7t8=", + "dev": true + }, + "readable-stream": { + "version": "1.0.34", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-1.0.34.tgz", + "integrity": "sha1-Elgg40vIQtLyqq+v5MKRbuMsFXw=", + "dev": true, + "requires": { + "core-util-is": "~1.0.0", + "inherits": "~2.0.1", + "isarray": "0.0.1", + "string_decoder": "~0.10.x" + } + }, + "string_decoder": { + "version": "0.10.31", + "resolved": "https://registry.npmjs.org/string_decoder/-/string_decoder-0.10.31.tgz", + "integrity": "sha1-YuIDvEF2bGwoyfyEMB2rHFMQ+pQ=", + "dev": true + } + } + }, "normalize-package-data": { "version": "2.4.0", "resolved": "https://registry.npmjs.org/normalize-package-data/-/normalize-package-data-2.4.0.tgz", @@ -4623,9 +4894,9 @@ } }, "nyc": { - "version": "11.8.0", - "resolved": "https://registry.npmjs.org/nyc/-/nyc-11.8.0.tgz", - "integrity": "sha512-PUFq1PSsx5OinSk5g5aaZygcDdI3QQT5XUlbR9QRMihtMS6w0Gm8xj4BxmKeeAlpQXC5M2DIhH16Y+KejceivQ==", + "version": "12.0.2", + "resolved": "https://registry.npmjs.org/nyc/-/nyc-12.0.2.tgz", + "integrity": "sha1-ikpO1pCWbBHsWH/4fuoMEsl0upk=", "dev": true, "requires": { "archy": "^1.0.0", @@ -4638,12 +4909,12 @@ "find-up": "^2.1.0", "foreground-child": "^1.5.3", "glob": "^7.0.6", - "istanbul-lib-coverage": "^1.1.2", + "istanbul-lib-coverage": "^1.2.0", "istanbul-lib-hook": "^1.1.0", - "istanbul-lib-instrument": "^1.10.0", + "istanbul-lib-instrument": "^2.1.0", "istanbul-lib-report": "^1.1.3", - "istanbul-lib-source-maps": "^1.2.3", - "istanbul-reports": "^1.4.0", + "istanbul-lib-source-maps": "^1.2.5", + "istanbul-reports": "^1.4.1", "md5-hex": "^1.2.0", "merge-source-map": "^1.1.0", "micromatch": "^3.1.10", @@ -4673,12 +4944,7 @@ "dev": true }, "ansi-regex": { - "version": "2.1.1", - "bundled": true, - "dev": true - }, - "ansi-styles": { - "version": "2.2.1", + "version": "3.0.0", "bundled": true, "dev": true }, @@ -4735,92 +5001,6 @@ "bundled": true, "dev": true }, - "babel-code-frame": { - "version": "6.26.0", - "bundled": true, - "dev": true, - "requires": { - "chalk": "^1.1.3", - "esutils": "^2.0.2", - "js-tokens": "^3.0.2" - } - }, - "babel-generator": { - "version": "6.26.1", - "bundled": true, - "dev": true, - "requires": { - "babel-messages": "^6.23.0", - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "detect-indent": "^4.0.0", - "jsesc": "^1.3.0", - "lodash": "^4.17.4", - "source-map": "^0.5.7", - "trim-right": "^1.0.1" - } - }, - "babel-messages": { - "version": "6.23.0", - "bundled": true, - "dev": true, - "requires": { - "babel-runtime": "^6.22.0" - } - }, - "babel-runtime": { - "version": "6.26.0", - "bundled": true, - "dev": true, - "requires": { - "core-js": "^2.4.0", - "regenerator-runtime": "^0.11.0" - } - }, - "babel-template": { - "version": "6.26.0", - "bundled": true, - "dev": true, - "requires": { - "babel-runtime": "^6.26.0", - "babel-traverse": "^6.26.0", - "babel-types": "^6.26.0", - "babylon": "^6.18.0", - "lodash": "^4.17.4" - } - }, - "babel-traverse": { - "version": "6.26.0", - "bundled": true, - "dev": true, - "requires": { - "babel-code-frame": "^6.26.0", - "babel-messages": "^6.23.0", - "babel-runtime": "^6.26.0", - "babel-types": "^6.26.0", - "babylon": "^6.18.0", - "debug": "^2.6.8", - "globals": "^9.18.0", - "invariant": "^2.2.2", - "lodash": "^4.17.4" - } - }, - "babel-types": { - "version": "6.26.0", - "bundled": true, - "dev": true, - "requires": { - "babel-runtime": "^6.26.0", - "esutils": "^2.0.2", - "lodash": "^4.17.4", - "to-fast-properties": "^1.0.3" - } - }, - "babylon": { - "version": "6.18.0", - "bundled": true, - "dev": true - }, "balanced-match": { "version": "1.0.0", "bundled": true, @@ -4874,11 +5054,6 @@ "kind-of": "^6.0.2" } }, - "isobject": { - "version": "3.0.1", - "bundled": true, - "dev": true - }, "kind-of": { "version": "6.0.2", "bundled": true, @@ -4941,13 +5116,6 @@ "to-object-path": "^0.3.0", "union-value": "^1.0.0", "unset-value": "^1.0.0" - }, - "dependencies": { - "isobject": { - "version": "3.0.1", - "bundled": true, - "dev": true - } } }, "caching-transform": { @@ -4976,18 +5144,6 @@ "lazy-cache": "^1.0.3" } }, - "chalk": { - "version": "1.1.3", - "bundled": true, - "dev": true, - "requires": { - "ansi-styles": "^2.2.1", - "escape-string-regexp": "^1.0.2", - "has-ansi": "^2.0.0", - "strip-ansi": "^3.0.0", - "supports-color": "^2.0.0" - } - }, "class-utils": { "version": "0.3.6", "bundled": true, @@ -5006,11 +5162,6 @@ "requires": { "is-descriptor": "^0.1.0" } - }, - "isobject": { - "version": "3.0.1", - "bundled": true, - "dev": true } } }, @@ -5072,11 +5223,6 @@ "bundled": true, "dev": true }, - "core-js": { - "version": "2.5.6", - "bundled": true, - "dev": true - }, "cross-spawn": { "version": "4.0.2", "bundled": true, @@ -5087,7 +5233,7 @@ } }, "debug": { - "version": "2.6.9", + "version": "3.1.0", "bundled": true, "dev": true, "requires": { @@ -5152,11 +5298,6 @@ "kind-of": "^6.0.2" } }, - "isobject": { - "version": "3.0.1", - "bundled": true, - "dev": true - }, "kind-of": { "version": "6.0.2", "bundled": true, @@ -5164,14 +5305,6 @@ } } }, - "detect-indent": { - "version": "4.0.0", - "bundled": true, - "dev": true, - "requires": { - "repeating": "^2.0.0" - } - }, "error-ex": { "version": "1.3.1", "bundled": true, @@ -5180,16 +5313,6 @@ "is-arrayish": "^0.2.1" } }, - "escape-string-regexp": { - "version": "1.0.5", - "bundled": true, - "dev": true - }, - "esutils": { - "version": "2.0.2", - "bundled": true, - "dev": true - }, "execa": { "version": "0.7.0", "bundled": true, @@ -5230,6 +5353,14 @@ "to-regex": "^3.0.1" }, "dependencies": { + "debug": { + "version": "2.6.9", + "bundled": true, + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, "define-property": { "version": "0.2.5", "bundled": true, @@ -5425,13 +5556,8 @@ "path-is-absolute": "^1.0.0" } }, - "globals": { - "version": "9.18.0", - "bundled": true, - "dev": true - }, - "graceful-fs": { - "version": "4.1.11", + "graceful-fs": { + "version": "4.1.11", "bundled": true, "dev": true }, @@ -5456,19 +5582,6 @@ } } }, - "has-ansi": { - "version": "2.0.0", - "bundled": true, - "dev": true, - "requires": { - "ansi-regex": "^2.0.0" - } - }, - "has-flag": { - "version": "1.0.0", - "bundled": true, - "dev": true - }, "has-value": { "version": "1.0.0", "bundled": true, @@ -5477,13 +5590,6 @@ "get-value": "^2.0.6", "has-values": "^1.0.0", "isobject": "^3.0.0" - }, - "dependencies": { - "isobject": { - "version": "3.0.1", - "bundled": true, - "dev": true - } } }, "has-values": { @@ -5495,24 +5601,6 @@ "kind-of": "^4.0.0" }, "dependencies": { - "is-number": { - "version": "3.0.0", - "bundled": true, - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "bundled": true, - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, "kind-of": { "version": "4.0.0", "bundled": true, @@ -5547,14 +5635,6 @@ "bundled": true, "dev": true }, - "invariant": { - "version": "2.2.4", - "bundled": true, - "dev": true, - "requires": { - "loose-envify": "^1.0.0" - } - }, "invert-kv": { "version": "1.0.0", "bundled": true, @@ -5616,14 +5696,6 @@ "bundled": true, "dev": true }, - "is-finite": { - "version": "1.0.2", - "bundled": true, - "dev": true, - "requires": { - "number-is-nan": "^1.0.0" - } - }, "is-fullwidth-code-point": { "version": "2.0.0", "bundled": true, @@ -5658,13 +5730,6 @@ "dev": true, "requires": { "isobject": "^3.0.1" - }, - "dependencies": { - "isobject": { - "version": "3.0.1", - "bundled": true, - "dev": true - } } }, "is-stream": { @@ -5710,20 +5775,6 @@ "append-transform": "^0.4.0" } }, - "istanbul-lib-instrument": { - "version": "1.10.1", - "bundled": true, - "dev": true, - "requires": { - "babel-generator": "^6.18.0", - "babel-template": "^6.16.0", - "babel-traverse": "^6.18.0", - "babel-types": "^6.18.0", - "babylon": "^6.18.0", - "istanbul-lib-coverage": "^1.2.0", - "semver": "^5.3.0" - } - }, "istanbul-lib-report": { "version": "1.1.3", "bundled": true, @@ -5735,6 +5786,11 @@ "supports-color": "^3.1.2" }, "dependencies": { + "has-flag": { + "version": "1.0.0", + "bundled": true, + "dev": true + }, "supports-color": { "version": "3.2.3", "bundled": true, @@ -5746,45 +5802,25 @@ } }, "istanbul-lib-source-maps": { - "version": "1.2.3", + "version": "1.2.5", "bundled": true, "dev": true, "requires": { "debug": "^3.1.0", - "istanbul-lib-coverage": "^1.1.2", + "istanbul-lib-coverage": "^1.2.0", "mkdirp": "^0.5.1", "rimraf": "^2.6.1", "source-map": "^0.5.3" - }, - "dependencies": { - "debug": { - "version": "3.1.0", - "bundled": true, - "dev": true, - "requires": { - "ms": "2.0.0" - } - } } }, "istanbul-reports": { - "version": "1.4.0", + "version": "1.4.1", "bundled": true, "dev": true, "requires": { "handlebars": "^4.0.3" } }, - "js-tokens": { - "version": "3.0.2", - "bundled": true, - "dev": true - }, - "jsesc": { - "version": "1.3.0", - "bundled": true, - "dev": true - }, "kind-of": { "version": "3.2.2", "bundled": true, @@ -5835,24 +5871,11 @@ } } }, - "lodash": { - "version": "4.17.10", - "bundled": true, - "dev": true - }, "longest": { "version": "1.0.1", "bundled": true, "dev": true }, - "loose-envify": { - "version": "1.3.1", - "bundled": true, - "dev": true, - "requires": { - "js-tokens": "^3.0.0" - } - }, "lru-cache": { "version": "4.1.3", "bundled": true, @@ -6007,16 +6030,6 @@ "to-regex": "^3.0.1" }, "dependencies": { - "arr-diff": { - "version": "4.0.0", - "bundled": true, - "dev": true - }, - "array-unique": { - "version": "0.3.2", - "bundled": true, - "dev": true - }, "kind-of": { "version": "6.0.2", "bundled": true, @@ -6079,13 +6092,6 @@ "dev": true, "requires": { "isobject": "^3.0.0" - }, - "dependencies": { - "isobject": { - "version": "3.0.1", - "bundled": true, - "dev": true - } } }, "object.pick": { @@ -6094,13 +6100,6 @@ "dev": true, "requires": { "isobject": "^3.0.1" - }, - "dependencies": { - "isobject": { - "version": "3.0.1", - "bundled": true, - "dev": true - } } }, "once": { @@ -6284,11 +6283,6 @@ } } }, - "regenerator-runtime": { - "version": "0.11.1", - "bundled": true, - "dev": true - }, "regex-not": { "version": "1.0.2", "bundled": true, @@ -6308,14 +6302,6 @@ "bundled": true, "dev": true }, - "repeating": { - "version": "2.0.1", - "bundled": true, - "dev": true, - "requires": { - "is-finite": "^1.0.0" - } - }, "require-directory": { "version": "2.1.1", "bundled": true, @@ -6435,6 +6421,14 @@ "use": "^3.1.0" }, "dependencies": { + "debug": { + "version": "2.6.9", + "bundled": true, + "dev": true, + "requires": { + "ms": "2.0.0" + } + }, "define-property": { "version": "0.2.5", "bundled": true, @@ -6497,11 +6491,6 @@ "kind-of": "^6.0.2" } }, - "isobject": { - "version": "3.0.1", - "bundled": true, - "dev": true - }, "kind-of": { "version": "6.0.2", "bundled": true, @@ -6523,11 +6512,11 @@ "dev": true }, "source-map-resolve": { - "version": "0.5.1", + "version": "0.5.2", "bundled": true, "dev": true, "requires": { - "atob": "^2.0.0", + "atob": "^2.1.1", "decode-uri-component": "^0.2.0", "resolve-url": "^0.2.1", "source-map-url": "^0.4.0", @@ -6614,29 +6603,14 @@ "requires": { "is-fullwidth-code-point": "^2.0.0", "strip-ansi": "^4.0.0" - }, - "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "bundled": true, - "dev": true - }, - "strip-ansi": { - "version": "4.0.0", - "bundled": true, - "dev": true, - "requires": { - "ansi-regex": "^3.0.0" - } - } } }, "strip-ansi": { - "version": "3.0.1", + "version": "4.0.0", "bundled": true, "dev": true, "requires": { - "ansi-regex": "^2.0.0" + "ansi-regex": "^3.0.0" } }, "strip-bom": { @@ -6652,11 +6626,6 @@ "bundled": true, "dev": true }, - "supports-color": { - "version": "2.0.0", - "bundled": true, - "dev": true - }, "test-exclude": { "version": "4.2.1", "bundled": true, @@ -6667,263 +6636,8 @@ "object-assign": "^4.1.0", "read-pkg-up": "^1.0.1", "require-main-filename": "^1.0.1" - }, - "dependencies": { - "arr-diff": { - "version": "4.0.0", - "bundled": true, - "dev": true - }, - "array-unique": { - "version": "0.3.2", - "bundled": true, - "dev": true - }, - "braces": { - "version": "2.3.2", - "bundled": true, - "dev": true, - "requires": { - "arr-flatten": "^1.1.0", - "array-unique": "^0.3.2", - "extend-shallow": "^2.0.1", - "fill-range": "^4.0.0", - "isobject": "^3.0.1", - "repeat-element": "^1.1.2", - "snapdragon": "^0.8.1", - "snapdragon-node": "^2.0.1", - "split-string": "^3.0.2", - "to-regex": "^3.0.1" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "bundled": true, - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "expand-brackets": { - "version": "2.1.4", - "bundled": true, - "dev": true, - "requires": { - "debug": "^2.3.3", - "define-property": "^0.2.5", - "extend-shallow": "^2.0.1", - "posix-character-classes": "^0.1.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "dependencies": { - "define-property": { - "version": "0.2.5", - "bundled": true, - "dev": true, - "requires": { - "is-descriptor": "^0.1.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "bundled": true, - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - }, - "is-accessor-descriptor": { - "version": "0.1.6", - "bundled": true, - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "bundled": true, - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-data-descriptor": { - "version": "0.1.4", - "bundled": true, - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "bundled": true, - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "is-descriptor": { - "version": "0.1.6", - "bundled": true, - "dev": true, - "requires": { - "is-accessor-descriptor": "^0.1.6", - "is-data-descriptor": "^0.1.4", - "kind-of": "^5.0.0" - } - }, - "kind-of": { - "version": "5.1.0", - "bundled": true, - "dev": true - } - } - }, - "extglob": { - "version": "2.0.4", - "bundled": true, - "dev": true, - "requires": { - "array-unique": "^0.3.2", - "define-property": "^1.0.0", - "expand-brackets": "^2.1.4", - "extend-shallow": "^2.0.1", - "fragment-cache": "^0.2.1", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.1" - }, - "dependencies": { - "define-property": { - "version": "1.0.0", - "bundled": true, - "dev": true, - "requires": { - "is-descriptor": "^1.0.0" - } - }, - "extend-shallow": { - "version": "2.0.1", - "bundled": true, - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "fill-range": { - "version": "4.0.0", - "bundled": true, - "dev": true, - "requires": { - "extend-shallow": "^2.0.1", - "is-number": "^3.0.0", - "repeat-string": "^1.6.1", - "to-regex-range": "^2.1.0" - }, - "dependencies": { - "extend-shallow": { - "version": "2.0.1", - "bundled": true, - "dev": true, - "requires": { - "is-extendable": "^0.1.0" - } - } - } - }, - "is-accessor-descriptor": { - "version": "1.0.0", - "bundled": true, - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-data-descriptor": { - "version": "1.0.0", - "bundled": true, - "dev": true, - "requires": { - "kind-of": "^6.0.0" - } - }, - "is-descriptor": { - "version": "1.0.2", - "bundled": true, - "dev": true, - "requires": { - "is-accessor-descriptor": "^1.0.0", - "is-data-descriptor": "^1.0.0", - "kind-of": "^6.0.2" - } - }, - "is-number": { - "version": "3.0.0", - "bundled": true, - "dev": true, - "requires": { - "kind-of": "^3.0.2" - }, - "dependencies": { - "kind-of": { - "version": "3.2.2", - "bundled": true, - "dev": true, - "requires": { - "is-buffer": "^1.1.5" - } - } - } - }, - "isobject": { - "version": "3.0.1", - "bundled": true, - "dev": true - }, - "kind-of": { - "version": "6.0.2", - "bundled": true, - "dev": true - }, - "micromatch": { - "version": "3.1.10", - "bundled": true, - "dev": true, - "requires": { - "arr-diff": "^4.0.0", - "array-unique": "^0.3.2", - "braces": "^2.3.1", - "define-property": "^2.0.2", - "extend-shallow": "^3.0.2", - "extglob": "^2.0.4", - "fragment-cache": "^0.2.1", - "kind-of": "^6.0.2", - "nanomatch": "^1.2.9", - "object.pick": "^1.3.0", - "regex-not": "^1.0.0", - "snapdragon": "^0.8.1", - "to-regex": "^3.0.2" - } - } } }, - "to-fast-properties": { - "version": "1.0.3", - "bundled": true, - "dev": true - }, "to-object-path": { "version": "0.3.0", "bundled": true, @@ -6950,23 +6664,8 @@ "requires": { "is-number": "^3.0.0", "repeat-string": "^1.6.1" - }, - "dependencies": { - "is-number": { - "version": "3.0.0", - "bundled": true, - "dev": true, - "requires": { - "kind-of": "^3.0.2" - } - } } }, - "trim-right": { - "version": "1.0.1", - "bundled": true, - "dev": true - }, "uglify-js": { "version": "2.8.29", "bundled": true, @@ -7063,11 +6762,6 @@ "version": "0.1.4", "bundled": true, "dev": true - }, - "isobject": { - "version": "3.0.1", - "bundled": true, - "dev": true } } }, @@ -7101,7 +6795,7 @@ } }, "which": { - "version": "1.3.0", + "version": "1.3.1", "bundled": true, "dev": true, "requires": { @@ -7133,6 +6827,11 @@ "strip-ansi": "^3.0.1" }, "dependencies": { + "ansi-regex": { + "version": "2.1.1", + "bundled": true, + "dev": true + }, "is-fullwidth-code-point": { "version": "1.0.0", "bundled": true, @@ -7150,6 +6849,14 @@ "is-fullwidth-code-point": "^1.0.0", "strip-ansi": "^3.0.0" } + }, + "strip-ansi": { + "version": "3.0.1", + "bundled": true, + "dev": true, + "requires": { + "ansi-regex": "^2.0.0" + } } } }, @@ -7197,11 +6904,6 @@ "yargs-parser": "^9.0.2" }, "dependencies": { - "ansi-regex": { - "version": "3.0.0", - "bundled": true, - "dev": true - }, "camelcase": { "version": "4.1.0", "bundled": true, @@ -7217,14 +6919,6 @@ "wrap-ansi": "^2.0.0" } }, - "strip-ansi": { - "version": "4.0.0", - "bundled": true, - "dev": true, - "requires": { - "ansi-regex": "^3.0.0" - } - }, "yargs-parser": { "version": "9.0.2", "bundled": true, @@ -7929,6 +7623,18 @@ "uuid": "^3.1.0" } }, + "require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha1-jGStX9MNqxyXbiNE/+f3kqam30I=", + "dev": true + }, + "require-main-filename": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/require-main-filename/-/require-main-filename-1.0.1.tgz", + "integrity": "sha1-l/cXtp1IeE9fUmpsWqj/3aBVpNE=", + "dev": true + }, "require-uncached": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/require-uncached/-/require-uncached-1.0.3.tgz", @@ -8148,6 +7854,12 @@ "integrity": "sha1-8Tv5KOQrnD55OD5hzDmYtdFObN0=", "dev": true }, + "set-blocking": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/set-blocking/-/set-blocking-2.0.0.tgz", + "integrity": "sha1-BF+XgtARrppoA93TgrJDkrPYkPc=", + "dev": true + }, "set-immediate-shim": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz", @@ -8620,6 +8332,16 @@ "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", "dev": true }, + "through2": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/through2/-/through2-2.0.3.tgz", + "integrity": "sha1-AARWmzfHx0ujnEPzzteNGtlBQL4=", + "dev": true, + "requires": { + "readable-stream": "^2.1.5", + "xtend": "~4.0.1" + } + }, "timed-out": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/timed-out/-/timed-out-4.0.1.tgz", @@ -8635,6 +8357,12 @@ "os-tmpdir": "~1.0.2" } }, + "to-fast-properties": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/to-fast-properties/-/to-fast-properties-2.0.0.tgz", + "integrity": "sha1-3F5pjL0HkmW8c+A3doGk5Og/YW4=", + "dev": true + }, "to-object-path": { "version": "0.3.0", "resolved": "https://registry.npmjs.org/to-object-path/-/to-object-path-0.3.0.tgz", @@ -8692,6 +8420,12 @@ "integrity": "sha1-tAPQuRvlDDMd/EuC7s6yLD3hbSA=", "dev": true }, + "trim-right": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/trim-right/-/trim-right-1.0.1.tgz", + "integrity": "sha1-yy4SAwZ+DI3h9hQJS5/kVwTqYAM=", + "dev": true + }, "tslib": { "version": "1.9.2", "resolved": "https://registry.npmjs.org/tslib/-/tslib-1.9.2.tgz", @@ -9160,6 +8894,12 @@ "isexe": "^2.0.0" } }, + "which-module": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/which-module/-/which-module-2.0.0.tgz", + "integrity": "sha1-2e8H3Od7mQK4o6j6SzHD4/fm6Ho=", + "dev": true + }, "widest-line": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/widest-line/-/widest-line-2.0.0.tgz", diff --git a/package.json b/package.json index 4c8d5c02f4b..8c6a7d72537 100644 --- a/package.json +++ b/package.json @@ -108,6 +108,7 @@ "axios": "^0.18.0", "clang-format": "^1.2.3", "codecov": "^3.0.2", + "copyfiles": "^2.0.0", "express": "^4.16.3", "gh-pages": "^1.1.0", "gts": "^0.6.0", diff --git a/src/generator/generator.ts b/src/generator/generator.ts index 80b38d4f164..bc57ad392d3 100644 --- a/src/generator/generator.ts +++ b/src/generator/generator.ts @@ -208,13 +208,13 @@ export class Generator { })); try { await queue.onIdle(); - await this.generateIndex(); + await this.generateIndex(apis); } catch (e) { console.log(util.inspect(this.state, {maxArrayLength: null})); } } - async generateIndex() { + async generateIndex(metadata: Schema[]) { const apis: {[index: string]: {[index: string]: string}} = {}; const apisPath = path.join(srcPath, 'apis'); const indexPath = path.join(apisPath, 'index.ts'); @@ -233,10 +233,21 @@ export class Generator { const parts = path.parse(version); if (!version.endsWith('.d.ts') && parts.ext === '.ts') { apis[file][version] = parts.name; + const desc = metadata.filter(x => x.name === file)[0].description; + // generate the index.ts const apiIdxPath = path.join(apisPath, file, 'index.ts'); const result = this.env.render('api-index.njk', {name: file, api: apis[file]}); await writeFile(apiIdxPath, result); + // generate the package.json + const pkgPath = path.join(apisPath, file, 'package.json'); + const pkgResult = + this.env.render('package.json.njk', {name: file, desc}); + await writeFile(pkgPath, pkgResult); + // generate the README.md + const rdPath = path.join(apisPath, file, 'README.md'); + const rdResult = this.env.render('README.md.njk', {name: file, desc}); + await writeFile(rdPath, rdResult); } } } diff --git a/src/generator/templates/README.md.njk b/src/generator/templates/README.md.njk new file mode 100644 index 00000000000..de5d6d12015 --- /dev/null +++ b/src/generator/templates/README.md.njk @@ -0,0 +1,27 @@ +Google Inc. logo + +# @google/{{name}} + +> {{desc}} + +## Installation + +```sh +$ npm install @google/{{name}} +``` + +## Usage +All documentation and usage information can be found on [GitHub](https://github.com/google/google-api-nodejs-client). + +## License +This library is licensed under Apache 2.0. Full license text is available in [COPYING](https://github.com/google/google-api-nodejs-client/blob/master/COPYING). + +## Contributing +We love contributions! Before submitting a Pull Request, it's always good to start with a new issue first. To learn more, see [CONTRIBUTING](https://github.com/google/google-api-nodejs-client/blob/master/.github/CONTRIBUTING.md). + +## Questions/problems? +* Ask your development related questions on [StackOverflow](http://stackoverflow.com/questions/tagged/google-api-nodejs-client). +* If you've found an bug/issue, please [file it on GitHub](https://github.com/google/google-api-nodejs-client/issues). + + +*Crafted with ❤️ by the Google Node.js team* diff --git a/src/generator/templates/package.json.njk b/src/generator/templates/package.json.njk new file mode 100644 index 00000000000..01a01d2f990 --- /dev/null +++ b/src/generator/templates/package.json.njk @@ -0,0 +1,24 @@ +{ + "name": "@google/{{name}}", + "version": "0.1.0", + "description": "{{name}}", + "main": "index.js", + "types": "index.d.ts", + "keywords": ["google"], + "author": "Google LLC", + "license": "Apache-2.0", + "homepage": "https://github.com/google/google-api-nodejs-client", + "bugs": { + "url" : "https://github.com/google/google-api-nodejs-client/issues" + }, + "repository": { + "type": "git", + "url" : "https://github.com/google/google-api-nodejs-client.git" + }, + "engines": { + "node": ">=6.0.0" + }, + "dependencies": { + "googleapis-common": "^0.1.0" + } +}