|
Name |
|
Date |
Size |
#Lines |
LOC |
| .. | | 03-May-2022 | - |
| abusiveexperiencereport/v1/ | H | 04-May-2020 | - | 753 | 507 |
| acceleratedmobilepageurl/v1/ | H | 04-May-2020 | - | 668 | 431 |
| accessapproval/ | H | 04-May-2020 | - | 10,072 | 6,260 |
| accesscontextmanager/ | H | 04-May-2020 | - | 11,037 | 6,594 |
| adexchangebuyer/ | H | 04-May-2020 | - | 21,788 | 13,911 |
| adexchangebuyer2/v2beta1/ | H | 04-May-2020 | - | 23,008 | 13,848 |
| adexchangeseller/ | H | 04-May-2020 | - | 13,974 | 8,860 |
| adexperiencereport/v1/ | H | 04-May-2020 | - | 842 | 554 |
| admin/ | H | 04-May-2020 | - | 33,556 | 21,282 |
| admob/v1/ | H | 04-May-2020 | - | 3,278 | 1,687 |
| adsense/ | H | 04-May-2020 | - | 21,418 | 13,619 |
| adsensehost/v4.1/ | H | 04-May-2020 | - | 7,007 | 4,465 |
| alertcenter/v1beta1/ | H | 04-May-2020 | - | 5,217 | 3,113 |
| analytics/ | H | 04-May-2020 | - | 29,191 | 18,483 |
| analyticsreporting/v4/ | H | 04-May-2020 | - | 4,925 | 2,641 |
| androiddeviceprovisioning/v1/ | H | 04-May-2020 | - | 7,765 | 4,841 |
| androidenterprise/v1/ | H | 04-May-2020 | - | 19,702 | 12,257 |
| androidmanagement/v1/ | H | 04-May-2020 | - | 11,924 | 7,276 |
| androidpublisher/ | H | 04-May-2020 | - | 18,709 | 11,838 |
| apigee/v1/ | H | 04-May-2020 | - | 38,772 | 23,824 |
| appengine/ | H | 04-May-2020 | - | 49,863 | 30,480 |
| appsactivity/v1/ | H | 04-May-2020 | - | 1,345 | 824 |
| appstate/v1/ | H | 04-May-2020 | - | 1,307 | 844 |
| bigquery/v2/ | H | 04-May-2020 | - | 17,447 | 10,527 |
| bigqueryconnection/v1beta1/ | H | 04-May-2020 | - | 3,156 | 1,801 |
| bigquerydatatransfer/v1/ | H | 04-May-2020 | - | 8,766 | 5,363 |
| bigqueryreservation/ | H | 04-May-2020 | - | 14,850 | 9,160 |
| bigtableadmin/ | H | 04-May-2020 | - | 12,454 | 7,390 |
| billingbudgets/v1beta1/ | H | 04-May-2020 | - | 1,891 | 1,141 |
| binaryauthorization/ | H | 04-May-2020 | - | 7,997 | 4,566 |
| blogger/ | H | 04-May-2020 | - | 13,894 | 8,758 |
| books/v1/ | H | 04-May-2020 | - | 18,764 | 11,471 |
| calendar/v3/ | H | 04-May-2020 | - | 12,161 | 7,242 |
| chat/v1/ | H | 04-May-2020 | - | 3,721 | 2,291 |
| civicinfo/v2/ | H | 04-May-2020 | - | 4,326 | 2,666 |
| classroom/v1/ | H | 04-May-2020 | - | 17,021 | 9,878 |
| cloudasset/ | H | 04-May-2020 | - | 13,055 | 6,584 |
| cloudbilling/v1/ | H | 04-May-2020 | - | 4,690 | 2,606 |
| cloudbuild/ | H | 04-May-2020 | - | 12,334 | 7,143 |
| cloudcommerceprocurement/v1/ | H | 04-May-2020 | - | 3,696 | 2,264 |
| clouddebugger/v2/ | H | 04-May-2020 | - | 4,126 | 2,319 |
| clouderrorreporting/v1beta1/ | H | 04-May-2020 | - | 2,818 | 1,642 |
| cloudfunctions/ | H | 04-May-2020 | - | 9,249 | 5,346 |
| cloudidentity/ | H | 04-May-2020 | - | 8,977 | 5,379 |
| cloudiot/v1/ | H | 04-May-2020 | - | 7,449 | 4,339 |
| cloudkms/v1/ | H | 04-May-2020 | - | 10,231 | 5,967 |
| cloudprivatecatalog/v1beta1/ | H | 04-May-2020 | - | 3,280 | 1,992 |
| cloudprivatecatalogproducer/v1beta1/ | H | 04-May-2020 | - | 7,648 | 4,502 |
| cloudprofiler/v2/ | H | 04-May-2020 | - | 1,198 | 740 |
| cloudresourcemanager/ | H | 04-May-2020 | - | 24,173 | 13,540 |
| cloudscheduler/ | H | 04-May-2020 | - | 7,366 | 4,152 |
| cloudsearch/v1/ | H | 04-May-2020 | - | 19,408 | 11,149 |
| cloudshell/ | H | 04-May-2020 | - | 3,887 | 2,341 |
| cloudtasks/ | H | 04-May-2020 | - | 21,599 | 10,990 |
| cloudtrace/ | H | 04-May-2020 | - | 4,765 | 2,847 |
| commentanalyzer/v1alpha1/ | H | 04-May-2020 | - | 1,479 | 869 |
| composer/ | H | 04-May-2020 | - | 7,484 | 4,119 |
| compute/ | H | 04-May-2020 | - | 653,080 | 383,674 |
| consumersurveys/v2/ | H | 04-May-2020 | - | 3,192 | 2,095 |
| container/ | H | 04-May-2020 | - | 41,895 | 24,805 |
| containeranalysis/ | H | 04-May-2020 | - | 23,025 | 13,520 |
| content/ | H | 04-May-2020 | - | 91,264 | 55,841 |
| customsearch/v1/ | H | 04-May-2020 | - | 3,379 | 1,883 |
| datacatalog/v1beta1/ | H | 04-May-2020 | - | 14,010 | 8,339 |
| dataflow/v1b3/ | H | 04-May-2020 | - | 21,743 | 12,629 |
| datafusion/v1beta1/ | H | 04-May-2020 | - | 5,235 | 3,055 |
| dataproc/ | H | 04-May-2020 | - | 36,912 | 22,598 |
| datastore/ | H | 04-May-2020 | - | 14,421 | 8,322 |
| deploymentmanager/ | H | 04-May-2020 | - | 32,729 | 19,438 |
| dfareporting/ | H | 04-May-2020 | - | 426,770 | 264,479 |
| dialogflow/ | H | 04-May-2020 | - | 63,073 | 37,291 |
| digitalassetlinks/v1/ | H | 04-May-2020 | - | 1,666 | 750 |
| discovery/v1/ | H | 04-May-2020 | - | 1,983 | 1,229 |
| displayvideo/v1/ | H | 04-May-2020 | - | 32,980 | 17,971 |
| dlp/v2/ | H | 04-May-2020 | - | 31,709 | 18,587 |
| dns/ | H | 04-May-2020 | - | 22,151 | 13,714 |
| docs/v1/ | H | 04-May-2020 | - | 12,500 | 6,468 |
| domainsrdap/v1/ | H | 04-May-2020 | - | 2,217 | 1,464 |
| doubleclickbidmanager/ | H | 04-May-2020 | - | 11,383 | 7,410 |
| doubleclicksearch/v2/ | H | 04-May-2020 | - | 3,410 | 2,181 |
| drive/ | H | 04-May-2020 | - | 38,035 | 23,383 |
| driveactivity/v2/ | H | 04-May-2020 | - | 3,250 | 1,916 |
| examples/ | H | 03-May-2022 | - | 1,177 | 909 |
| factchecktools/v1alpha1/ | H | 04-May-2020 | - | 2,283 | 1,388 |
| fcm/v1/ | H | 04-May-2020 | - | 1,945 | 977 |
| file/ | H | 04-May-2020 | - | 8,179 | 4,918 |
| firebase/v1beta1/ | H | 04-May-2020 | - | 9,115 | 5,282 |
| firebasedynamiclinks/v1/ | H | 04-May-2020 | - | 3,187 | 1,863 |
| firebasehosting/v1beta1/ | H | 04-May-2020 | - | 9,928 | 6,218 |
| firebaseml/v1beta2/ | H | 04-May-2020 | - | 1,965 | 1,243 |
| firebaseremoteconfig/v1/ | H | 04-May-2020 | - | 995 | 581 |
| firebaserules/v1/ | H | 04-May-2020 | - | 4,146 | 2,435 |
| firestore/ | H | 04-May-2020 | - | 23,196 | 13,581 |
| fitness/v1/ | H | 04-May-2020 | - | 5,390 | 3,323 |
| fusiontables/ | H | 04-May-2020 | - | 16,833 | 10,901 |
| games/v1/ | H | 04-May-2020 | - | 17,379 | 10,662 |
| gamesconfiguration/v1configuration/ | H | 04-May-2020 | - | 3,159 | 2,039 |
| gameservices/v1beta/ | H | 04-May-2020 | - | 11,715 | 6,937 |
| gamesmanagement/v1management/ | H | 04-May-2020 | - | 3,901 | 2,529 |
| genomics/ | H | 04-May-2020 | - | 11,682 | 6,359 |
| gmail/v1/ | H | 04-May-2020 | - | 17,098 | 10,614 |
| google-api-go-generator/ | H | 04-May-2020 | - | 42,578 | 39,282 |
| googleapi/ | H | 04-May-2020 | - | 1,095 | 793 |
| groupsmigration/v1/ | H | 04-May-2020 | - | 534 | 358 |
| groupssettings/v1/ | H | 04-May-2020 | - | 1,563 | 829 |
| healthcare/ | H | 04-May-2020 | - | 71,864 | 41,046 |
| homegraph/v1/ | H | 04-May-2020 | - | 2,225 | 1,283 |
| iam/v1/ | H | 04-May-2020 | - | 10,389 | 6,168 |
| iamcredentials/v1/ | H | 04-May-2020 | - | 1,443 | 901 |
| iap/ | H | 04-May-2020 | - | 5,693 | 3,195 |
| identitytoolkit/v3/ | H | 04-May-2020 | - | 7,028 | 4,576 |
| idtoken/ | H | 04-May-2020 | - | 893 | 712 |
| indexing/v3/ | H | 04-May-2020 | - | 756 | 506 |
| integration-tests/ | H | 04-May-2020 | - | 521 | 439 |
| internal/ | H | 04-May-2020 | - | 4,141 | 3,174 |
| iterator/ | H | 04-May-2020 | - | 939 | 626 |
| jobs/ | H | 04-May-2020 | - | 32,013 | 16,501 |
| kgsearch/v1/ | H | 04-May-2020 | - | 579 | 381 |
| language/ | H | 04-May-2020 | - | 10,169 | 6,122 |
| lib/codereview/ | H | 04-May-2020 | - | 2 | 1 |
| libraryagent/v1/ | H | 04-May-2020 | - | 1,627 | 1,057 |
| licensing/v1/ | H | 04-May-2020 | - | 1,913 | 1,251 |
| lifesciences/v2beta/ | H | 04-May-2020 | - | 4,019 | 2,176 |
| logging/ | H | 04-May-2020 | - | 27,867 | 17,187 |
| managedidentities/ | H | 04-May-2020 | - | 19,794 | 11,606 |
| manufacturers/v1/ | H | 04-May-2020 | - | 2,359 | 1,413 |
| memcache/v1beta2/ | H | 04-May-2020 | - | 6,075 | 3,471 |
| mirror/v1/ | H | 04-May-2020 | - | 6,233 | 3,962 |
| ml/v1/ | H | 04-May-2020 | - | 15,703 | 8,863 |
| monitoring/ | H | 04-May-2020 | - | 21,598 | 12,562 |
| networkmanagement/v1beta1/ | H | 04-May-2020 | - | 6,807 | 3,853 |
| oauth2/ | H | 04-May-2020 | - | 1,887 | 1,277 |
| option/ | H | 04-May-2020 | - | 476 | 275 |
| osconfig/ | H | 04-May-2020 | - | 12,057 | 7,184 |
| oslogin/ | H | 04-May-2020 | - | 5,271 | 3,442 |
| pagespeedonline/ | H | 04-May-2020 | - | 6,532 | 3,976 |
| partners/v2/ | H | 04-May-2020 | - | 10,894 | 6,401 |
| people/v1/ | H | 04-May-2020 | - | 7,484 | 4,330 |
| playcustomapp/v1/ | H | 04-May-2020 | - | 564 | 381 |
| playmoviespartner/v1/ | H | 04-May-2020 | - | 3,315 | 2,003 |
| plus/v1/ | H | 04-May-2020 | - | 5,626 | 3,325 |
| plusdomains/v1/ | H | 04-May-2020 | - | 6,724 | 4,017 |
| policytroubleshooter/ | H | 04-May-2020 | - | 3,500 | 1,602 |
| poly/v1/ | H | 04-May-2020 | - | 2,717 | 1,574 |
| prod_tt_sasportal/v1alpha1/ | H | 04-May-2020 | - | 11,148 | 7,227 |
| proximitybeacon/v1beta1/ | H | 04-May-2020 | - | 5,506 | 3,095 |
| pubsub/ | H | 04-May-2020 | - | 18,277 | 10,797 |
| qpxexpress/v1/ | H | 04-May-2020 | - | 2,316 | 1,406 |
| recommender/v1beta1/ | H | 04-May-2020 | - | 3,346 | 1,980 |
| redis/ | H | 04-May-2020 | - | 9,043 | 5,458 |
| remotebuildexecution/ | H | 04-May-2020 | - | 22,257 | 11,311 |
| replicapool/v1beta1/ | H | 04-May-2020 | - | 3,927 | 2,441 |
| replicapoolupdater/v1beta1/ | H | 04-May-2020 | - | 3,554 | 2,218 |
| reseller/v1/ | H | 04-May-2020 | - | 4,290 | 2,674 |
| run/ | H | 04-May-2020 | - | 46,817 | 26,877 |
| runtimeconfig/ | H | 04-May-2020 | - | 7,167 | 4,211 |
| safebrowsing/v4/ | H | 04-May-2020 | - | 3,819 | 2,367 |
| sasportal/v1alpha1/ | H | 04-May-2020 | - | 11,147 | 7,226 |
| script/v1/ | H | 04-May-2020 | - | 6,435 | 3,860 |
| searchconsole/v1/ | H | 04-May-2020 | - | 834 | 527 |
| secretmanager/ | H | 04-May-2020 | - | 10,134 | 5,978 |
| securitycenter/ | H | 04-May-2020 | - | 31,680 | 17,514 |
| servicebroker/ | H | 04-May-2020 | - | 13,744 | 8,053 |
| serviceconsumermanagement/ | H | 04-May-2020 | - | 20,100 | 9,638 |
| servicecontrol/v1/ | H | 04-May-2020 | - | 5,599 | 2,893 |
| servicedirectory/v1beta1/ | H | 04-May-2020 | - | 6,280 | 3,771 |
| servicemanagement/v1/ | H | 04-May-2020 | - | 13,360 | 6,669 |
| servicenetworking/ | H | 04-May-2020 | - | 17,985 | 8,448 |
| serviceusage/ | H | 04-May-2020 | - | 21,370 | 10,458 |
| serviceuser/v1/ | H | 04-May-2020 | - | 6,833 | 3,166 |
| sheets/v4/ | H | 04-May-2020 | - | 20,207 | 10,988 |
| siteverification/v1/ | H | 04-May-2020 | - | 1,596 | 1,039 |
| slides/v1/ | H | 04-May-2020 | - | 13,409 | 6,851 |
| sourcerepo/v1/ | H | 04-May-2020 | - | 3,823 | 2,173 |
| spanner/v1/ | H | 04-May-2020 | - | 18,197 | 9,996 |
| spectrum/v1explorer/ | H | 04-May-2020 | - | 3,720 | 2,110 |
| speech/ | H | 04-May-2020 | - | 11,169 | 6,308 |
| sql/v1beta4/ | H | 04-May-2020 | - | 15,165 | 9,284 |
| sqladmin/v1beta4/ | H | 04-May-2020 | - | 15,161 | 9,284 |
| storage/ | H | 04-May-2020 | - | 33,707 | 20,553 |
| storagetransfer/v1/ | H | 04-May-2020 | - | 4,484 | 2,476 |
| streetviewpublish/v1/ | H | 04-May-2020 | - | 3,429 | 1,940 |
| support/bundler/ | H | 04-May-2020 | - | 917 | 620 |
| surveys/v2/ | H | 04-May-2020 | - | 2,716 | 1,726 |
| tagmanager/ | H | 04-May-2020 | - | 34,002 | 21,343 |
| tasks/v1/ | H | 04-May-2020 | - | 3,221 | 2,097 |
| testing/v1/ | H | 04-May-2020 | - | 6,168 | 3,453 |
| texttospeech/ | H | 04-May-2020 | - | 2,382 | 1,410 |
| toolresults/ | H | 04-May-2020 | - | 15,763 | 8,949 |
| tpu/ | H | 04-May-2020 | - | 9,682 | 6,142 |
| tracing/v2/ | H | 04-May-2020 | - | 2,584 | 1,470 |
| translate/ | H | 04-May-2020 | - | 13,103 | 7,741 |
| transport/ | H | 04-May-2020 | - | 3,614 | 2,815 |
| urlshortener/v1/ | H | 04-May-2020 | - | 1,128 | 728 |
| vault/v1/ | H | 04-May-2020 | - | 8,608 | 5,397 |
| verifiedaccess/v1/ | H | 04-May-2020 | - | 809 | 527 |
| videointelligence/ | H | 04-May-2020 | - | 62,605 | 35,913 |
| vision/ | H | 04-May-2020 | - | 79,440 | 45,812 |
| webfonts/v1/ | H | 04-May-2020 | - | 551 | 366 |
| webmasters/v3/ | H | 04-May-2020 | - | 2,307 | 1,486 |
| websecurityscanner/ | H | 04-May-2020 | - | 14,394 | 8,835 |
| youtube/v3/ | H | 04-May-2020 | - | 36,019 | 21,238 |
| youtubeanalytics/ | H | 04-May-2020 | - | 5,747 | 3,400 |
| youtubereporting/v1/ | H | 04-May-2020 | - | 3,452 | 2,178 |
| .gitignore | H A D | 04-May-2020 | 183 | 19 | 16 |
| AUTHORS | H A D | 04-May-2020 | 347 | 12 | 9 |
| CHANGES.md | H A D | 04-May-2020 | 6.9 KiB | 254 | 154 |
| CONTRIBUTING.md | H A D | 04-May-2020 | 6.2 KiB | 159 | 120 |
| CONTRIBUTORS | H A D | 04-May-2020 | 2.1 KiB | 57 | 53 |
| GettingStarted.md | H A D | 04-May-2020 | 4.5 KiB | 147 | 105 |
| LICENSE | H A D | 04-May-2020 | 1.4 KiB | 28 | 24 |
| NOTES | H A D | 04-May-2020 | 430 | 14 | 10 |
| README.md | H A D | 04-May-2020 | 3.5 KiB | 106 | 78 |
| RELEASING.md | H A D | 04-May-2020 | 1.3 KiB | 31 | 24 |
| TODO | H A D | 04-May-2020 | 64 | 3 | 2 |
| api-list.json | H A D | 04-May-2020 | 193.2 KiB | 4,284 | 4,283 |
| doc.go | H A D | 04-May-2020 | 2.2 KiB | 55 | 1 |
| go.mod | H A D | 04-May-2020 | 618 | 20 | 17 |
| go.sum | H A D | 04-May-2020 | 29.4 KiB | 301 | 300 |
| license_test.go | H A D | 04-May-2020 | 1.7 KiB | 67 | 47 |
| tools.go | H A D | 04-May-2020 | 303 | 14 | 6 |
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* The code review instance may be found [here](https://code-review.googlesource.com).
33
34## Status
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
42These client libraries are officially supported by Google. However, the libraries are considered complete and are in maintenance mode. This means that we will address critical bugs and security issues but will not add any new features.
43
44If you're working with Google Cloud Platform APIs such as Datastore or Pub/Sub,
45consider using the
46[Cloud Client Libraries for Go](https://github.com/googleapis/google-cloud-go)
47instead. These are the new and
48idiomatic Go libraries targeted specifically at Google Cloud Platform Services.
49
50The generator itself and the code it produces are beta. Some APIs are
51alpha/beta, and indicated as such in the import path (e.g.,
52"google.golang.org/api/someapi/v1alpha").
53
54## Application Default Credentials Example
55
56Application Default Credentials provide a simplified way to obtain credentials
57for authenticating with Google APIs.
58
59The Application Default Credentials authenticate as the application itself,
60which make them great for working with Google Cloud APIs like Storage or
61Datastore. They are the recommended form of authentication when building
62applications that run on Google Compute Engine or Google App Engine.
63
64Default credentials are provided by the `golang.org/x/oauth2/google` package. To use them, add the following import:
65
66```go
67import "golang.org/x/oauth2/google"
68```
69
70Some 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:
71
72```go
73import (
74 "context"
75 "golang.org/x/oauth2/google"
76 "google.golang.org/api/compute/v1"
77)
78
79func main() {
80 // Use oauth2.NoContext if there isn't a good context to pass in.
81 ctx := context.Background()
82
83 client, err := google.DefaultClient(ctx, compute.ComputeScope)
84 if err != nil {
85 //...
86 }
87 computeService, err := compute.New(client)
88 if err != nil {
89 //...
90 }
91}
92```
93
94If you need a `oauth2.TokenSource`, use the `DefaultTokenSource` function:
95
96```go
97ts, err := google.DefaultTokenSource(ctx, scope1, scope2, ...)
98if err != nil {
99 //...
100}
101client := oauth2.NewClient(ctx, ts)
102```
103
104See also: [golang.org/x/oauth2/google](https://godoc.org/golang.org/x/oauth2/google) package documentation.
105
106