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

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.