all: update from discovery URL, deleting absences

Update all discovery docs, and in addition delete clients
for which the discovery doc is no longer available.

Change-Id: Id8749ec718000ec14ee7b28eff6314eed4ac9851
Reviewed-on: https://code-review.googlesource.com/13656
Reviewed-by: Sai Cheemalapati <saicheems@google.com>
Reviewed-by: Ross Light <light@google.com>
252 files changed
tree: d8c5f0952316953010ec09ce05a22fbbb9bc7bd7
  1. acceleratedmobilepageurl/
  2. adexchangebuyer/
  3. adexchangebuyer2/
  4. adexchangeseller/
  5. adexperiencereport/
  6. admin/
  7. adsense/
  8. adsensehost/
  9. analytics/
  10. analyticsreporting/
  11. androidenterprise/
  12. androidpublisher/
  13. appengine/
  14. appsactivity/
  15. appstate/
  16. bigquery/
  17. bigquerydatatransfer/
  18. blogger/
  19. books/
  20. calendar/
  21. civicinfo/
  22. classroom/
  23. cloudbilling/
  24. cloudbuild/
  25. clouddebugger/
  26. clouderrorreporting/
  27. cloudfunctions/
  28. cloudkms/
  29. cloudmonitoring/
  30. cloudresourcemanager/
  31. cloudtrace/
  32. clouduseraccounts/
  33. compute/
  34. consumersurveys/
  35. container/
  36. content/
  37. customsearch/
  38. dataflow/
  39. dataproc/
  40. datastore/
  41. deploymentmanager/
  42. dfareporting/
  43. discovery/
  44. dlp/
  45. dns/
  46. doubleclickbidmanager/
  47. doubleclicksearch/
  48. drive/
  49. examples/
  50. firebasedynamiclinks/
  51. firebaserules/
  52. fitness/
  53. fusiontables/
  54. games/
  55. gamesconfiguration/
  56. gamesmanagement/
  57. genomics/
  58. gensupport/
  59. gmail/
  60. google-api-go-generator/
  61. googleapi/
  62. groupsmigration/
  63. groupssettings/
  64. iam/
  65. identitytoolkit/
  66. integration-tests/
  67. internal/
  68. iterator/
  69. kgsearch/
  70. language/
  71. lib/
  72. licensing/
  73. logging/
  74. manufacturers/
  75. mirror/
  76. ml/
  77. monitoring/
  78. oauth2/
  79. option/
  80. pagespeedonline/
  81. partners/
  82. people/
  83. playmoviespartner/
  84. plus/
  85. plusdomains/
  86. prediction/
  87. proximitybeacon/
  88. pubsub/
  89. qpxexpress/
  90. replicapool/
  91. replicapoolupdater/
  92. reseller/
  93. resourceviews/
  94. runtimeconfig/
  95. safebrowsing/
  96. script/
  97. searchconsole/
  98. servicecontrol/
  99. servicemanagement/
  100. serviceuser/
  101. sheets/
  102. siteverification/
  103. slides/
  104. sourcerepo/
  105. spanner/
  106. spectrum/
  107. speech/
  108. sqladmin/
  109. storage/
  110. storagetransfer/
  111. support/
  112. surveys/
  113. tagmanager/
  114. taskqueue/
  115. tasks/
  116. toolresults/
  117. tracing/
  118. translate/
  119. transport/
  120. urlshortener/
  121. videointelligence/
  122. vision/
  123. webfonts/
  124. webmasters/
  125. youtube/
  126. youtubeanalytics/
  127. youtubereporting/
  128. .hgignore
  129. .hgtags
  130. .travis.yml
  131. api-list.json
  132. AUTHORS
  133. CONTRIBUTING.md
  134. CONTRIBUTORS
  135. GettingStarted.md
  136. key.json.enc
  137. LICENSE
  138. Makefile
  139. NOTES
  140. README.md
  141. TODO
README.md

Google APIs Client Library for Go

Status

Build Status

These are auto-generated Go libraries from the Google Discovery Service's JSON description files of the available “new style” Google APIs.

Due to the auto-generated nature of this collection of libraries, complete APIs or specific versions can appear or go away without notice. As a result, you should always locally vendor any API(s) that your code relies upon.

If you're working with Google Cloud Platform APIs such as Datastore or Pub/Sub, consider using the Cloud Client Libraries for Go instead. These are the new and idiomatic Go libraries targeted specifically at Google Cloud Platform Services.

Announcement email:

Getting started documentation:

In summary:

$ go get google.golang.org/api/storage/v1
$ go get google.golang.org/api/tasks/v1
$ go get google.golang.org/api/moderator/v1
... etc ...

For docs, see e.g.:

The package of a given import is the second-to-last component, before the version number.

For examples, see:

For support, use the golang-nuts@ mailing list:

Application Default Credentials Example

Application Default Credentials provide a simplified way to obtain credentials for authenticating with Google APIs.

The Application Default Credentials authenticate as the application itself, which make them great for working with Google Cloud APIs like Storage or Datastore. They are the recommended form of authentication when building applications that run on Google Compute Engine or Google App Engine.

Default credentials are provided by the golang.org/x/oauth2/google package. To use them, add the following import:

import "golang.org/x/oauth2/google"

Some credentials types require you to specify scopes, and service entry points may not inject them. If you encounter this situation you may need to specify scopes as follows:

import (
        "golang.org/x/net/context"
        "golang.org/x/oauth2/google"
        "google.golang.org/api/compute/v1"
)

func main() {
        // Use oauth2.NoContext if there isn't a good context to pass in.
        ctx := context.Background()

        client, err := google.DefaultClient(ctx, compute.ComputeScope)
        if err != nil {
                //...
        }
        computeService, err := compute.New(client)
        if err != nil {
                //...
        }
}

If you need a oauth2.TokenSource, use the DefaultTokenSource function:

ts, err := google.DefaultTokenSource(ctx, scope1, scope2, ...)
if err != nil {
        //...
}
client := oauth2.NewClient(ctx, ts)

See also: golang.org/x/oauth2/google package documentation.