|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| abusiveexperiencereport/v1/ | H | 06-May-2018 | - | 709 | 508 |
| acceleratedmobilepageurl/v1/ | H | 06-May-2018 | - | 619 | 418 |
| adexchangebuyer/ | H | 06-May-2018 | - | 21,135 | 13,458 |
| adexchangebuyer2/v2beta1/ | H | 06-May-2018 | - | 15,450 | 9,357 |
| adexchangeseller/ | H | 06-May-2018 | - | 13,584 | 8,593 |
| adexperiencereport/v1/ | H | 06-May-2018 | - | 786 | 553 |
| admin/ | H | 06-May-2018 | - | 31,846 | 20,329 |
| adsense/ | H | 06-May-2018 | - | 20,736 | 13,088 |
| adsensehost/v4.1/ | H | 06-May-2018 | - | 6,801 | 4,306 |
| analytics/ | H | 06-May-2018 | - | 28,124 | 17,659 |
| analyticsreporting/v4/ | H | 06-May-2018 | - | 3,398 | 1,771 |
| androiddeviceprovisioning/v1/ | H | 06-May-2018 | - | 6,823 | 4,183 |
| androidenterprise/v1/ | H | 06-May-2018 | - | 19,708 | 12,171 |
| androidmanagement/v1/ | H | 06-May-2018 | - | 8,717 | 5,363 |
| androidpublisher/ | H | 06-May-2018 | - | 15,823 | 10,013 |
| appengine/ | H | 06-May-2018 | - | 48,976 | 29,802 |
| appsactivity/v1/ | H | 06-May-2018 | - | 1,278 | 796 |
| appstate/v1/ | H | 06-May-2018 | - | 1,227 | 801 |
| bigquery/v2/ | H | 06-May-2018 | - | 10,390 | 6,274 |
| bigquerydatatransfer/v1/ | H | 06-May-2018 | - | 7,711 | 4,719 |
| blogger/ | H | 06-May-2018 | - | 13,507 | 8,345 |
| books/v1/ | H | 06-May-2018 | - | 18,289 | 11,092 |
| calendar/v3/ | H | 06-May-2018 | - | 11,553 | 6,914 |
| chat/v1/ | H | 06-May-2018 | - | 3,476 | 2,163 |
| civicinfo/v2/ | H | 06-May-2018 | - | 3,663 | 2,229 |
| classroom/v1/ | H | 06-May-2018 | - | 15,442 | 8,845 |
| cloudbilling/v1/ | H | 06-May-2018 | - | 4,325 | 2,473 |
| cloudbuild/v1/ | H | 06-May-2018 | - | 5,123 | 2,999 |
| clouddebugger/v2/ | H | 06-May-2018 | - | 3,869 | 2,186 |
| clouderrorreporting/v1beta1/ | H | 06-May-2018 | - | 2,732 | 1,601 |
| cloudfunctions/ | H | 06-May-2018 | - | 7,549 | 4,499 |
| cloudiot/ | H | 06-May-2018 | - | 11,869 | 7,026 |
| cloudkms/v1/ | H | 06-May-2018 | - | 6,129 | 3,742 |
| cloudmonitoring/v2beta2/ | H | 06-May-2018 | - | 3,088 | 1,844 |
| cloudresourcemanager/ | H | 06-May-2018 | - | 21,918 | 12,443 |
| cloudshell/ | H | 06-May-2018 | - | 3,453 | 2,037 |
| cloudtasks/v2beta2/ | H | 06-May-2018 | - | 7,407 | 3,829 |
| cloudtrace/ | H | 06-May-2018 | - | 3,168 | 1,850 |
| clouduseraccounts/ | H | 06-May-2018 | - | 24,576 | 15,022 |
| composer/v1beta1/ | H | 06-May-2018 | - | 2,978 | 1,627 |
| compute/ | H | 06-May-2018 | - | 431,024 | 252,994 |
| consumersurveys/v2/ | H | 06-May-2018 | - | 3,076 | 2,020 |
| container/ | H | 06-May-2018 | - | 33,556 | 20,194 |
| content/ | H | 06-May-2018 | - | 39,920 | 24,961 |
| customsearch/v1/ | H | 06-May-2018 | - | 3,293 | 1,848 |
| dataflow/v1b3/ | H | 06-May-2018 | - | 17,131 | 9,851 |
| dataproc/ | H | 06-May-2018 | - | 32,627 | 19,885 |
| datastore/ | H | 06-May-2018 | - | 13,012 | 7,412 |
| deploymentmanager/ | H | 06-May-2018 | - | 31,907 | 18,830 |
| dfareporting/ | H | 06-May-2018 | - | 208,605 | 128,219 |
| dialogflow/ | H | 06-May-2018 | - | 31,718 | 18,289 |
| digitalassetlinks/v1/ | H | 06-May-2018 | - | 1,612 | 733 |
| discovery/v1/ | H | 06-May-2018 | - | 1,919 | 1,201 |
| dlp/ | H | 06-May-2018 | - | 44,251 | 25,268 |
| dns/ | H | 06-May-2018 | - | 15,564 | 9,657 |
| doubleclickbidmanager/v1/ | H | 06-May-2018 | - | 4,891 | 3,197 |
| doubleclicksearch/v2/ | H | 06-May-2018 | - | 3,579 | 2,279 |
| drive/ | H | 06-May-2018 | - | 31,796 | 19,628 |
| examples/ | H | 03-May-2022 | - | 2,045 | 1,516 |
| firebasedynamiclinks/v1/ | H | 06-May-2018 | - | 2,716 | 1,591 |
| firebaseremoteconfig/v1/ | H | 06-May-2018 | - | 935 | 557 |
| firebaserules/v1/ | H | 06-May-2018 | - | 3,703 | 2,181 |
| firestore/v1beta1/ | H | 06-May-2018 | - | 7,303 | 4,236 |
| fitness/v1/ | H | 06-May-2018 | - | 5,357 | 3,330 |
| fusiontables/ | H | 06-May-2018 | - | 16,383 | 10,533 |
| games/v1/ | H | 06-May-2018 | - | 18,227 | 11,081 |
| gamesconfiguration/v1configuration/ | H | 06-May-2018 | - | 3,263 | 2,103 |
| gamesmanagement/v1management/ | H | 06-May-2018 | - | 4,377 | 2,805 |
| genomics/ | H | 06-May-2018 | - | 25,848 | 14,580 |
| gensupport/ | H | 06-May-2018 | - | 3,111 | 2,363 |
| gmail/v1/ | H | 06-May-2018 | - | 15,007 | 9,427 |
| google-api-go-generator/ | H | 06-May-2018 | - | 29,848 | 27,344 |
| googleapi/ | H | 06-May-2018 | - | 1,577 | 1,200 |
| groupsmigration/v1/ | H | 06-May-2018 | - | 472 | 333 |
| groupssettings/v1/ | H | 06-May-2018 | - | 937 | 643 |
| iam/v1/ | H | 06-May-2018 | - | 8,153 | 4,966 |
| identitytoolkit/v3/ | H | 06-May-2018 | - | 6,793 | 4,410 |
| integration-tests/storage/ | H | 06-May-2018 | - | 483 | 402 |
| internal/ | H | 06-May-2018 | - | 422 | 262 |
| iterator/ | H | 06-May-2018 | - | 959 | 610 |
| kgsearch/v1/ | H | 06-May-2018 | - | 531 | 369 |
| language/ | H | 06-May-2018 | - | 9,957 | 5,963 |
| lib/codereview/ | H | 06-May-2018 | - | 2 | 1 |
| licensing/v1/ | H | 06-May-2018 | - | 1,803 | 1,195 |
| logging/ | H | 06-May-2018 | - | 23,765 | 14,587 |
| manufacturers/v1/ | H | 06-May-2018 | - | 2,350 | 1,397 |
| mirror/v1/ | H | 06-May-2018 | - | 6,050 | 3,820 |
| ml/v1/ | H | 06-May-2018 | - | 9,131 | 5,211 |
| monitoring/v3/ | H | 06-May-2018 | - | 12,832 | 7,532 |
| oauth2/ | H | 06-May-2018 | - | 2,865 | 1,941 |
| option/ | H | 06-May-2018 | - | 313 | 158 |
| oslogin/ | H | 06-May-2018 | - | 4,835 | 3,214 |
| pagespeedonline/ | H | 06-May-2018 | - | 4,346 | 2,661 |
| partners/v2/ | H | 06-May-2018 | - | 10,759 | 6,308 |
| people/v1/ | H | 06-May-2018 | - | 6,707 | 3,873 |
| playcustomapp/v1/ | H | 06-May-2018 | - | 501 | 355 |
| playmoviespartner/v1/ | H | 06-May-2018 | - | 3,230 | 1,955 |
| plus/v1/ | H | 06-May-2018 | - | 5,510 | 3,256 |
| plusdomains/v1/ | H | 06-May-2018 | - | 8,301 | 5,043 |
| poly/v1/ | H | 06-May-2018 | - | 2,580 | 1,513 |
| prediction/ | H | 06-May-2018 | - | 10,281 | 6,744 |
| proximitybeacon/v1beta1/ | H | 06-May-2018 | - | 5,330 | 3,000 |
| pubsub/ | H | 06-May-2018 | - | 16,388 | 9,967 |
| qpxexpress/v1/ | H | 06-May-2018 | - | 2,261 | 1,387 |
| redis/v1beta1/ | H | 06-May-2018 | - | 3,244 | 1,910 |
| replicapool/ | H | 06-May-2018 | - | 7,643 | 4,784 |
| replicapoolupdater/v1beta1/ | H | 06-May-2018 | - | 3,442 | 2,147 |
| reseller/v1/ | H | 06-May-2018 | - | 4,157 | 2,571 |
| resourceviews/ | H | 06-May-2018 | - | 7,390 | 4,685 |
| runtimeconfig/ | H | 06-May-2018 | - | 6,821 | 4,011 |
| safebrowsing/v4/ | H | 06-May-2018 | - | 3,699 | 2,301 |
| script/v1/ | H | 06-May-2018 | - | 5,932 | 3,558 |
| searchconsole/v1/ | H | 06-May-2018 | - | 785 | 514 |
| servicebroker/ | H | 06-May-2018 | - | 12,734 | 7,649 |
| serviceconsumermanagement/v1/ | H | 06-May-2018 | - | 8,586 | 4,204 |
| servicecontrol/v1/ | H | 06-May-2018 | - | 4,734 | 2,521 |
| servicemanagement/v1/ | H | 06-May-2018 | - | 12,318 | 6,359 |
| serviceusage/ | H | 06-May-2018 | - | 16,348 | 7,912 |
| serviceuser/v1/ | H | 06-May-2018 | - | 6,794 | 3,221 |
| sheets/v4/ | H | 06-May-2018 | - | 17,879 | 9,740 |
| siteverification/v1/ | H | 06-May-2018 | - | 1,498 | 982 |
| slides/v1/ | H | 06-May-2018 | - | 12,880 | 6,614 |
| sourcerepo/v1/ | H | 06-May-2018 | - | 2,287 | 1,349 |
| spanner/v1/ | H | 06-May-2018 | - | 12,446 | 6,846 |
| spectrum/v1explorer/ | H | 06-May-2018 | - | 3,640 | 2,066 |
| speech/ | H | 06-May-2018 | - | 3,108 | 1,751 |
| sqladmin/ | H | 06-May-2018 | - | 19,207 | 12,049 |
| storage/ | H | 06-May-2018 | - | 30,398 | 18,507 |
| storagetransfer/v1/ | H | 06-May-2018 | - | 4,242 | 2,376 |
| streetviewpublish/v1/ | H | 06-May-2018 | - | 3,228 | 1,799 |
| support/bundler/ | H | 06-May-2018 | - | 718 | 472 |
| surveys/v2/ | H | 06-May-2018 | - | 3,310 | 2,105 |
| tagmanager/ | H | 06-May-2018 | - | 31,576 | 19,939 |
| taskqueue/ | H | 06-May-2018 | - | 3,647 | 2,369 |
| tasks/v1/ | H | 06-May-2018 | - | 3,080 | 2,005 |
| testing/v1/ | H | 06-May-2018 | - | 4,833 | 2,674 |
| texttospeech/v1beta1/ | H | 06-May-2018 | - | 1,112 | 676 |
| toolresults/ | H | 06-May-2018 | - | 19,244 | 10,984 |
| tpu/v1alpha1/ | H | 06-May-2018 | - | 4,852 | 3,026 |
| tracing/v2/ | H | 06-May-2018 | - | 2,503 | 1,430 |
| translate/v2/ | H | 06-May-2018 | - | 1,644 | 1,056 |
| transport/ | H | 06-May-2018 | - | 2,524 | 1,876 |
| urlshortener/v1/ | H | 06-May-2018 | - | 1,058 | 695 |
| vault/v1/ | H | 06-May-2018 | - | 4,574 | 2,899 |
| videointelligence/ | H | 06-May-2018 | - | 13,788 | 8,009 |
| vision/ | H | 06-May-2018 | - | 21,392 | 12,112 |
| webfonts/v1/ | H | 06-May-2018 | - | 493 | 344 |
| webmasters/v3/ | H | 06-May-2018 | - | 3,623 | 2,251 |
| websecurityscanner/v1alpha/ | H | 06-May-2018 | - | 4,203 | 2,576 |
| youtube/v3/ | H | 06-May-2018 | - | 34,158 | 19,991 |
| youtubeanalytics/ | H | 06-May-2018 | - | 7,623 | 4,505 |
| youtubereporting/v1/ | H | 06-May-2018 | - | 3,357 | 2,125 |
| .gitignore | H A D | 06-May-2018 | 130 | 13 | 11 |
| .travis.yml | H A D | 06-May-2018 | 533 | 19 | 13 |
| AUTHORS | H A D | 06-May-2018 | 332 | 11 | 8 |
| CONTRIBUTING.md | H A D | 06-May-2018 | 14.7 KiB | 485 | 363 |
| CONTRIBUTORS | H A D | 06-May-2018 | 2 KiB | 55 | 51 |
| GettingStarted.md | H A D | 06-May-2018 | 4.1 KiB | 131 | 92 |
| LICENSE | H A D | 06-May-2018 | 1.4 KiB | 28 | 24 |
| NOTES | H A D | 06-May-2018 | 430 | 14 | 10 |
| README.md | H A D | 06-May-2018 | 3.6 KiB | 109 | 82 |
| TODO | H A D | 06-May-2018 | 64 | 3 | 2 |
| api-list.json | H A D | 06-May-2018 | 128.5 KiB | 3,094 | 3,093 |
README.md
1# Google APIs Client Library for Go
2
3## Getting Started
4
5```
6$ go get google.golang.org/api/tasks/v1
7$ go get google.golang.org/api/moderator/v1
8$ go get google.golang.org/api/urlshortener/v1
9... etc ...
10```
11
12and using:
13
14```go
15package main
16
17import (
18 "net/http"
19
20 "google.golang.org/api/urlshortener/v1"
21)
22
23func main() {
24 svc, err := urlshortener.New(http.DefaultClient)
25 // ...
26}
27```
28
29* For a longer tutorial, see the [Getting Started guide](https://github.com/google/google-api-go-client/blob/master/GettingStarted.md).
30* For examples, see the [examples directory](https://github.com/google/google-api-go-client/tree/master/examples).
31* For support, use the [golang-nuts](https://groups.google.com/group/golang-nuts) mailing list.
32
33## Status
34[![Build Status](https://travis-ci.org/google/google-api-go-client.png)](https://travis-ci.org/google/google-api-go-client)
35[![GoDoc](https://godoc.org/google.golang.org/api?status.svg)](https://godoc.org/google.golang.org/api)
36
37These are auto-generated Go libraries from the Google Discovery Service's JSON description files of the available "new style" Google APIs.
38
39Due to the auto-generated nature of this collection of libraries, complete APIs or specific versions can appear or go away without notice.
40As a result, you should always locally vendor any API(s) that your code relies upon.
41
42This client library is supported, but in maintenance mode only.
43We are fixing necessary bugs and adding essential features to ensure this
44library continues to meet your needs for accessing Google APIs.
45Non-critical issues will be closed.
46Any issue may be reopened if it is causing ongoing problems.
47
48If you're working with Google Cloud Platform APIs such as Datastore or Pub/Sub,
49consider using the
50[Cloud Client Libraries for Go](https://github.com/GoogleCloudPlatform/google-cloud-go)
51instead. These are the new and
52idiomatic Go libraries targeted specifically at Google Cloud Platform Services.
53
54The generator itself and the code it produces are beta. Some APIs are
55alpha/beta, and indicated as such in the import path (e.g.,
56"google.golang.org/api/someapi/v1alpha").
57
58## Application Default Credentials Example
59
60Application Default Credentials provide a simplified way to obtain credentials
61for authenticating with Google APIs.
62
63The Application Default Credentials authenticate as the application itself,
64which make them great for working with Google Cloud APIs like Storage or
65Datastore. They are the recommended form of authentication when building
66applications that run on Google Compute Engine or Google App Engine.
67
68Default credentials are provided by the `golang.org/x/oauth2/google` package. To use them, add the following import:
69
70```go
71import "golang.org/x/oauth2/google"
72```
73
74Some 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:
75
76```go
77import (
78 "golang.org/x/net/context"
79 "golang.org/x/oauth2/google"
80 "google.golang.org/api/compute/v1"
81)
82
83func main() {
84 // Use oauth2.NoContext if there isn't a good context to pass in.
85 ctx := context.Background()
86
87 client, err := google.DefaultClient(ctx, compute.ComputeScope)
88 if err != nil {
89 //...
90 }
91 computeService, err := compute.New(client)
92 if err != nil {
93 //...
94 }
95}
96```
97
98If you need a `oauth2.TokenSource`, use the `DefaultTokenSource` function:
99
100```go
101ts, err := google.DefaultTokenSource(ctx, scope1, scope2, ...)
102if err != nil {
103 //...
104}
105client := oauth2.NewClient(ctx, ts)
106```
107
108See also: [golang.org/x/oauth2/google](https://godoc.org/golang.org/x/oauth2/google) package documentation.
109