google-api-ruby-client/script/generate

81 lines
1.6 KiB
Bash
Executable File

#!/usr/bin/env bash
# Usage: script/generate
# Update packaged APIs
DIR=$(dirname $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ))
APIS=(adexchangebuyer:v1.3 \
adexchangeseller:v2.0 \
admin:directory_v1 \
admin:reports_v1 \
adsense:v1.4 \
adsensehost:v4.1 \
analytics:v3 \
androidenterprise:v1 \
androidpublisher:v2 \
appsactivity:v1 \
appstate:v1 \
autoscaler:v1beta2 \
bigquery:v2 \
blogger:v3 \
books:v1 \
calendar:v3 \
civicinfo:v2 \
classroom:v1beta1 \
cloudmonitoring:v2beta2 \
cloudresourcemanager:v1beta1 \
compute:v1 \
container:v1 \
content:v2 \
coordinate:v1 \
customsearch:v1 \
datastore:v1beta2 \
deploymentmanager:v2beta2 \
dfareporting:v2.1 \
discovery:v1 \
dns:v1 \
doubleclickbidmanager:v1 \
doubleclicksearch:v2 \
drive:v2 \
fitness:v1 \
fusiontables:v2 \
games:v1 \
gamesConfiguration:v1configuration \
gamesConfiguration:v1management \
gan:v1beta1 \
genomics:v1 \
gmail:v1 \
groupsmigration:v1 \
groupssettings:v1 \
identitytoolkit:v3 \
licensing:v1 \
logging:v1beta3 \
manager:v1beta2 \
mapsengine:v1 \
mirror:v1 \
oauth2:v2 \
pagespeedonline:v2 \
plus:v1 \
plusDomains:v1 \
prediction:v1.6 \
pubsub:v1beta2 \
qpxExpress:v1 \
replicapool:v1beta2 \
replicapoolupdater:v1beta1 \
reseller:v1 \
resourceviews:v1beta2 \
siteVerification:v1 \
sqladmin:v1beta4 \
storage:v1 \
tagmanager:v1 \
taskqueue:v1beta2 \
tasks:v1 \
translate:v2 \
urlshortener:v1 \
webmasters:v3 \
youtube:v3 \
youtubeAnalytics:v1 \
)
echo 'a' | bundle exec bin/generate-api gen generated --names_out=$DIR/api_names_out.yaml --id=${APIS[*]}