• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/H03-Dec-2020-7467

abusiveexperiencereport/v1/H03-Dec-2020-742509

acceleratedmobilepageurl/v1/H03-Dec-2020-656433

accessapproval/H03-Dec-2020-9,9376,270

accesscontextmanager/H03-Dec-2020-11,7597,311

adexchangebuyer/H03-Dec-2020-21,90213,981

adexchangebuyer2/v2beta1/H03-Dec-2020-22,63613,988

adexchangeseller/H03-Dec-2020-13,9748,860

adexperiencereport/v1/H03-Dec-2020-828556

admin/H03-Dec-2020-34,29021,535

admob/H03-Dec-2020-6,9273,982

adsense/H03-Dec-2020-21,43513,628

adsensehost/v4.1/H03-Dec-2020-7,0074,465

alertcenter/v1beta1/H03-Dec-2020-5,0843,115

analytics/H03-Dec-2020-29,19118,483

analyticsadmin/v1alpha/H03-Dec-2020-13,5958,638

analyticsdata/v1alpha/H03-Dec-2020-4,6802,753

analyticsreporting/v4/H03-Dec-2020-4,6022,643

androiddeviceprovisioning/v1/H03-Dec-2020-7,6474,855

androidenterprise/v1/H03-Dec-2020-19,92212,364

androidmanagement/v1/H03-Dec-2020-12,5307,606

androidpublisher/H03-Dec-2020-18,71611,789

apigateway/H03-Dec-2020-16,38110,175

apigee/v1/H03-Dec-2020-48,69230,651

appengine/H03-Dec-2020-50,31330,736

appsactivity/v1/H03-Dec-2020-1,345824

appstate/v1/H03-Dec-2020-1,307844

area120tables/v1alpha1/H03-Dec-2020-3,4852,192

artifactregistry/H03-Dec-2020-14,1328,824

assuredworkloads/H03-Dec-2020-5,8693,632

bigquery/v2/H03-Dec-2020-19,94912,038

bigqueryconnection/v1beta1/H03-Dec-2020-2,9601,810

bigquerydatatransfer/v1/H03-Dec-2020-8,6335,422

bigqueryreservation/H03-Dec-2020-14,8659,393

bigtableadmin/H03-Dec-2020-14,5088,894

billingbudgets/H03-Dec-2020-3,7762,354

binaryauthorization/H03-Dec-2020-8,5525,124

blogger/H03-Dec-2020-14,1368,883

books/v1/H03-Dec-2020-19,54411,938

calendar/v3/H03-Dec-2020-12,1667,241

chat/v1/H03-Dec-2020-5,2483,327

chromeuxreport/v1/H03-Dec-2020-933567

civicinfo/v2/H03-Dec-2020-3,5202,144

classroom/v1/H03-Dec-2020-17,59510,764

cloudasset/H03-Dec-2020-19,62310,599

cloudbilling/v1/H03-Dec-2020-4,5032,686

cloudbuild/H03-Dec-2020-15,6669,596

cloudcommerceprocurement/v1/H03-Dec-2020-3,6552,320

clouddebugger/v2/H03-Dec-2020-3,9122,330

clouderrorreporting/v1beta1/H03-Dec-2020-2,8321,691

cloudfunctions/H03-Dec-2020-8,8635,322

cloudidentity/H03-Dec-2020-20,64812,670

cloudiot/v1/H03-Dec-2020-7,1644,351

cloudkms/v1/H03-Dec-2020-10,1936,149

cloudprivatecatalog/v1beta1/H03-Dec-2020-3,2801,992

cloudprivatecatalogproducer/v1beta1/H03-Dec-2020-7,6484,502

cloudprofiler/v2/H03-Dec-2020-1,153742

cloudresourcemanager/H03-Dec-2020-24,47714,822

cloudscheduler/H03-Dec-2020-6,8544,166

cloudsearch/v1/H03-Dec-2020-19,07211,372

cloudshell/H03-Dec-2020-4,8103,059

cloudtasks/H03-Dec-2020-19,27011,051

cloudtrace/H03-Dec-2020-4,5742,860

commentanalyzer/v1alpha1/H03-Dec-2020-1,479869

composer/H03-Dec-2020-7,0024,185

compute/H03-Dec-2020-694,205407,028

consumersurveys/v2/H03-Dec-2020-3,1922,095

container/H03-Dec-2020-41,87825,599

containeranalysis/H03-Dec-2020-22,19213,535

content/H03-Dec-2020-96,81059,659

customsearch/v1/H03-Dec-2020-4,3042,246

datacatalog/v1beta1/H03-Dec-2020-13,7608,569

dataflow/v1b3/H03-Dec-2020-24,58314,780

datafusion/H03-Dec-2020-10,5016,480

datalabeling/v1beta1/H03-Dec-2020-21,13612,692

datamigration/v1beta1/H03-Dec-2020-8,7335,418

dataproc/H03-Dec-2020-37,33423,056

datastore/H03-Dec-2020-13,8168,331

deploymentmanager/H03-Dec-2020-32,81819,415

dfareporting/H03-Dec-2020-427,845265,187

dialogflow/H03-Dec-2020-108,97764,549

digitalassetlinks/v1/H03-Dec-2020-1,404752

discovery/v1/H03-Dec-2020-1,9831,229

displayvideo/H03-Dec-2020-52,90131,415

dlp/v2/H03-Dec-2020-30,51918,539

dns/H03-Dec-2020-24,03014,959

docs/v1/H03-Dec-2020-11,6196,476

documentai/H03-Dec-2020-22,11213,161

domains/H03-Dec-2020-13,8428,302

domainsrdap/v1/H03-Dec-2020-2,1801,466

doubleclickbidmanager/H03-Dec-2020-12,7528,300

doubleclicksearch/v2/H03-Dec-2020-3,4532,212

drive/H03-Dec-2020-38,68923,760

driveactivity/v2/H03-Dec-2020-3,1881,918

eventarc/v1beta1/H03-Dec-2020-4,5122,747

examples/H03-May-2022-1,169902

factchecktools/v1alpha1/H03-Dec-2020-2,2271,390

fcm/v1/H03-Dec-2020-1,729979

file/H03-Dec-2020-12,3487,663

firebase/v1beta1/H03-Dec-2020-8,6875,289

firebasedatabase/v1beta/H03-Dec-2020-1,6551,091

firebasedynamiclinks/v1/H03-Dec-2020-3,0881,865

firebasehosting/H03-Dec-2020-12,9988,316

firebaseml/H03-Dec-2020-3,1082,008

firebaseremoteconfig/v1/H03-Dec-2020-995581

firebaserules/v1/H03-Dec-2020-3,9692,442

firestore/H03-Dec-2020-23,61214,363

fitness/v1/H03-Dec-2020-5,5313,426

fusiontables/H03-Dec-2020-16,83310,901

games/v1/H03-Dec-2020-11,7567,255

gamesconfiguration/v1configuration/H03-Dec-2020-3,1452,046

gameservices/H03-Dec-2020-22,62013,930

gamesmanagement/v1management/H03-Dec-2020-3,5002,268

genomics/H03-Dec-2020-11,0706,497

gmail/v1/H03-Dec-2020-16,88910,673

gmailpostmastertools/v1beta1/H03-Dec-2020-1,8981,192

google-api-go-generator/H03-Dec-2020-42,69339,374

googleapi/H03-Dec-2020-1,142838

groupsmigration/v1/H03-Dec-2020-562389

groupssettings/v1/H03-Dec-2020-1,562828

healthcare/H03-Dec-2020-83,87249,833

homegraph/v1/H03-Dec-2020-2,1261,316

iam/v1/H03-Dec-2020-10,6516,575

iamcredentials/v1/H03-Dec-2020-1,437903

iap/H03-Dec-2020-5,3443,211

identitytoolkit/v3/H03-Dec-2020-7,0284,576

idtoken/H03-Dec-2020-1,077869

indexing/v3/H03-Dec-2020-753508

integration-tests/H03-Dec-2020-658550

internal/H03-Dec-2020-4,4163,365

iterator/H03-Dec-2020-939626

jobs/H03-Dec-2020-44,48725,225

kgsearch/v1/H03-Dec-2020-575383

language/H03-Dec-2020-9,8326,128

lib/codereview/H03-Dec-2020-21

libraryagent/v1/H03-Dec-2020-1,6121,059

licensing/v1/H03-Dec-2020-2,0091,323

lifesciences/v2beta/H03-Dec-2020-3,9592,304

localservices/v1/H03-Dec-2020-1,6831,037

logging/H03-Dec-2020-38,25023,933

managedidentities/H03-Dec-2020-22,19813,605

manufacturers/v1/H03-Dec-2020-2,2871,427

memcache/H03-Dec-2020-7,9674,924

mirror/v1/H03-Dec-2020-6,2333,962

ml/v1/H03-Dec-2020-15,5239,246

monitoring/H03-Dec-2020-22,62412,952

networkmanagement/H03-Dec-2020-13,2847,993

notebooks/v1/H03-Dec-2020-7,8324,933

oauth2/H03-Dec-2020-1,8871,277

option/H03-Dec-2020-601329

osconfig/H03-Dec-2020-13,4008,188

oslogin/H03-Dec-2020-5,2843,485

pagespeedonline/H03-Dec-2020-6,5563,997

partners/v2/H03-Dec-2020-10,8946,401

people/v1/H03-Dec-2020-9,5335,702

playablelocations/v3/H03-Dec-2020-1,7471,053

playcustomapp/v1/H03-Dec-2020-610423

playmoviespartner/v1/H03-Dec-2020-3,3152,003

plus/v1/H03-Dec-2020-5,6263,325

plusdomains/v1/H03-Dec-2020-6,7244,017

policytroubleshooter/H03-Dec-2020-2,9701,606

poly/v1/H03-Dec-2020-2,6421,587

privateca/v1beta1/H03-Dec-2020-11,5577,015

prod_tt_sasportal/v1alpha1/H03-Dec-2020-14,5019,542

proximitybeacon/v1beta1/H03-Dec-2020-5,5063,095

pubsub/H03-Dec-2020-17,76710,971

pubsublite/v1/H03-Dec-2020-4,0042,592

qpxexpress/v1/H03-Dec-2020-2,3161,406

realtimebidding/v1/H03-Dec-2020-9,2555,753

recommendationengine/v1beta1/H03-Dec-2020-8,2484,979

recommender/H03-Dec-2020-6,4483,964

redis/H03-Dec-2020-9,3915,894

remotebuildexecution/H03-Dec-2020-21,23211,900

replicapool/v1beta1/H03-Dec-2020-3,9272,441

replicapoolupdater/v1beta1/H03-Dec-2020-3,5542,218

reseller/v1/H03-Dec-2020-4,3582,732

run/H03-Dec-2020-42,54825,675

runtimeconfig/H03-Dec-2020-6,7964,215

safebrowsing/v4/H03-Dec-2020-3,7622,371

sasportal/v1alpha1/H03-Dec-2020-14,5009,541

script/v1/H03-Dec-2020-6,4593,927

searchconsole/v1/H03-Dec-2020-3,1732,020

secretmanager/H03-Dec-2020-9,9926,160

securitycenter/H03-Dec-2020-43,80226,653

servicebroker/H03-Dec-2020-13,7448,053

serviceconsumermanagement/H03-Dec-2020-17,7059,716

servicecontrol/H03-Dec-2020-7,6234,346

servicedirectory/v1beta1/H03-Dec-2020-6,0543,774

servicemanagement/v1/H03-Dec-2020-11,5846,516

servicenetworking/H03-Dec-2020-18,72810,482

serviceusage/H03-Dec-2020-19,69910,997

serviceuser/v1/H03-Dec-2020-6,8333,166

sheets/v4/H03-Dec-2020-22,40912,766

siteverification/v1/H03-Dec-2020-1,5961,039

slides/v1/H03-Dec-2020-12,3696,862

smartdevicemanagement/v1/H03-Dec-2020-2,2301,443

sourcerepo/v1/H03-Dec-2020-3,5772,175

spanner/v1/H03-Dec-2020-16,86710,017

spectrum/v1explorer/H03-Dec-2020-3,7202,110

speech/H03-Dec-2020-10,6996,348

sql/v1beta4/H03-Dec-2020-15,1659,284

sqladmin/v1beta4/H03-Dec-2020-15,3379,576

storage/H03-Dec-2020-33,73520,568

storagetransfer/v1/H03-Dec-2020-4,2352,513

streetviewpublish/v1/H03-Dec-2020-3,2101,954

sts/H03-Dec-2020-1,152740

support/bundler/H03-Dec-2020-970658

surveys/v2/H03-Dec-2020-2,7161,726

tagmanager/H03-Dec-2020-34,35821,700

tasks/v1/H03-Dec-2020-3,2822,143

testing/v1/H03-Dec-2020-6,1473,603

texttospeech/H03-Dec-2020-2,3891,487

toolresults/H03-Dec-2020-15,2499,129

tpu/H03-Dec-2020-9,7826,298

tracing/v2/H03-Dec-2020-2,5841,470

trafficdirector/v2/H03-Dec-2020-2,6951,583

transcoder/v1beta1/H03-Dec-2020-4,8192,992

translate/H03-Dec-2020-12,5997,751

transport/H03-Dec-2020-3,8252,985

urlshortener/v1/H03-Dec-2020-1,128728

vault/v1/H03-Dec-2020-10,1776,405

vectortile/v1/H03-Dec-2020-2,8041,539

verifiedaccess/v1/H03-Dec-2020-797530

videointelligence/H03-Dec-2020-67,25040,137

vision/H03-Dec-2020-75,67645,880

webfonts/v1/H03-Dec-2020-597403

webmasters/v3/H03-Dec-2020-2,3071,486

websecurityscanner/H03-Dec-2020-14,1268,846

workflowexecutions/v1beta/H03-Dec-2020-1,392915

workflows/v1beta/H03-Dec-2020-2,9541,892

youtube/v3/H03-Dec-2020-36,33921,681

youtubeanalytics/H03-Dec-2020-5,5853,404

youtubereporting/v1/H03-Dec-2020-3,4182,180

.gitignoreH A D03-Dec-2020183 1916

AUTHORSH A D03-Dec-2020347 129

CHANGES.mdH A D03-Dec-202014.1 KiB438283

CONTRIBUTING.mdH A D03-Dec-20203.8 KiB10175

CONTRIBUTORSH A D03-Dec-20202.1 KiB5753

GettingStarted.mdH A D03-Dec-20204.5 KiB147105

LICENSEH A D03-Dec-20201.4 KiB2824

NOTESH A D03-Dec-2020430 1410

README.mdH A D03-Dec-20203.5 KiB10678

RELEASING.mdH A D03-Dec-20201.3 KiB3124

TODOH A D03-Dec-202064 32

api-list.jsonH A D03-Dec-2020208.2 KiB4,5754,574

doc.goH A D03-Dec-20202.2 KiB551

go.modH A D03-Dec-2020582 1916

go.sumH A D03-Dec-202044.6 KiB460459

license_test.goH A D03-Dec-20201.7 KiB6747

synth.metadataH A D03-Dec-2020212 1111

synth.pyH A D03-Dec-2020703 204

tools.goH A D03-Dec-2020263 135

README.md

1# Google APIs Client Library for Go
2
3## Getting Started
4
5```
6$ go get google.golang.org/api/tasks/v1
7$ go get google.golang.org/api/moderator/v1
8$ go get google.golang.org/api/urlshortener/v1
9... etc ...
10```
11
12and using:
13
14```go
15package main
16
17import (
18	"net/http"
19
20	"google.golang.org/api/urlshortener/v1"
21)
22
23func main() {
24	svc, err := urlshortener.New(http.DefaultClient)
25	// ...
26}
27```
28
29* For a longer tutorial, see the [Getting Started guide](https://github.com/google/google-api-go-client/blob/master/GettingStarted.md).
30* For examples, see the [examples directory](https://github.com/google/google-api-go-client/tree/master/examples).
31* For support, use the [golang-nuts](https://groups.google.com/group/golang-nuts) mailing list.
32* The code review instance may be found [here](https://code-review.googlesource.com).
33
34## Status
35[![GoDoc](https://godoc.org/google.golang.org/api?status.svg)](https://godoc.org/google.golang.org/api)
36
37These are auto-generated Go libraries from the Google Discovery Service's JSON description files of the available "new style" Google APIs.
38
39Due to the auto-generated nature of this collection of libraries, complete APIs or specific versions can appear or go away without notice.
40As a result, you should always locally vendor any API(s) that your code relies upon.
41
42These 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.
43
44If you're working with Google Cloud Platform APIs such as Datastore or Pub/Sub,
45consider using the
46[Cloud Client Libraries for Go](https://github.com/googleapis/google-cloud-go)
47instead. These are the new and
48idiomatic Go libraries targeted specifically at Google Cloud Platform Services.
49
50The generator itself and the code it produces are beta. Some APIs are
51alpha/beta, and indicated as such in the import path (e.g.,
52"google.golang.org/api/someapi/v1alpha").
53
54## Application Default Credentials Example
55
56Application Default Credentials provide a simplified way to obtain credentials
57for authenticating with Google APIs.
58
59The Application Default Credentials authenticate as the application itself,
60which make them great for working with Google Cloud APIs like Storage or
61Datastore. They are the recommended form of authentication when building
62applications that run on Google Compute Engine or Google App Engine.
63
64Default credentials are provided by the `golang.org/x/oauth2/google` package. To use them, add the following import:
65
66```go
67import "golang.org/x/oauth2/google"
68```
69
70Some 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:
71
72```go
73import (
74        "context"
75        "golang.org/x/oauth2/google"
76        "google.golang.org/api/compute/v1"
77)
78
79func main() {
80        // Use oauth2.NoContext if there isn't a good context to pass in.
81        ctx := context.Background()
82
83        client, err := google.DefaultClient(ctx, compute.ComputeScope)
84        if err != nil {
85                //...
86        }
87        computeService, err := compute.New(client)
88        if err != nil {
89                //...
90        }
91}
92```
93
94If you need a `oauth2.TokenSource`, use the `DefaultTokenSource` function:
95
96```go
97ts, err := google.DefaultTokenSource(ctx, scope1, scope2, ...)
98if err != nil {
99        //...
100}
101client := oauth2.NewClient(ctx, ts)
102```
103
104See also: [golang.org/x/oauth2/google](https://godoc.org/golang.org/x/oauth2/google) package documentation.
105
106