script/generate in google-api-client-0.9.4 vs script/generate in google-api-client-0.9.5
- old
+ new
@@ -2,11 +2,11 @@
# Usage: script/generate
# Update packaged APIs
DIR=$(dirname $( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ))
-APIS=(adexchangebuyer:v1.4 \
+API_IDS=(adexchangebuyer:v1.4 \
adexchangeseller:v2.0 \
admin:directory_v1 \
admin:datatransfer_v1 \
admin:reports_v1 \
adsense:v1.4 \
@@ -96,7 +96,10 @@
youtube:v3 \
youtubeAnalytics:v1 \
youtubereporting:v1 \
)
+URLS=(https://content.googleapis.com/discovery/v1/apis/youtubePartner/v1/rest \
+ https://content.googleapis.com/discovery/v1/apis/compute/beta/rest \
+)
-echo 'a' | bundle exec bin/generate-api gen generated --from-discovery=true --names_out=$DIR/api_names_out.yaml --url='https://content.googleapis.com/discovery/v1/apis/compute/beta/rest' --id=${APIS[*]}
+echo 'a' | bundle exec bin/generate-api gen generated --from-discovery=true --names_out=$DIR/api_names_out.yaml --url=${URLS[*]} --id=${API_IDS[*]}