code
stringlengths
10
1.34M
language
stringclasses
1 value
// Package autoscaler provides access to the Google Compute Engine Autoscaler API. // // See http://developers.google.com/compute/docs/autoscaler // // Usage example: // // import "code.google.com/p/google-api-go-client/autoscaler/v1beta2" // ... // autoscalerService, err := autoscaler.New(oauthHttpClient) packag...
Go
// Package civicinfo provides access to the Google Civic Information API. // // See https://developers.google.com/civic-information // // Usage example: // // import "code.google.com/p/google-api-go-client/civicinfo/v2" // ... // civicinfoService, err := civicinfo.New(oauthHttpClient) package civicinfo import ( ...
Go
// Package civicinfo provides access to the Google Civic Information API. // // See https://developers.google.com/civic-information // // Usage example: // // import "code.google.com/p/google-api-go-client/civicinfo/us_v1" // ... // civicinfoService, err := civicinfo.New(oauthHttpClient) package civicinfo import...
Go
// Package civicinfo provides access to the Google Civic Information API. // // See https://developers.google.com/civic-information // // Usage example: // // import "code.google.com/p/google-api-go-client/civicinfo/v1" // ... // civicinfoService, err := civicinfo.New(oauthHttpClient) package civicinfo import ( ...
Go
// Package taskqueue provides access to the TaskQueue API. // // See https://developers.google.com/appengine/docs/python/taskqueue/rest // // Usage example: // // import "code.google.com/p/google-api-go-client/taskqueue/v1beta2" // ... // taskqueueService, err := taskqueue.New(oauthHttpClient) package taskqueue ...
Go
// Package taskqueue provides access to the TaskQueue API. // // See https://developers.google.com/appengine/docs/python/taskqueue/rest // // Usage example: // // import "code.google.com/p/google-api-go-client/taskqueue/v1beta1" // ... // taskqueueService, err := taskqueue.New(oauthHttpClient) package taskqueue ...
Go
// Package prediction provides access to the Prediction API. // // See https://developers.google.com/prediction/docs/developer-guide // // Usage example: // // import "code.google.com/p/google-api-go-client/prediction/v1.2" // ... // predictionService, err := prediction.New(oauthHttpClient) package prediction im...
Go
// Package prediction provides access to the Prediction API. // // See https://developers.google.com/prediction/docs/developer-guide // // Usage example: // // import "code.google.com/p/google-api-go-client/prediction/v1.5" // ... // predictionService, err := prediction.New(oauthHttpClient) package prediction im...
Go
// Package prediction provides access to the Prediction API. // // See https://developers.google.com/prediction/docs/developer-guide // // Usage example: // // import "code.google.com/p/google-api-go-client/prediction/v1.3" // ... // predictionService, err := prediction.New(oauthHttpClient) package prediction im...
Go
// Package prediction provides access to the Prediction API. // // See https://developers.google.com/prediction/docs/developer-guide // // Usage example: // // import "code.google.com/p/google-api-go-client/prediction/v1.6" // ... // predictionService, err := prediction.New(oauthHttpClient) package prediction im...
Go
// Package prediction provides access to the Prediction API. // // See https://developers.google.com/prediction/docs/developer-guide // // Usage example: // // import "code.google.com/p/google-api-go-client/prediction/v1.4" // ... // predictionService, err := prediction.New(oauthHttpClient) package prediction im...
Go
// Package mapsengine provides access to the Google Maps Engine API. // // See https://developers.google.com/maps-engine/ // // Usage example: // // import "code.google.com/p/google-api-go-client/mapsengine/v1" // ... // mapsengineService, err := mapsengine.New(oauthHttpClient) package mapsengine import ( "byte...
Go
// Package mapsengine provides access to the Google Maps Engine API. // // See https://developers.google.com/maps-engine/ // // Usage example: // // import "code.google.com/p/google-api-go-client/mapsengine/exp2" // ... // mapsengineService, err := mapsengine.New(oauthHttpClient) package mapsengine import ( "by...
Go
// Package doubleclicksearch provides access to the DoubleClick Search API. // // See https://developers.google.com/doubleclick-search/ // // Usage example: // // import "code.google.com/p/google-api-go-client/doubleclicksearch/v2" // ... // doubleclicksearchService, err := doubleclicksearch.New(oauthHttpClient) ...
Go
// Package discovery provides access to the APIs Discovery Service. // // See https://developers.google.com/discovery/ // // Usage example: // // import "code.google.com/p/google-api-go-client/discovery/v1" // ... // discoveryService, err := discovery.New(oauthHttpClient) package discovery import ( "bytes" "co...
Go
// Package doubleclickbidmanager provides access to the DoubleClick Bid Manager API. // // See https://developers.google.com/bid-manager/ // // Usage example: // // import "code.google.com/p/google-api-go-client/doubleclickbidmanager/v1" // ... // doubleclickbidmanagerService, err := doubleclickbidmanager.New(oau...
Go
// Package appsactivity provides access to the Google Apps Activity API. // // See https://developers.google.com/google-apps/activity/ // // Usage example: // // import "code.google.com/p/google-api-go-client/appsactivity/v1" // ... // appsactivityService, err := appsactivity.New(oauthHttpClient) package appsacti...
Go
// Package adexchangeseller provides access to the Ad Exchange Seller API. // // See https://developers.google.com/ad-exchange/seller-rest/ // // Usage example: // // import "code.google.com/p/google-api-go-client/adexchangeseller/v1" // ... // adexchangesellerService, err := adexchangeseller.New(oauthHttpClient)...
Go
// Package adexchangeseller provides access to the Ad Exchange Seller API. // // See https://developers.google.com/ad-exchange/seller-rest/ // // Usage example: // // import "code.google.com/p/google-api-go-client/adexchangeseller/v1.1" // ... // adexchangesellerService, err := adexchangeseller.New(oauthHttpClien...
Go
// Package adexchangeseller provides access to the Ad Exchange Seller API. // // See https://developers.google.com/ad-exchange/seller-rest/ // // Usage example: // // import "code.google.com/p/google-api-go-client/adexchangeseller/v2.0" // ... // adexchangesellerService, err := adexchangeseller.New(oauthHttpClien...
Go
// Package admin provides access to the Admin Reports API. // // See https://developers.google.com/admin-sdk/reports/ // // Usage example: // // import "code.google.com/p/google-api-go-client/admin/reports_v1" // ... // adminService, err := admin.New(oauthHttpClient) package admin import ( "bytes" "code.google...
Go
// Package admin provides access to the Admin Directory API. // // See https://developers.google.com/admin-sdk/directory/ // // Usage example: // // import "code.google.com/p/google-api-go-client/admin/directory_v1" // ... // adminService, err := admin.New(oauthHttpClient) package admin import ( "bytes" "code....
Go
// Package admin provides access to the Email Migration API v2. // // See https://developers.google.com/admin-sdk/email-migration/v2/ // // Usage example: // // import "code.google.com/p/google-api-go-client/admin/email_migration_v2" // ... // adminService, err := admin.New(oauthHttpClient) package admin import ...
Go
// Package appstate provides access to the Google App State API. // // See https://developers.google.com/games/services/web/api/states // // Usage example: // // import "code.google.com/p/google-api-go-client/appstate/v1" // ... // appstateService, err := appstate.New(oauthHttpClient) package appstate import ( ...
Go
// Package pagespeedonline provides access to the PageSpeed Insights API. // // See https://developers.google.com/speed/docs/insights/v1/getting_started // // Usage example: // // import "code.google.com/p/google-api-go-client/pagespeedonline/v1" // ... // pagespeedonlineService, err := pagespeedonline.New(oauthH...
Go
// Package groupsmigration provides access to the Groups Migration API. // // See https://developers.google.com/google-apps/groups-migration/ // // Usage example: // // import "code.google.com/p/google-api-go-client/groupsmigration/v1" // ... // groupsmigrationService, err := groupsmigration.New(oauthHttpClient) ...
Go
// Package freebase provides access to the Freebase Search. // // See https://developers.google.com/freebase/ // // Usage example: // // import "code.google.com/p/google-api-go-client/freebase/v1" // ... // freebaseService, err := freebase.New(oauthHttpClient) package freebase import ( "bytes" "code.google.com...
Go
// Package freebase provides access to the Freebase Search. // // See https://developers.google.com/freebase/ // // Usage example: // // import "code.google.com/p/google-api-go-client/freebase/v1-sandbox" // ... // freebaseService, err := freebase.New(oauthHttpClient) package freebase import ( "bytes" "code.go...
Go
// Package freebase provides access to the Freebase Search. // // See https://developers.google.com/freebase/ // // Usage example: // // import "code.google.com/p/google-api-go-client/freebase/v1sandbox" // ... // freebaseService, err := freebase.New(oauthHttpClient) package freebase import ( "bytes" "code.goo...
Go
// Package genomics provides access to the Genomics API. // // See https://developers.google.com/genomics/v1beta/reference // // Usage example: // // import "code.google.com/p/google-api-go-client/genomics/v1beta" // ... // genomicsService, err := genomics.New(oauthHttpClient) package genomics import ( "bytes" ...
Go
// Package manager provides access to the Deployment Manager API. // // See https://developers.google.com/deployment-manager/ // // Usage example: // // import "code.google.com/p/google-api-go-client/manager/v1beta2" // ... // managerService, err := manager.New(oauthHttpClient) package manager import ( "bytes" ...
Go
// Package coordinate provides access to the Google Maps Coordinate API. // // See https://developers.google.com/coordinate/ // // Usage example: // // import "code.google.com/p/google-api-go-client/coordinate/v1" // ... // coordinateService, err := coordinate.New(oauthHttpClient) package coordinate import ( "b...
Go
// Copyright 2011 Google Inc. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "encoding/gob" "errors" "flag" "fmt" "hash/fnv" "io/ioutil" "log" "net/http" "net/http/httptest" "net/url" "os" "os/exec" "path/...
Go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "bufio" "fmt" "log" "net/http" "os" "sort" "strings" gmail "code.google.com/p/google-api-go-client/gmail/v1" ) func init() { r...
Go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "fmt" "log" "net/http" "os" "strings" "time" mapsengine "code.google.com/p/google-api-go-client/mapsengine/v1" ) func init() { ...
Go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "fmt" "log" "net/http" "os" "path/filepath" "strings" "code.google.com/p/google-api-go-client/googleapi" prediction "code.google...
Go
package main import ( "bufio" "encoding/base64" "encoding/json" "fmt" "log" "net" "net/http" "net/textproto" "os" "strings" pubsub "code.google.com/p/google-api-go-client/pubsub/v1beta1" ) const USAGE = `Available arguments are: PROJ list_topics PROJ create_topic TOPIC PROJ delete_topic TOPIC ...
Go
package main import ( "log" "net/http" orkut "code.google.com/p/google-api-go-client/orkut/v2" ) func init() { registerDemo("orkut", orkut.OrkutScope, orkutMain) } func orkutMain(client *http.Client, argv []string) { orkutapi, _ := orkut.New(client) myBadges, err := orkutapi.Badges.List("me").Do() if err != ...
Go
package main import ( "fmt" "log" "net/http" "os" storage "code.google.com/p/google-api-go-client/storage/v1" ) func init() { registerDemo("storage", storage.DevstorageRead_writeScope, storageMain) } func storageMain(client *http.Client, argv []string) { if len(argv) != 2 { fmt.Fprintln(os.Stderr, "Usage: ...
Go
package main import ( "fmt" "log" "net/http" "os" drive "code.google.com/p/google-api-go-client/drive/v2" ) func init() { registerDemo("drive", drive.DriveScope, driveMain) } func driveMain(client *http.Client, argv []string) { if len(argv) != 1 { fmt.Fprintln(os.Stderr, "Usage: drive filename (to upload a...
Go
package main import ( "fmt" "log" "net/http" "os" "strings" urlshortener "code.google.com/p/google-api-go-client/urlshortener/v1" ) func init() { registerDemo("urlshortener", urlshortener.UrlshortenerScope, urlShortenerMain) } func urlShortenerMain(client *http.Client, argv []string) { if len(argv) != 1 { ...
Go
package main import ( "log" "net/http" tasks "code.google.com/p/google-api-go-client/tasks/v1" ) func init() { registerDemo("tasks", tasks.TasksScope, tasksMain) } func tasksMain(client *http.Client, argv []string) { taskapi, _ := tasks.New(client) task, err := taskapi.Tasks.Insert("@default", &tasks.Task{ ...
Go
// Copyright 2013 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "container/list" "encoding/json" "fmt" "io/ioutil" "math" "math/rand" "net/http" "os" "strconv" "strings" "time" bigquery "c...
Go
package main import ( "bytes" "fmt" "io" "io/ioutil" "net/http" "os" ) type logTransport struct { rt http.RoundTripper } func (t *logTransport) RoundTrip(req *http.Request) (*http.Response, error) { var buf bytes.Buffer os.Stdout.Write([]byte("\n[request]\n")) if req.Body != nil { req.Body = ioutil.NopC...
Go
// Copyright 2014 The Go Authors. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "fmt" "log" "net/http" "os" calendar "code.google.com/p/google-api-go-client/calendar/v3" ) func init() { registerDemo("calendar"...
Go
package main import ( "fmt" "log" "net/http" "os" "strings" compute "code.google.com/p/google-api-go-client/compute/v1" ) func init() { scopes := strings.Join([]string{ compute.DevstorageFull_controlScope, compute.ComputeScope, }, " ") registerDemo("compute", scopes, computeMain) } func computeMain(cli...
Go
// Package gamesmanagement provides access to the Google Play Game Services Management API. // // See https://developers.google.com/games/services // // Usage example: // // import "code.google.com/p/google-api-go-client/gamesmanagement/v1management" // ... // gamesmanagementService, err := gamesmanagement.New(oa...
Go
// Package content provides access to the Content API for Shopping. // // See https://developers.google.com/shopping-content/v2/ // // Usage example: // // import "code.google.com/p/google-api-go-client/content/v2" // ... // contentService, err := content.New(oauthHttpClient) package content import ( "bytes" "...
Go
// Package plusdomains provides access to the Google+ Domains API. // // See https://developers.google.com/+/domains/ // // Usage example: // // import "code.google.com/p/google-api-go-client/plusdomains/v1" // ... // plusdomainsService, err := plusdomains.New(oauthHttpClient) package plusdomains import ( "byte...
Go
// Package calendar provides access to the Calendar API. // // See https://developers.google.com/google-apps/calendar/firstapp // // Usage example: // // import "code.google.com/p/google-api-go-client/calendar/v3" // ... // calendarService, err := calendar.New(oauthHttpClient) package calendar import ( "bytes" ...
Go
// Package resourceviews provides access to the Resource Views API. // // See https://developers.google.com/compute/ // // Usage example: // // import "code.google.com/p/google-api-go-client/resourceviews/v1beta2" // ... // resourceviewsService, err := resourceviews.New(oauthHttpClient) package resourceviews imp...
Go
// Package resourceviews provides access to the Resource Views API. // // See https://developers.google.com/compute/ // // Usage example: // // import "code.google.com/p/google-api-go-client/resourceviews/v1beta1" // ... // resourceviewsService, err := resourceviews.New(oauthHttpClient) package resourceviews imp...
Go
// Package oauth2 provides access to the Google OAuth2 API. // // See https://developers.google.com/accounts/docs/OAuth2 // // Usage example: // // import "code.google.com/p/google-api-go-client/oauth2/v2" // ... // oauth2Service, err := oauth2.New(oauthHttpClient) package oauth2 import ( "bytes" "code.google....
Go
// Package oauth2 provides access to the Google OAuth2 API. // // See https://developers.google.com/accounts/docs/OAuth2 // // Usage example: // // import "code.google.com/p/google-api-go-client/oauth2/v1" // ... // oauth2Service, err := oauth2.New(oauthHttpClient) package oauth2 import ( "bytes" "code.google....
Go
// Package urlshortener provides access to the URL Shortener API. // // See http://code.google.com/apis/urlshortener/v1/getting_started.html // // Usage example: // // import "code.google.com/p/google-api-go-client/urlshortener/v1" // ... // urlshortenerService, err := urlshortener.New(oauthHttpClient) package ur...
Go
// Package reseller provides access to the Enterprise Apps Reseller API. // // See https://developers.google.com/google-apps/reseller/ // // Usage example: // // import "code.google.com/p/google-api-go-client/reseller/v1" // ... // resellerService, err := reseller.New(oauthHttpClient) package reseller import ( ...
Go
// Package reseller provides access to the Enterprise Apps Reseller API. // // See https://developers.google.com/google-apps/reseller/ // // Usage example: // // import "code.google.com/p/google-api-go-client/reseller/v1sandbox" // ... // resellerService, err := reseller.New(oauthHttpClient) package reseller imp...
Go
// Copyright 2011 Google Inc. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main import ( "bytes" "encoding/json" "errors" "flag" "fmt" "go/format" "io/ioutil" "log" "net/http" "net/url" "os" "os/exec" "path/filepath" ...
Go
// Package youtubeanalytics provides access to the YouTube Analytics API. // // See http://developers.google.com/youtube/analytics/ // // Usage example: // // import "code.google.com/p/google-api-go-client/youtubeanalytics/v1beta1" // ... // youtubeanalyticsService, err := youtubeanalytics.New(oauthHttpClient) pa...
Go
// Package youtubeanalytics provides access to the YouTube Analytics API. // // See http://developers.google.com/youtube/analytics/ // // Usage example: // // import "code.google.com/p/google-api-go-client/youtubeanalytics/v1" // ... // youtubeanalyticsService, err := youtubeanalytics.New(oauthHttpClient) package...
Go
// Package qpxexpress provides access to the QPX Express API. // // See http://developers.google.com/qpx-express // // Usage example: // // import "code.google.com/p/google-api-go-client/qpxexpress/v1" // ... // qpxexpressService, err := qpxexpress.New(oauthHttpClient) package qpxexpress import ( "bytes" "code...
Go
// Package tasks provides access to the Tasks API. // // See https://developers.google.com/google-apps/tasks/firstapp // // Usage example: // // import "code.google.com/p/google-api-go-client/tasks/v1" // ... // tasksService, err := tasks.New(oauthHttpClient) package tasks import ( "bytes" "code.google.com/p/g...
Go
// Package customsearch provides access to the CustomSearch API. // // See https://developers.google.com/custom-search/v1/using_rest // // Usage example: // // import "code.google.com/p/google-api-go-client/customsearch/v1" // ... // customsearchService, err := customsearch.New(oauthHttpClient) package customsear...
Go
// Copyright 2013 Joshua Tacoma. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package uritemplates is a level 4 implementation of RFC 6570 (URI // Template, http://tools.ietf.org/html/rfc6570). // // To use uritemplates, parse a templat...
Go
package uritemplates func Expand(path string, expansions map[string]string) (string, error) { template, err := Parse(path) if err != nil { return "", err } values := make(map[string]interface{}) for k, v := range expansions { values[k] = v } return template.Expand(values) }
Go
// Copyright 2012 Google Inc. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package transport contains HTTP transports used to make // authenticated API requests. package transport import ( "errors" "net/http" ) // APIKey is an HTTP ...
Go
// Copyright 2011 Google Inc. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Package googleapi contains the common code shared by all Google API // libraries. package googleapi import ( "bytes" "encoding/json" "fmt" "io" "io/ioutil"...
Go
// Copyright 2013 Google Inc. All rights reserved. // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package googleapi import ( "encoding/json" "strconv" ) // Int64s is a slice of int64s that marshal as quoted strings in JSON. type Int64s []int64 func (q *Int6...
Go
// Package licensing provides access to the Enterprise License Manager API. // // See https://developers.google.com/google-apps/licensing/ // // Usage example: // // import "code.google.com/p/google-api-go-client/licensing/v1" // ... // licensingService, err := licensing.New(oauthHttpClient) package licensing im...
Go
// Package webmasters provides access to the Webmaster Tools API. // // See https://developers.google.com/webmaster-tools/v3/welcome // // Usage example: // // import "code.google.com/p/google-api-go-client/webmasters/v3" // ... // webmastersService, err := webmasters.New(oauthHttpClient) package webmasters impo...
Go
// Package bigquery provides access to the BigQuery API. // // See https://developers.google.com/bigquery/docs/overview // // Usage example: // // import "code.google.com/p/google-api-go-client/bigquery/v2" // ... // bigqueryService, err := bigquery.New(oauthHttpClient) package bigquery import ( "bytes" "code....
Go
// Package spectrum provides access to the Google Spectrum Database API. // // See http://developers.google.com/spectrum // // Usage example: // // import "code.google.com/p/google-api-go-client/spectrum/v1explorer" // ... // spectrumService, err := spectrum.New(oauthHttpClient) package spectrum import ( "bytes...
Go
// Package compute provides access to the Compute Engine API. // // See https://developers.google.com/compute/docs/reference/latest/ // // Usage example: // // import "code.google.com/p/google-api-go-client/compute/v1" // ... // computeService, err := compute.New(oauthHttpClient) package compute import ( "bytes...
Go
// Package cloudmonitoring provides access to the Cloud Monitoring API. // // See https://developers.google.com/cloud-monitoring/ // // Usage example: // // import "code.google.com/p/google-api-go-client/cloudmonitoring/v2beta1" // ... // cloudmonitoringService, err := cloudmonitoring.New(oauthHttpClient) package...
Go
// Package siteverification provides access to the Google Site Verification API. // // See https://developers.google.com/site-verification/ // // Usage example: // // import "code.google.com/p/google-api-go-client/siteverification/v1" // ... // siteverificationService, err := siteverification.New(oauthHttpClient)...
Go
// Package adsensehost provides access to the AdSense Host API. // // See https://developers.google.com/adsense/host/ // // Usage example: // // import "code.google.com/p/google-api-go-client/adsensehost/v4.1" // ... // adsensehostService, err := adsensehost.New(oauthHttpClient) package adsensehost import ( "by...
Go
// Package adsense provides access to the AdSense Management API. // // See https://developers.google.com/adsense/management/ // // Usage example: // // import "code.google.com/p/google-api-go-client/adsense/v1.2" // ... // adsenseService, err := adsense.New(oauthHttpClient) package adsense import ( "bytes" "c...
Go
// Package adsense provides access to the AdSense Management API. // // See https://developers.google.com/adsense/management/ // // Usage example: // // import "code.google.com/p/google-api-go-client/adsense/v1.3" // ... // adsenseService, err := adsense.New(oauthHttpClient) package adsense import ( "bytes" "c...
Go
// Package adsense provides access to the AdSense Management API. // // See https://developers.google.com/adsense/management/ // // Usage example: // // import "code.google.com/p/google-api-go-client/adsense/v1.4" // ... // adsenseService, err := adsense.New(oauthHttpClient) package adsense import ( "bytes" "c...
Go
// Package games provides access to the Google Play Game Services API. // // See https://developers.google.com/games/services/ // // Usage example: // // import "code.google.com/p/google-api-go-client/games/v1" // ... // gamesService, err := games.New(oauthHttpClient) package games import ( "bytes" "code.googl...
Go
// Package gan provides access to the Google Affiliate Network API. // // See https://developers.google.com/affiliate-network/ // // Usage example: // // import "code.google.com/p/google-api-go-client/gan/v1beta1" // ... // ganService, err := gan.New(oauthHttpClient) package gan import ( "bytes" "code.google.c...
Go
// Package webfonts provides access to the Google Fonts Developer API. // // See https://developers.google.com/fonts/docs/developer_api // // Usage example: // // import "code.google.com/p/google-api-go-client/webfonts/v1" // ... // webfontsService, err := webfonts.New(oauthHttpClient) package webfonts import ( ...
Go
// Package audit provides access to the Enterprise Audit API. // // See https://developers.google.com/google-apps/admin-audit/get_started // // Usage example: // // import "code.google.com/p/google-api-go-client/audit/v1" // ... // auditService, err := audit.New(oauthHttpClient) package audit import ( "bytes" ...
Go
// Package storage provides access to the Cloud Storage API. // // See https://developers.google.com/storage/docs/json_api/ // // Usage example: // // import "code.google.com/p/google-api-go-client/storage/v1beta2" // ... // storageService, err := storage.New(oauthHttpClient) package storage import ( "bytes" "...
Go
// Package storage provides access to the Cloud Storage API. // // See https://developers.google.com/storage/docs/json_api/ // // Usage example: // // import "code.google.com/p/google-api-go-client/storage/v1beta1" // ... // storageService, err := storage.New(oauthHttpClient) package storage import ( "bytes" "...
Go
// Package storage provides access to the Cloud Storage API. // // See https://developers.google.com/storage/docs/json_api/ // // Usage example: // // import "code.google.com/p/google-api-go-client/storage/v1" // ... // storageService, err := storage.New(oauthHttpClient) package storage import ( "bytes" "code....
Go
// Package androidpublisher provides access to the Google Play Android Developer API. // // See https://developers.google.com/android-publisher // // Usage example: // // import "code.google.com/p/google-api-go-client/androidpublisher/v2" // ... // androidpublisherService, err := androidpublisher.New(oauthHttpCli...
Go
// Package androidpublisher provides access to the Google Play Android Developer API. // // See https://developers.google.com/android-publisher // // Usage example: // // import "code.google.com/p/google-api-go-client/androidpublisher/v1" // ... // androidpublisherService, err := androidpublisher.New(oauthHttpCli...
Go
// Package androidpublisher provides access to the Google Play Android Developer API. // // See https://developers.google.com/android-publisher // // Usage example: // // import "code.google.com/p/google-api-go-client/androidpublisher/v1.1" // ... // androidpublisherService, err := androidpublisher.New(oauthHttpC...
Go
// Package sqladmin provides access to the Cloud SQL Administration API. // // See https://developers.google.com/cloud-sql/docs/admin-api/ // // Usage example: // // import "code.google.com/p/google-api-go-client/sqladmin/v1beta1" // ... // sqladminService, err := sqladmin.New(oauthHttpClient) package sqladmin i...
Go
// Package sqladmin provides access to the Cloud SQL Administration API. // // See https://developers.google.com/cloud-sql/docs/admin-api/ // // Usage example: // // import "code.google.com/p/google-api-go-client/sqladmin/v1beta3" // ... // sqladminService, err := sqladmin.New(oauthHttpClient) package sqladmin i...
Go
// Package analytics provides access to the Google Analytics API. // // See https://developers.google.com/analytics/ // // Usage example: // // import "code.google.com/p/google-api-go-client/analytics/v3" // ... // analyticsService, err := analytics.New(oauthHttpClient) package analytics import ( "bytes" "code...
Go
// Package analytics provides access to the Google Analytics API. // // See https://developers.google.com/analytics/ // // Usage example: // // import "code.google.com/p/google-api-go-client/analytics/v2.4" // ... // analyticsService, err := analytics.New(oauthHttpClient) package analytics import ( "bytes" "co...
Go
// Package replicapool provides access to the Replica Pool API. // // See https://developers.google.com/compute/docs/replica-pool/ // // Usage example: // // import "code.google.com/p/google-api-go-client/replicapool/v1beta1" // ... // replicapoolService, err := replicapool.New(oauthHttpClient) package replicapoo...
Go
// Package translate provides access to the Translate API. // // See https://developers.google.com/translate/v2/using_rest // // Usage example: // // import "code.google.com/p/google-api-go-client/translate/v2" // ... // translateService, err := translate.New(oauthHttpClient) package translate import ( "bytes" ...
Go
// Package adexchangebuyer provides access to the Ad Exchange Buyer API. // // See https://developers.google.com/ad-exchange/buyer-rest // // Usage example: // // import "code.google.com/p/google-api-go-client/adexchangebuyer/v1.2" // ... // adexchangebuyerService, err := adexchangebuyer.New(oauthHttpClient) pack...
Go
// Package adexchangebuyer provides access to the Ad Exchange Buyer API. // // See https://developers.google.com/ad-exchange/buyer-rest // // Usage example: // // import "code.google.com/p/google-api-go-client/adexchangebuyer/v1" // ... // adexchangebuyerService, err := adexchangebuyer.New(oauthHttpClient) packag...
Go
// Package adexchangebuyer provides access to the Ad Exchange Buyer API. // // See https://developers.google.com/ad-exchange/buyer-rest // // Usage example: // // import "code.google.com/p/google-api-go-client/adexchangebuyer/v1.3" // ... // adexchangebuyerService, err := adexchangebuyer.New(oauthHttpClient) pack...
Go
// Package adexchangebuyer provides access to the Ad Exchange Buyer API. // // See https://developers.google.com/ad-exchange/buyer-rest // // Usage example: // // import "code.google.com/p/google-api-go-client/adexchangebuyer/v1.1" // ... // adexchangebuyerService, err := adexchangebuyer.New(oauthHttpClient) pack...
Go
// Copyright 2012 Google Inc. All Rights Reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable...
Go