Tom Denham 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
..
adexchangebuyer 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
adexchangeseller 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
admin 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
adsense 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
adsensehost 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
analytics 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
androidenterprise 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
androidpublisher 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
appengine 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
appsactivity 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
appstate 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
autoscaler 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
bigquery 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
blogger 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
books 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
calendar 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
civicinfo 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
classroom 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
cloudbilling 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
cloudbuild 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
clouddebugger 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
cloudlatencytest 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
cloudmonitoring 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
cloudresourcemanager 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
cloudtrace 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
clouduseraccounts 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
compute 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
container 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
content 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
coordinate 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
customsearch 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
dataflow 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
dataproc 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
datastore 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
deploymentmanager 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
dfareporting 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
discovery 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
dns 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
doubleclickbidmanager 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
doubleclicksearch 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
drive 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
examples 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
fitness 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
freebase 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
fusiontables 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
games 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
gamesconfiguration 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
gamesmanagement 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
gan 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
genomics 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
gensupport 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
gmail 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
google-api-go-generator 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
googleapi 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
groupsmigration 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
groupssettings 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
iam 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
identitytoolkit 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
integration-tests 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
kgsearch 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
lib 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
licensing 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
logging 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
manager 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
mapsengine 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
mirror 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
oauth2 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
pagespeedonline 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
partners 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
playmoviespartner 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
plus 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
plusdomains 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
prediction 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
proximitybeacon 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
pubsub 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
qpxexpress 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
replicapool 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
replicapoolupdater 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
reseller 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
resourceviews 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
script 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
serviceregistry 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
siteverification 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
spectrum 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
sqladmin 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
storage 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
storagetransfer 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
tagmanager 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
taskqueue 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
tasks 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
translate 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
urlshortener 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
vision 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
webfonts 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
webmasters 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
youtube 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
youtubeanalytics 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
youtubereporting 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
.hgignore 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
.hgtags 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
.travis.yml 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
AUTHORS 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
CONTRIBUTING.md 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
CONTRIBUTORS 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
GettingStarted.md 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
LICENSE 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
Makefile 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
NOTES 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
README.md 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
TODO 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
api-list.json 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans
key.json.enc 5a2db92663 Add glide.lock and update GCE dependencies il y a 8 ans

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.

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.