• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

abusiveexperiencereport/v1/H06-May-2018-709508

acceleratedmobilepageurl/v1/H06-May-2018-619418

adexchangebuyer/H06-May-2018-21,13513,458

adexchangebuyer2/v2beta1/H06-May-2018-15,4509,357

adexchangeseller/H06-May-2018-13,5848,593

adexperiencereport/v1/H06-May-2018-786553

admin/H06-May-2018-31,84620,329

adsense/H06-May-2018-20,73613,088

adsensehost/v4.1/H06-May-2018-6,8014,306

analytics/H06-May-2018-28,12417,659

analyticsreporting/v4/H06-May-2018-3,3981,771

androiddeviceprovisioning/v1/H06-May-2018-6,8234,183

androidenterprise/v1/H06-May-2018-19,70812,171

androidmanagement/v1/H06-May-2018-8,7175,363

androidpublisher/H06-May-2018-15,82310,013

appengine/H06-May-2018-48,97629,802

appsactivity/v1/H06-May-2018-1,278796

appstate/v1/H06-May-2018-1,227801

bigquery/v2/H06-May-2018-10,3906,274

bigquerydatatransfer/v1/H06-May-2018-7,7114,719

blogger/H06-May-2018-13,5078,345

books/v1/H06-May-2018-18,28911,092

calendar/v3/H06-May-2018-11,5536,914

chat/v1/H06-May-2018-3,4762,163

civicinfo/v2/H06-May-2018-3,6632,229

classroom/v1/H06-May-2018-15,4428,845

cloudbilling/v1/H06-May-2018-4,3252,473

cloudbuild/v1/H06-May-2018-5,1232,999

clouddebugger/v2/H06-May-2018-3,8692,186

clouderrorreporting/v1beta1/H06-May-2018-2,7321,601

cloudfunctions/H06-May-2018-7,5494,499

cloudiot/H06-May-2018-11,8697,026

cloudkms/v1/H06-May-2018-6,1293,742

cloudmonitoring/v2beta2/H06-May-2018-3,0881,844

cloudresourcemanager/H06-May-2018-21,91812,443

cloudshell/H06-May-2018-3,4532,037

cloudtasks/v2beta2/H06-May-2018-7,4073,829

cloudtrace/H06-May-2018-3,1681,850

clouduseraccounts/H06-May-2018-24,57615,022

composer/v1beta1/H06-May-2018-2,9781,627

compute/H06-May-2018-431,024252,994

consumersurveys/v2/H06-May-2018-3,0762,020

container/H06-May-2018-33,55620,194

content/H06-May-2018-39,92024,961

customsearch/v1/H06-May-2018-3,2931,848

dataflow/v1b3/H06-May-2018-17,1319,851

dataproc/H06-May-2018-32,62719,885

datastore/H06-May-2018-13,0127,412

deploymentmanager/H06-May-2018-31,90718,830

dfareporting/H06-May-2018-208,605128,219

dialogflow/H06-May-2018-31,71818,289

digitalassetlinks/v1/H06-May-2018-1,612733

discovery/v1/H06-May-2018-1,9191,201

dlp/H06-May-2018-44,25125,268

dns/H06-May-2018-15,5649,657

doubleclickbidmanager/v1/H06-May-2018-4,8913,197

doubleclicksearch/v2/H06-May-2018-3,5792,279

drive/H06-May-2018-31,79619,628

examples/H03-May-2022-2,0451,516

firebasedynamiclinks/v1/H06-May-2018-2,7161,591

firebaseremoteconfig/v1/H06-May-2018-935557

firebaserules/v1/H06-May-2018-3,7032,181

firestore/v1beta1/H06-May-2018-7,3034,236

fitness/v1/H06-May-2018-5,3573,330

fusiontables/H06-May-2018-16,38310,533

games/v1/H06-May-2018-18,22711,081

gamesconfiguration/v1configuration/H06-May-2018-3,2632,103

gamesmanagement/v1management/H06-May-2018-4,3772,805

genomics/H06-May-2018-25,84814,580

gensupport/H06-May-2018-3,1112,363

gmail/v1/H06-May-2018-15,0079,427

google-api-go-generator/H06-May-2018-29,84827,344

googleapi/H06-May-2018-1,5771,200

groupsmigration/v1/H06-May-2018-472333

groupssettings/v1/H06-May-2018-937643

iam/v1/H06-May-2018-8,1534,966

identitytoolkit/v3/H06-May-2018-6,7934,410

integration-tests/storage/H06-May-2018-483402

internal/H06-May-2018-422262

iterator/H06-May-2018-959610

kgsearch/v1/H06-May-2018-531369

language/H06-May-2018-9,9575,963

lib/codereview/H06-May-2018-21

licensing/v1/H06-May-2018-1,8031,195

logging/H06-May-2018-23,76514,587

manufacturers/v1/H06-May-2018-2,3501,397

mirror/v1/H06-May-2018-6,0503,820

ml/v1/H06-May-2018-9,1315,211

monitoring/v3/H06-May-2018-12,8327,532

oauth2/H06-May-2018-2,8651,941

option/H06-May-2018-313158

oslogin/H06-May-2018-4,8353,214

pagespeedonline/H06-May-2018-4,3462,661

partners/v2/H06-May-2018-10,7596,308

people/v1/H06-May-2018-6,7073,873

playcustomapp/v1/H06-May-2018-501355

playmoviespartner/v1/H06-May-2018-3,2301,955

plus/v1/H06-May-2018-5,5103,256

plusdomains/v1/H06-May-2018-8,3015,043

poly/v1/H06-May-2018-2,5801,513

prediction/H06-May-2018-10,2816,744

proximitybeacon/v1beta1/H06-May-2018-5,3303,000

pubsub/H06-May-2018-16,3889,967

qpxexpress/v1/H06-May-2018-2,2611,387

redis/v1beta1/H06-May-2018-3,2441,910

replicapool/H06-May-2018-7,6434,784

replicapoolupdater/v1beta1/H06-May-2018-3,4422,147

reseller/v1/H06-May-2018-4,1572,571

resourceviews/H06-May-2018-7,3904,685

runtimeconfig/H06-May-2018-6,8214,011

safebrowsing/v4/H06-May-2018-3,6992,301

script/v1/H06-May-2018-5,9323,558

searchconsole/v1/H06-May-2018-785514

servicebroker/H06-May-2018-12,7347,649

serviceconsumermanagement/v1/H06-May-2018-8,5864,204

servicecontrol/v1/H06-May-2018-4,7342,521

servicemanagement/v1/H06-May-2018-12,3186,359

serviceusage/H06-May-2018-16,3487,912

serviceuser/v1/H06-May-2018-6,7943,221

sheets/v4/H06-May-2018-17,8799,740

siteverification/v1/H06-May-2018-1,498982

slides/v1/H06-May-2018-12,8806,614

sourcerepo/v1/H06-May-2018-2,2871,349

spanner/v1/H06-May-2018-12,4466,846

spectrum/v1explorer/H06-May-2018-3,6402,066

speech/H06-May-2018-3,1081,751

sqladmin/H06-May-2018-19,20712,049

storage/H06-May-2018-30,39818,507

storagetransfer/v1/H06-May-2018-4,2422,376

streetviewpublish/v1/H06-May-2018-3,2281,799

support/bundler/H06-May-2018-718472

surveys/v2/H06-May-2018-3,3102,105

tagmanager/H06-May-2018-31,57619,939

taskqueue/H06-May-2018-3,6472,369

tasks/v1/H06-May-2018-3,0802,005

testing/v1/H06-May-2018-4,8332,674

texttospeech/v1beta1/H06-May-2018-1,112676

toolresults/H06-May-2018-19,24410,984

tpu/v1alpha1/H06-May-2018-4,8523,026

tracing/v2/H06-May-2018-2,5031,430

translate/v2/H06-May-2018-1,6441,056

transport/H06-May-2018-2,5241,876

urlshortener/v1/H06-May-2018-1,058695

vault/v1/H06-May-2018-4,5742,899

videointelligence/H06-May-2018-13,7888,009

vision/H06-May-2018-21,39212,112

webfonts/v1/H06-May-2018-493344

webmasters/v3/H06-May-2018-3,6232,251

websecurityscanner/v1alpha/H06-May-2018-4,2032,576

youtube/v3/H06-May-2018-34,15819,991

youtubeanalytics/H06-May-2018-7,6234,505

youtubereporting/v1/H06-May-2018-3,3572,125

.gitignoreH A D06-May-2018130 1311

.travis.ymlH A D06-May-2018533 1913

AUTHORSH A D06-May-2018332 118

CONTRIBUTING.mdH A D06-May-201814.7 KiB485363

CONTRIBUTORSH A D06-May-20182 KiB5551

GettingStarted.mdH A D06-May-20184.1 KiB13192

LICENSEH A D06-May-20181.4 KiB2824

NOTESH A D06-May-2018430 1410

README.mdH A D06-May-20183.6 KiB10982

TODOH A D06-May-201864 32

api-list.jsonH A D06-May-2018128.5 KiB3,0943,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