選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
Andrea Spacca 82493d6dcb add GDrive provider support (#118) 6年前
..
abusiveexperiencereport/v1 add GDrive provider support (#118) 6年前
acceleratedmobilepageurl/v1 add GDrive provider support (#118) 6年前
adexchangebuyer add GDrive provider support (#118) 6年前
adexchangebuyer2/v2beta1 add GDrive provider support (#118) 6年前
adexchangeseller add GDrive provider support (#118) 6年前
adexperiencereport/v1 add GDrive provider support (#118) 6年前
admin add GDrive provider support (#118) 6年前
adsense add GDrive provider support (#118) 6年前
adsensehost/v4.1 add GDrive provider support (#118) 6年前
analytics add GDrive provider support (#118) 6年前
analyticsreporting/v4 add GDrive provider support (#118) 6年前
androiddeviceprovisioning/v1 add GDrive provider support (#118) 6年前
androidenterprise/v1 add GDrive provider support (#118) 6年前
androidmanagement/v1 add GDrive provider support (#118) 6年前
androidpublisher add GDrive provider support (#118) 6年前
appengine add GDrive provider support (#118) 6年前
appsactivity/v1 add GDrive provider support (#118) 6年前
appstate/v1 add GDrive provider support (#118) 6年前
bigquery/v2 add GDrive provider support (#118) 6年前
bigquerydatatransfer/v1 add GDrive provider support (#118) 6年前
blogger add GDrive provider support (#118) 6年前
books/v1 add GDrive provider support (#118) 6年前
calendar/v3 add GDrive provider support (#118) 6年前
chat/v1 add GDrive provider support (#118) 6年前
civicinfo/v2 add GDrive provider support (#118) 6年前
classroom/v1 add GDrive provider support (#118) 6年前
cloudbilling/v1 add GDrive provider support (#118) 6年前
cloudbuild/v1 add GDrive provider support (#118) 6年前
clouddebugger/v2 add GDrive provider support (#118) 6年前
clouderrorreporting/v1beta1 add GDrive provider support (#118) 6年前
cloudfunctions add GDrive provider support (#118) 6年前
cloudiot add GDrive provider support (#118) 6年前
cloudkms/v1 add GDrive provider support (#118) 6年前
cloudmonitoring/v2beta2 add GDrive provider support (#118) 6年前
cloudresourcemanager add GDrive provider support (#118) 6年前
cloudshell add GDrive provider support (#118) 6年前
cloudtasks/v2beta2 add GDrive provider support (#118) 6年前
cloudtrace add GDrive provider support (#118) 6年前
clouduseraccounts add GDrive provider support (#118) 6年前
composer/v1beta1 add GDrive provider support (#118) 6年前
compute add GDrive provider support (#118) 6年前
consumersurveys/v2 add GDrive provider support (#118) 6年前
container add GDrive provider support (#118) 6年前
content add GDrive provider support (#118) 6年前
customsearch/v1 add GDrive provider support (#118) 6年前
dataflow/v1b3 add GDrive provider support (#118) 6年前
dataproc add GDrive provider support (#118) 6年前
datastore add GDrive provider support (#118) 6年前
deploymentmanager add GDrive provider support (#118) 6年前
dfareporting add GDrive provider support (#118) 6年前
dialogflow add GDrive provider support (#118) 6年前
digitalassetlinks/v1 add GDrive provider support (#118) 6年前
discovery/v1 add GDrive provider support (#118) 6年前
dlp add GDrive provider support (#118) 6年前
dns add GDrive provider support (#118) 6年前
doubleclickbidmanager/v1 add GDrive provider support (#118) 6年前
doubleclicksearch/v2 add GDrive provider support (#118) 6年前
drive add GDrive provider support (#118) 6年前
examples add GDrive provider support (#118) 6年前
firebasedynamiclinks/v1 add GDrive provider support (#118) 6年前
firebaseremoteconfig/v1 add GDrive provider support (#118) 6年前
firebaserules/v1 add GDrive provider support (#118) 6年前
firestore/v1beta1 add GDrive provider support (#118) 6年前
fitness/v1 add GDrive provider support (#118) 6年前
fusiontables add GDrive provider support (#118) 6年前
games/v1 add GDrive provider support (#118) 6年前
gamesconfiguration/v1configuration add GDrive provider support (#118) 6年前
gamesmanagement/v1management add GDrive provider support (#118) 6年前
genomics add GDrive provider support (#118) 6年前
gensupport add GDrive provider support (#118) 6年前
gmail/v1 add GDrive provider support (#118) 6年前
google-api-go-generator add GDrive provider support (#118) 6年前
googleapi add GDrive provider support (#118) 6年前
groupsmigration/v1 add GDrive provider support (#118) 6年前
groupssettings/v1 add GDrive provider support (#118) 6年前
iam/v1 add GDrive provider support (#118) 6年前
iamcredentials/v1 add GDrive provider support (#118) 6年前
identitytoolkit/v3 add GDrive provider support (#118) 6年前
integration-tests/storage add GDrive provider support (#118) 6年前
internal add GDrive provider support (#118) 6年前
iterator add GDrive provider support (#118) 6年前
jobs/v2 add GDrive provider support (#118) 6年前
kgsearch/v1 add GDrive provider support (#118) 6年前
language add GDrive provider support (#118) 6年前
lib/codereview add GDrive provider support (#118) 6年前
licensing/v1 add GDrive provider support (#118) 6年前
logging add GDrive provider support (#118) 6年前
manufacturers/v1 add GDrive provider support (#118) 6年前
mirror/v1 add GDrive provider support (#118) 6年前
ml/v1 add GDrive provider support (#118) 6年前
monitoring/v3 add GDrive provider support (#118) 6年前
oauth2 add GDrive provider support (#118) 6年前
option add GDrive provider support (#118) 6年前
oslogin add GDrive provider support (#118) 6年前
pagespeedonline add GDrive provider support (#118) 6年前
partners/v2 add GDrive provider support (#118) 6年前
people/v1 add GDrive provider support (#118) 6年前
photoslibrary/v1 add GDrive provider support (#118) 6年前
playcustomapp/v1 add GDrive provider support (#118) 6年前
playmoviespartner/v1 add GDrive provider support (#118) 6年前
plus/v1 add GDrive provider support (#118) 6年前
plusdomains/v1 add GDrive provider support (#118) 6年前
poly/v1 add GDrive provider support (#118) 6年前
prediction add GDrive provider support (#118) 6年前
proximitybeacon/v1beta1 add GDrive provider support (#118) 6年前
pubsub add GDrive provider support (#118) 6年前
qpxexpress/v1 add GDrive provider support (#118) 6年前
redis/v1beta1 add GDrive provider support (#118) 6年前
replicapool add GDrive provider support (#118) 6年前
replicapoolupdater/v1beta1 add GDrive provider support (#118) 6年前
reseller/v1 add GDrive provider support (#118) 6年前
resourceviews add GDrive provider support (#118) 6年前
runtimeconfig add GDrive provider support (#118) 6年前
safebrowsing/v4 add GDrive provider support (#118) 6年前
script/v1 add GDrive provider support (#118) 6年前
searchconsole/v1 add GDrive provider support (#118) 6年前
servicebroker add GDrive provider support (#118) 6年前
serviceconsumermanagement/v1 add GDrive provider support (#118) 6年前
servicecontrol/v1 add GDrive provider support (#118) 6年前
servicemanagement/v1 add GDrive provider support (#118) 6年前
serviceusage add GDrive provider support (#118) 6年前
serviceuser/v1 add GDrive provider support (#118) 6年前
sheets/v4 add GDrive provider support (#118) 6年前
siteverification/v1 add GDrive provider support (#118) 6年前
slides/v1 add GDrive provider support (#118) 6年前
sourcerepo/v1 add GDrive provider support (#118) 6年前
spanner/v1 add GDrive provider support (#118) 6年前
spectrum/v1explorer add GDrive provider support (#118) 6年前
speech add GDrive provider support (#118) 6年前
sqladmin add GDrive provider support (#118) 6年前
storage add GDrive provider support (#118) 6年前
storagetransfer/v1 add GDrive provider support (#118) 6年前
streetviewpublish/v1 add GDrive provider support (#118) 6年前
support/bundler add GDrive provider support (#118) 6年前
surveys/v2 add GDrive provider support (#118) 6年前
tagmanager add GDrive provider support (#118) 6年前
taskqueue add GDrive provider support (#118) 6年前
tasks/v1 add GDrive provider support (#118) 6年前
testing/v1 add GDrive provider support (#118) 6年前
texttospeech/v1beta1 add GDrive provider support (#118) 6年前
toolresults add GDrive provider support (#118) 6年前
tpu add GDrive provider support (#118) 6年前
tracing/v2 add GDrive provider support (#118) 6年前
translate/v2 add GDrive provider support (#118) 6年前
transport add GDrive provider support (#118) 6年前
urlshortener/v1 add GDrive provider support (#118) 6年前
vault/v1 add GDrive provider support (#118) 6年前
videointelligence add GDrive provider support (#118) 6年前
vision add GDrive provider support (#118) 6年前
webfonts/v1 add GDrive provider support (#118) 6年前
webmasters/v3 add GDrive provider support (#118) 6年前
websecurityscanner/v1alpha add GDrive provider support (#118) 6年前
youtube/v3 add GDrive provider support (#118) 6年前
youtubeanalytics add GDrive provider support (#118) 6年前
youtubereporting/v1 add GDrive provider support (#118) 6年前
.gitignore add GDrive provider support (#118) 6年前
.hgtags add GDrive provider support (#118) 6年前
.travis.yml add GDrive provider support (#118) 6年前
AUTHORS add GDrive provider support (#118) 6年前
CONTRIBUTING.md add GDrive provider support (#118) 6年前
CONTRIBUTORS add GDrive provider support (#118) 6年前
GettingStarted.md add GDrive provider support (#118) 6年前
LICENSE add GDrive provider support (#118) 6年前
NOTES add GDrive provider support (#118) 6年前
README.md add GDrive provider support (#118) 6年前
TODO add GDrive provider support (#118) 6年前
api-list.json add GDrive provider support (#118) 6年前
key.json.enc add GDrive provider support (#118) 6年前

README.md

Google APIs Client Library for Go

Getting Started

$ go get google.golang.org/api/tasks/v1
$ go get google.golang.org/api/moderator/v1
$ go get google.golang.org/api/urlshortener/v1
... etc ...

and using:

package main

import (
	"net/http"

	"google.golang.org/api/urlshortener/v1"
)

func main() {
	svc, err := urlshortener.New(http.DefaultClient)
	// ...
}

Status

Build Status GoDoc

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.

These 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.

If you’re working with Google Cloud Platform APIs such as Datastore or Pub/Sub, consider using the Cloud Client Libraries for Go instead. These are the new and idiomatic Go libraries targeted specifically at Google Cloud Platform Services.

The generator itself and the code it produces are beta. Some APIs are alpha/beta, and indicated as such in the import path (e.g., “google.golang.org/api/someapi/v1alpha”).

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.