rclone/vendor/google.golang.org/api
2017-05-11 15:39:54 +01:00
..
acceleratedmobilepageurl/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
adexchangebuyer Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
adexchangebuyer2/v2beta1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
adexchangeseller Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
admin Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
adsense Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
adsensehost/v4.1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
analytics Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
analyticsreporting/v4 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
androidenterprise/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
androidpublisher Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
appengine Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
appsactivity/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
appstate/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
autoscaler/v1beta2 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
bigquery/v2 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
bigquerydatatransfer/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
blogger Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
books/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
calendar/v3 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
civicinfo/v2 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
classroom/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
cloudbilling/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
cloudbuild/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
clouddebugger/v2 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
clouderrorreporting/v1beta1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
cloudfunctions Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
cloudkms Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
cloudlatencytest/v2 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
cloudmonitoring/v2beta2 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
cloudresourcemanager Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
cloudtrace/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
clouduseraccounts Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
compute Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
consumersurveys/v2 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
container Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
content Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
coordinate/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
customsearch/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
dataflow/v1b3 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
dataproc Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
datastore Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
deploymentmanager Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
dfareporting Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
discovery/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
dlp/v2beta1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
dns Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
doubleclickbidmanager/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
doubleclicksearch/v2 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
drive Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
examples Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
firebasedynamiclinks/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
firebaserules/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
fitness/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
freebase/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
fusiontables Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
games/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
gamesconfiguration/v1configuration Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
gamesmanagement/v1management Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
gan/v1beta1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
genomics Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
gensupport Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
gmail/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
google-api-go-generator Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
googleapi Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
groupsmigration/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
groupssettings/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
iam Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
identitytoolkit/v3 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
integration-tests/storage Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
internal Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
iterator Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
kgsearch/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
language Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
lib/codereview Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
licensing/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
logging Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
manager/v1beta2 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
manufacturers/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
mapsengine Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
mirror/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
ml Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
monitoring/v3 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
oauth2 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
option Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
pagespeedonline Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
partners/v2 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
people/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
playmoviespartner/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
plus/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
plusdomains/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
prediction Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
proximitybeacon/v1beta1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
pubsub Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
qpxexpress/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
replicapool Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
replicapoolupdater/v1beta1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
reseller Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
resourceviews Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
runtimeconfig Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
safebrowsing/v4 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
script/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
searchconsole/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
servicecontrol/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
servicemanagement/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
serviceregistry/v0.alpha Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
serviceuser/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
sheets/v4 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
siteverification/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
slides/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
sourcerepo/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
spanner/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
spectrum/v1explorer Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
speech Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
sqladmin Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
storage Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
storagetransfer/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
support/bundler Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
surveys/v2 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
tagmanager Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
taskqueue Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
tasks/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
toolresults Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
tracing Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
translate/v2 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
transport Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
urlshortener/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
vision/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
webfonts/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
webmasters/v3 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
youtube/v3 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
youtubeanalytics Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
youtubereporting/v1 Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
.hgignore Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
.hgtags Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
.travis.yml Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
api-list.json Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
AUTHORS Update vendor dependencies 2016-11-19 10:05:20 +00:00
CONTRIBUTING.md Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
CONTRIBUTORS Update vendor directory 2017-02-17 16:49:51 +00:00
GettingStarted.md Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
key.json.enc Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
LICENSE Use a vendor directory for repeatable builds - fixes #816 2016-11-05 18:18:08 +00:00
Makefile Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
NOTES Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
README.md Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00
TODO Switch to using the dep tool and update all the dependencies 2017-05-11 15:39:54 +01:00

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.