From c0a247605890be6553fa4709074b4c4ca4a199a9 Mon Sep 17 00:00:00 2001 From: Sebastian Thiel Date: Fri, 13 Mar 2015 17:06:36 +0100 Subject: [PATCH] feat(deps): update-json using discovery API Instead of depending on the google go client API repository, I now use the original data source, namely the discovery API. fixes #5 --- Makefile | 10 +- README.md | 4 +- .../v1.2/adexchangebuyer-api.json | 4 +- .../v1.3/adexchangebuyer-api.json | 4 +- .../v1.1/adexchangeseller-api.json | 4 +- .../v1/adexchangeseller-api.json | 4 +- .../v2.0/adexchangeseller-api.json | 4 +- .../admin/email_migration_v2/admin-api.json | 4 +- etc/api/adsense/v1.2/adsense-api.json | 4 +- etc/api/adsense/v1.3/adsense-api.json | 4 +- etc/api/adsense/v1.4/adsense-api.json | 4 +- etc/api/adsensehost/v4.1/adsensehost-api.json | 4 +- etc/api/analytics/v2.4/analytics-api.json | 4 +- etc/api/analytics/v3/analytics-api.json | 431 +--- .../v1/androidenterprise-api.json | 2155 +++++++++++++++++ .../v1.1/androidpublisher-api.json | 4 +- .../v1/androidpublisher-api.json | 4 +- etc/api/api-list.yaml | 4 + etc/api/appstate/v1/appstate-api.json | 4 +- etc/api/audit/v1/audit-api.json | 2 +- .../autoscaler/v1beta2/autoscaler-api.json | 4 +- etc/api/bigquery/v2/bigquery-api.json | 4 +- etc/api/blogger/v2/blogger-api.json | 4 +- etc/api/calendar/v3/calendar-api.json | 8 +- etc/api/civicinfo/v2/civicinfo-api.json | 4 +- .../v2beta2/cloudmonitoring-api.json | 4 +- etc/api/compute/v1/compute-api.json | 1010 ++++---- etc/api/container/v1beta1/container-api.json | 4 +- etc/api/content/v2/content-api.json | 51 +- etc/api/customsearch/v1/customsearch-api.json | 2 +- etc/api/dataflow/v1b4/dataflow-api.json | 4 +- .../v2beta1/deploymentmanager-api.json | 4 +- .../dfareporting/v1.1/dfareporting-api.json | 4 +- .../dfareporting/v1.2/dfareporting-api.json | 4 +- .../dfareporting/v1.3/dfareporting-api.json | 4 +- etc/api/dfareporting/v1/dfareporting-api.json | 4 +- .../dfareporting/v2.0/dfareporting-api.json | 26 +- etc/api/discovery/v1/discovery-api.json | 2 +- etc/api/dns/v1beta1/dns-api.json | 6 +- .../v2/doubleclicksearch-api.json | 4 +- etc/api/drive/v1/drive-api.json | 4 +- etc/api/drive/v2/drive-api.json | 16 +- etc/api/fusiontables/v1/fusiontables-api.json | 1823 ++++++++++++++ etc/api/fusiontables/v2/fusiontables-api.json | 1928 +++++++++++++++ etc/api/games/v1/games-api.json | 4 +- .../gamesconfiguration-api.json | 4 +- .../v1management/gamesmanagement-api.json | 4 +- etc/api/gan/v1beta1/gan-api.json | 2 +- etc/api/genomics/v1beta2/genomics-api.json | 80 +- etc/api/gmail/v1/gmail-api.json | 4 +- .../v1/groupsmigration-api.json | 2 +- .../groupssettings/v1/groupssettings-api.json | 2 +- .../v3/identitytoolkit-api.json | 2 +- etc/api/licensing/v1/licensing-api.json | 44 +- etc/api/manager/v1beta2/manager-api.json | 2 +- etc/api/mapsengine/exp2/mapsengine-api.json | 4 +- etc/api/mapsengine/v1/mapsengine-api.json | 4 +- etc/api/mirror/v1/mirror-api.json | 4 +- etc/api/oauth2/v1/oauth2-api.json | 6 +- etc/api/oauth2/v2/oauth2-api.json | 6 +- etc/api/plus/v1/plus-api.json | 4 +- etc/api/plusdomains/v1/plusdomains-api.json | 4 +- etc/api/prediction/v1.2/prediction-api.json | 2 +- etc/api/prediction/v1.3/prediction-api.json | 2 +- etc/api/prediction/v1.4/prediction-api.json | 2 +- etc/api/prediction/v1.5/prediction-api.json | 2 +- etc/api/qpxexpress/v1/qpxexpress-api.json | 2 +- .../replicapool/v1beta1/replicapool-api.json | 2 +- .../replicapool/v1beta2/replicapool-api.json | 2 +- .../v1beta1/replicapoolupdater-api.json | 28 +- .../v1beta1/resourceviews-api.json | 2 +- .../v1beta2/resourceviews-api.json | 2 +- .../v1/siteverification-api.json | 2 +- etc/api/storage/v1/storage-api.json | 4 +- etc/api/storage/v1beta1/storage-api.json | 4 +- etc/api/storage/v1beta2/storage-api.json | 4 +- etc/api/urlshortener/v1/urlshortener-api.json | 4 +- etc/api/webfonts/v1/webfonts-api.json | 2 +- etc/api/webmasters/v3/webmasters-api.json | 2 +- etc/api/youtube/v3/youtube-api.json | 72 +- .../v1/youtubeanalytics-api.json | 4 +- .../v1beta1/youtubeanalytics-api.json | 4 +- etc/bin/update-json.sh | 12 - gen/youtube3/src/lib.rs | 68 +- src/mako/deps.mako | 34 +- 85 files changed, 6937 insertions(+), 1097 deletions(-) create mode 100644 etc/api/androidenterprise/v1/androidenterprise-api.json create mode 100644 etc/api/fusiontables/v1/fusiontables-api.json create mode 100644 etc/api/fusiontables/v2/fusiontables-api.json delete mode 100755 etc/bin/update-json.sh diff --git a/Makefile b/Makefile index dfcddd23e6..f2a4001b4f 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,4 @@ -.PHONY: json-to-xml clean help api-deps regen-apis license update-json +.PHONY: json-to-xml clean help api-deps regen-apis license .SUFFIXES: include Makefile.helpers @@ -36,7 +36,7 @@ help: $(info help-api - show all api targets to build individually) $(info help - print this help) $(info license - regenerate the main license file) - $(info update-json - copy API definitions from source GOOGLE_GO_APIS_REPO=) + $(info update-json - rediscover API schema json files and update api-list.yaml with latest versions) $(info api-deps - generate a file to tell make what API file dependencies will be) $(PYTHON): @@ -50,9 +50,6 @@ $(API_DEPS): $(API_DEPS_TPL) $(MAKO_STANDARD_DEPENDENCIES) $(API_LIST) api-deps: $(API_DEPS) -$(API_LIST): $(API_VERSION_GEN) - $(API_VERSION_GEN) etc/api $@ $@ - include $(API_DEPS) LICENSE.md: $(MAKO_SRC)/LICENSE.md.mako $(API_SHARED_INFO) $(MAKO_RENDER) @@ -65,6 +62,3 @@ regen-apis: clean-apis apis license clean: clean-apis -rm -Rf $(VENV_DIR) -rm $(API_DEPS) - -update-json: - etc/bin/update-json.sh $(GOOGLE_GO_APIS_REPO) etc/api diff --git a/README.md b/README.md index 9288699b25..bf3b07a2b9 100644 --- a/README.md +++ b/README.md @@ -35,4 +35,6 @@ What follows is a list of other material that is licensed differently. [oauth]: https://crates.io/crates/yup-oauth2 -[google-lic]: https://github.com/google/google-api-go-client/blob/master/LICENSE \ No newline at end of file +[google-lic]: https://github.com/google/google-api-go-client/blob/master/LICENSE +[api-discovery-video]: https://www.youtube.com/watch?v=lQbT1NrxpUo +[api-discovery]: https://developers.google.com/discovery/v1/using \ No newline at end of file diff --git a/etc/api/adexchangebuyer/v1.2/adexchangebuyer-api.json b/etc/api/adexchangebuyer/v1.2/adexchangebuyer-api.json index cbdee763de..9c2e387f9a 100644 --- a/etc/api/adexchangebuyer/v1.2/adexchangebuyer-api.json +++ b/etc/api/adexchangebuyer/v1.2/adexchangebuyer-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/lyqQOHJaq-GnjxN_zYrPyfHYUGs\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/dEGRoa3EnpVgcuPKmp71Dn4qTV4\"", "discoveryVersion": "v1", "id": "adexchangebuyer:v1.2", "name": "adexchangebuyer", "canonicalName": "Ad Exchange Buyer", "version": "v1.2", - "revision": "20141123", + "revision": "20150218", "title": "Ad Exchange Buyer API", "description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.", "ownerDomain": "google.com", diff --git a/etc/api/adexchangebuyer/v1.3/adexchangebuyer-api.json b/etc/api/adexchangebuyer/v1.3/adexchangebuyer-api.json index 5bf8a5d8a4..24bfe6188f 100644 --- a/etc/api/adexchangebuyer/v1.3/adexchangebuyer-api.json +++ b/etc/api/adexchangebuyer/v1.3/adexchangebuyer-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/TNq58uhDuCyuU5JtNXwx-a0s4AI\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/2M7A4OXwHvtbF26OH-dqTpdcCxY\"", "discoveryVersion": "v1", "id": "adexchangebuyer:v1.3", "name": "adexchangebuyer", "canonicalName": "Ad Exchange Buyer", "version": "v1.3", - "revision": "20141123", + "revision": "20150218", "title": "Ad Exchange Buyer API", "description": "Accesses your bidding-account information, submits creatives for validation, finds available direct deals, and retrieves performance reports.", "ownerDomain": "google.com", diff --git a/etc/api/adexchangeseller/v1.1/adexchangeseller-api.json b/etc/api/adexchangeseller/v1.1/adexchangeseller-api.json index a0fe9388f7..edbac7fac1 100644 --- a/etc/api/adexchangeseller/v1.1/adexchangeseller-api.json +++ b/etc/api/adexchangeseller/v1.1/adexchangeseller-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Ob-vIbU0CMw39spLQLZEQavYp3Q\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/LJI9qShCZjBHg072lrR-8ZdwqHs\"", "discoveryVersion": "v1", "id": "adexchangeseller:v1.1", "name": "adexchangeseller", "canonicalName": "Ad Exchange Seller", "version": "v1.1", - "revision": "20141112", + "revision": "20150225", "title": "Ad Exchange Seller API", "description": "Gives Ad Exchange seller users access to their inventory and the ability to generate reports", "ownerDomain": "google.com", diff --git a/etc/api/adexchangeseller/v1/adexchangeseller-api.json b/etc/api/adexchangeseller/v1/adexchangeseller-api.json index a6770b259a..45dd198bf2 100644 --- a/etc/api/adexchangeseller/v1/adexchangeseller-api.json +++ b/etc/api/adexchangeseller/v1/adexchangeseller-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/kgKc4O1bceVftsMmf3p1OXF57gg\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Udv6xd2CTeF5gBc5RK-Xrdwi5BU\"", "discoveryVersion": "v1", "id": "adexchangeseller:v1", "name": "adexchangeseller", "canonicalName": "Ad Exchange Seller", "version": "v1", - "revision": "20141112", + "revision": "20150225", "title": "Ad Exchange Seller API", "description": "Gives Ad Exchange seller users access to their inventory and the ability to generate reports", "ownerDomain": "google.com", diff --git a/etc/api/adexchangeseller/v2.0/adexchangeseller-api.json b/etc/api/adexchangeseller/v2.0/adexchangeseller-api.json index df5225c1c5..cbd6f172e4 100644 --- a/etc/api/adexchangeseller/v2.0/adexchangeseller-api.json +++ b/etc/api/adexchangeseller/v2.0/adexchangeseller-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/6aC1_omptpkys969gj83ZtJAvZ8\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/-2ppmthl020S47FH8VO33hbOboc\"", "discoveryVersion": "v1", "id": "adexchangeseller:v2.0", "name": "adexchangeseller", "canonicalName": "Ad Exchange Seller", "version": "v2.0", - "revision": "20141112", + "revision": "20150225", "title": "Ad Exchange Seller API", "description": "Gives Ad Exchange seller users access to their inventory and the ability to generate reports", "ownerDomain": "google.com", diff --git a/etc/api/admin/email_migration_v2/admin-api.json b/etc/api/admin/email_migration_v2/admin-api.json index 209ab8f238..a52012ca90 100644 --- a/etc/api/admin/email_migration_v2/admin-api.json +++ b/etc/api/admin/email_migration_v2/admin-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/Dam2iHq0kOgu8qnsdYB9fhgy5SY\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/_VRzIG5q4_x1FzCCxocLHIuiUhw\"", "discoveryVersion": "v1", "id": "admin:email_migration_v2", "name": "admin", "version": "email_migration_v2", - "revision": "20140903", + "revision": "20150303", "title": "Email Migration API v2", "description": "Email Migration API lets you migrate emails of users to Google backends.", "ownerDomain": "google.com", diff --git a/etc/api/adsense/v1.2/adsense-api.json b/etc/api/adsense/v1.2/adsense-api.json index 5e8ef7c8f4..f68c5437d0 100644 --- a/etc/api/adsense/v1.2/adsense-api.json +++ b/etc/api/adsense/v1.2/adsense-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/4sbh2CScTU4USzSvCohsjZ1YVxQ\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/qR09Xr4WyuppZd0FxNauFU4HZEY\"", "discoveryVersion": "v1", "id": "adsense:v1.2", "name": "adsense", "canonicalName": "AdSense", "version": "v1.2", - "revision": "20141218", + "revision": "20150126", "title": "AdSense Management API", "description": "Gives AdSense publishers access to their inventory and the ability to generate reports", "ownerDomain": "google.com", diff --git a/etc/api/adsense/v1.3/adsense-api.json b/etc/api/adsense/v1.3/adsense-api.json index 1bcbaef886..da6c83d023 100644 --- a/etc/api/adsense/v1.3/adsense-api.json +++ b/etc/api/adsense/v1.3/adsense-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/gTf3J_Tcqy5jzBteF-x9VlOxF-c\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/QLzYLvfST0FjKuQb6H8Y9VPJgoE\"", "discoveryVersion": "v1", "id": "adsense:v1.3", "name": "adsense", "canonicalName": "AdSense", "version": "v1.3", - "revision": "20141218", + "revision": "20150126", "title": "AdSense Management API", "description": "Gives AdSense publishers access to their inventory and the ability to generate reports", "ownerDomain": "google.com", diff --git a/etc/api/adsense/v1.4/adsense-api.json b/etc/api/adsense/v1.4/adsense-api.json index f7d6f49d87..c3acb67dd4 100644 --- a/etc/api/adsense/v1.4/adsense-api.json +++ b/etc/api/adsense/v1.4/adsense-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/wiZb5dkU0x3zrMckXzFKcTNAp8w\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/GwVBOvnObENRnA8st3Br2OCaQxE\"", "discoveryVersion": "v1", "id": "adsense:v1.4", "name": "adsense", "canonicalName": "AdSense", "version": "v1.4", - "revision": "20141218", + "revision": "20150126", "title": "AdSense Management API", "description": "Gives AdSense publishers access to their inventory and the ability to generate reports", "ownerDomain": "google.com", diff --git a/etc/api/adsensehost/v4.1/adsensehost-api.json b/etc/api/adsensehost/v4.1/adsensehost-api.json index e4979b1d3a..6e45505941 100644 --- a/etc/api/adsensehost/v4.1/adsensehost-api.json +++ b/etc/api/adsensehost/v4.1/adsensehost-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/yoGXlEwGPLEAr1fmq3U4dFpyoyQ\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Ot75-sAq1Vj9vLc-q6gHNxVJqjQ\"", "discoveryVersion": "v1", "id": "adsensehost:v4.1", "name": "adsensehost", "canonicalName": "AdSense Host", "version": "v4.1", - "revision": "20141229", + "revision": "20150118", "title": "AdSense Host API", "description": "Gives AdSense Hosts access to report generation, ad code generation, and publisher management capabilities.", "ownerDomain": "google.com", diff --git a/etc/api/analytics/v2.4/analytics-api.json b/etc/api/analytics/v2.4/analytics-api.json index 384b7a374b..b8f0186b2c 100644 --- a/etc/api/analytics/v2.4/analytics-api.json +++ b/etc/api/analytics/v2.4/analytics-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/deWKWLiFywg1_Xne7G92xyJt8HA\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/RcOjYGQDsg144Y5EM1meYl_XNYw\"", "discoveryVersion": "v1", "id": "analytics:v2.4", "name": "analytics", "version": "v2.4", - "revision": "20150115", + "revision": "20141118", "title": "Google Analytics API", "description": "View and manage your Google Analytics data", "ownerDomain": "google.com", diff --git a/etc/api/analytics/v3/analytics-api.json b/etc/api/analytics/v3/analytics-api.json index 04a5cb3a67..1abb61e406 100644 --- a/etc/api/analytics/v3/analytics-api.json +++ b/etc/api/analytics/v3/analytics-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/A7O3agkh7yC4B7ApdQ5Stb69Ofk\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/aw3TpXPEnqSVSodmCVhPn55WgQk\"", "discoveryVersion": "v1", "id": "analytics:v3", "name": "analytics", "version": "v3", - "revision": "20150115", + "revision": "20141118", "title": "Google Analytics API", "description": "View and manage your Google Analytics data", "ownerDomain": "google.com", @@ -819,168 +819,6 @@ } } }, - "DailyUpload": { - "id": "DailyUpload", - "type": "object", - "description": "Metadata for daily upload entity.", - "properties": { - "accountId": { - "type": "string", - "description": "Account ID to which this daily upload belongs." - }, - "appendCount": { - "type": "integer", - "description": "Number of appends for this date.", - "format": "int32" - }, - "createdTime": { - "type": "string", - "description": "Time this daily upload was created.", - "format": "date-time" - }, - "customDataSourceId": { - "type": "string", - "description": "Custom data source ID to which this daily upload belongs." - }, - "date": { - "type": "string", - "description": "Date associated with daily upload." - }, - "kind": { - "type": "string", - "description": "Resource type for Analytics daily upload.", - "default": "analytics#dailyUpload" - }, - "modifiedTime": { - "type": "string", - "description": "Time this daily upload was last modified.", - "format": "date-time" - }, - "parentLink": { - "type": "object", - "description": "Parent link for a daily upload. Points to the custom data source to which this daily upload belongs.", - "properties": { - "href": { - "type": "string", - "description": "Link to the custom data source to which this daily upload belongs." - }, - "type": { - "type": "string", - "description": "Value is \"analytics#customDataSource\".", - "default": "analytics#customDataSource" - } - } - }, - "recentChanges": { - "type": "array", - "description": "Change log for last 10 changes in chronological order.", - "items": { - "type": "object", - "properties": { - "change": { - "type": "string", - "description": "The type of change: APPEND, RESET, or DELETE." - }, - "time": { - "type": "string", - "description": "The time when the change occurred.", - "format": "date-time" - } - } - } - }, - "selfLink": { - "type": "string", - "description": "Link for this daily upload." - }, - "webPropertyId": { - "type": "string", - "description": "Web property ID of the form UA-XXXXX-YY to which this daily upload belongs." - } - } - }, - "DailyUploadAppend": { - "id": "DailyUploadAppend", - "type": "object", - "description": "Metadata returned for a successful append operation.", - "properties": { - "accountId": { - "type": "string", - "description": "Account Id to which this daily upload append belongs." - }, - "appendNumber": { - "type": "integer", - "description": "Append number.", - "format": "int32" - }, - "customDataSourceId": { - "type": "string", - "description": "Custom data source Id to which this daily upload append belongs." - }, - "date": { - "type": "string", - "description": "Date associated with daily upload append." - }, - "kind": { - "type": "string", - "description": "Resource type for Analytics daily upload append.", - "default": "analytics#dailyUploadAppend" - }, - "nextAppendLink": { - "type": "string" - }, - "webPropertyId": { - "type": "string", - "description": "Web property Id of the form UA-XXXXX-YY to which this daily upload append belongs." - } - } - }, - "DailyUploads": { - "id": "DailyUploads", - "type": "object", - "description": "A daily upload collection lists Analytics daily uploads to which the user has access. Each resource in the collection corresponds to a single Analytics daily upload.", - "properties": { - "items": { - "type": "array", - "description": "A collection of daily uploads.", - "items": { - "$ref": "DailyUpload" - } - }, - "itemsPerPage": { - "type": "integer", - "description": "The maximum number of resources the response can contain, regardless of the actual number of resources returned. Its value ranges from 1 to 1000 with a value of 1000 by default, or otherwise specified by the max-results query parameter.", - "format": "int32" - }, - "kind": { - "type": "string", - "description": "Collection type. Value is analytics#dailyUploads.", - "default": "analytics#dailyUploads" - }, - "nextLink": { - "type": "string", - "description": "Link to next page for this daily upload collection." - }, - "previousLink": { - "type": "string", - "description": "Link to previous page for this daily upload collection." - }, - "startIndex": { - "type": "integer", - "description": "The starting index of the resources, which is 1 by default or otherwise specified by the start-index query parameter.", - "format": "int32" - }, - "totalResults": { - "type": "integer", - "description": "The total number of results for the query, regardless of the number of results in the response.", - "format": "int32" - }, - "username": { - "type": "string", - "description": "Email ID of the authenticated user" - } - } - }, "EntityAdWordsLink": { "id": "EntityAdWordsLink", "type": "object", @@ -4374,233 +4212,6 @@ } } }, - "dailyUploads": { - "methods": { - "delete": { - "id": "analytics.management.dailyUploads.delete", - "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}", - "httpMethod": "DELETE", - "description": "Delete uploaded data for the given date.", - "parameters": { - "accountId": { - "type": "string", - "description": "Account Id associated with daily upload delete.", - "required": true, - "pattern": "[0-9]+", - "location": "path" - }, - "customDataSourceId": { - "type": "string", - "description": "Custom data source Id associated with daily upload delete.", - "required": true, - "location": "path" - }, - "date": { - "type": "string", - "description": "Date for which data is to be deleted. Date should be formatted as YYYY-MM-DD.", - "required": true, - "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}", - "location": "path" - }, - "type": { - "type": "string", - "description": "Type of data for this delete.", - "required": true, - "enum": [ - "cost" - ], - "enumDescriptions": [ - "Value for specifying cost data upload." - ], - "location": "query" - }, - "webPropertyId": { - "type": "string", - "description": "Web property Id associated with daily upload delete.", - "required": true, - "pattern": "UA-[0-9]+-[0-9]+", - "location": "path" - } - }, - "parameterOrder": [ - "accountId", - "webPropertyId", - "customDataSourceId", - "date", - "type" - ], - "scopes": [ - "https://www.googleapis.com/auth/analytics", - "https://www.googleapis.com/auth/analytics.edit" - ] - }, - "list": { - "id": "analytics.management.dailyUploads.list", - "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads", - "httpMethod": "GET", - "description": "List daily uploads to which the user has access.", - "parameters": { - "accountId": { - "type": "string", - "description": "Account Id for the daily uploads to retrieve.", - "required": true, - "pattern": "\\d+", - "location": "path" - }, - "customDataSourceId": { - "type": "string", - "description": "Custom data source Id for daily uploads to retrieve.", - "required": true, - "pattern": ".{22}", - "location": "path" - }, - "end-date": { - "type": "string", - "description": "End date of the form YYYY-MM-DD.", - "required": true, - "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}", - "location": "query" - }, - "max-results": { - "type": "integer", - "description": "The maximum number of custom data sources to include in this response.", - "format": "int32", - "minimum": "1", - "location": "query" - }, - "start-date": { - "type": "string", - "description": "Start date of the form YYYY-MM-DD.", - "required": true, - "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}", - "location": "query" - }, - "start-index": { - "type": "integer", - "description": "A 1-based index of the first daily upload to retrieve. Use this parameter as a pagination mechanism along with the max-results parameter.", - "format": "int32", - "minimum": "1", - "location": "query" - }, - "webPropertyId": { - "type": "string", - "description": "Web property Id for the daily uploads to retrieve.", - "required": true, - "pattern": "UA-(\\d+)-(\\d+)", - "location": "path" - } - }, - "parameterOrder": [ - "accountId", - "webPropertyId", - "customDataSourceId", - "start-date", - "end-date" - ], - "response": { - "$ref": "DailyUploads" - }, - "scopes": [ - "https://www.googleapis.com/auth/analytics", - "https://www.googleapis.com/auth/analytics.readonly" - ] - }, - "upload": { - "id": "analytics.management.dailyUploads.upload", - "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads", - "httpMethod": "POST", - "description": "Update/Overwrite data for a custom data source.", - "parameters": { - "accountId": { - "type": "string", - "description": "Account Id associated with daily upload.", - "required": true, - "pattern": "\\d+", - "location": "path" - }, - "appendNumber": { - "type": "integer", - "description": "Append number for this upload indexed from 1.", - "required": true, - "format": "int32", - "minimum": "1", - "maximum": "20", - "location": "query" - }, - "customDataSourceId": { - "type": "string", - "description": "Custom data source Id to which the data being uploaded belongs.", - "required": true, - "location": "path" - }, - "date": { - "type": "string", - "description": "Date for which data is uploaded. Date should be formatted as YYYY-MM-DD.", - "required": true, - "pattern": "[0-9]{4}-[0-9]{2}-[0-9]{2}", - "location": "path" - }, - "reset": { - "type": "boolean", - "description": "Reset/Overwrite all previous appends for this date and start over with this file as the first upload.", - "default": "false", - "location": "query" - }, - "type": { - "type": "string", - "description": "Type of data for this upload.", - "required": true, - "enum": [ - "cost" - ], - "enumDescriptions": [ - "Value for specifying cost data upload." - ], - "location": "query" - }, - "webPropertyId": { - "type": "string", - "description": "Web property Id associated with daily upload.", - "required": true, - "pattern": "UA-\\d+-\\d+", - "location": "path" - } - }, - "parameterOrder": [ - "accountId", - "webPropertyId", - "customDataSourceId", - "date", - "appendNumber", - "type" - ], - "response": { - "$ref": "DailyUploadAppend" - }, - "scopes": [ - "https://www.googleapis.com/auth/analytics", - "https://www.googleapis.com/auth/analytics.edit" - ], - "supportsMediaUpload": true, - "mediaUpload": { - "accept": [ - "application/octet-stream" - ], - "maxSize": "5MB", - "protocols": { - "simple": { - "multipart": true, - "path": "/upload/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads" - }, - "resumable": { - "multipart": true, - "path": "/resumable/upload/analytics/v3/management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/dailyUploads/{date}/uploads" - } - } - } - } - } - }, "experiments": { "methods": { "delete": { @@ -6355,44 +5966,6 @@ "https://www.googleapis.com/auth/analytics.readonly" ] }, - "migrateDataImport": { - "id": "analytics.management.uploads.migrateDataImport", - "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/migrateDataImport", - "httpMethod": "POST", - "description": "Migrate custom data source and data imports to latest version.", - "parameters": { - "accountId": { - "type": "string", - "description": "Account Id for migration.", - "required": true, - "pattern": "\\d+", - "location": "path" - }, - "customDataSourceId": { - "type": "string", - "description": "Custom data source Id for migration.", - "required": true, - "pattern": ".{22}", - "location": "path" - }, - "webPropertyId": { - "type": "string", - "description": "Web property Id for migration.", - "required": true, - "pattern": "UA-(\\d+)-(\\d+)", - "location": "path" - } - }, - "parameterOrder": [ - "accountId", - "webPropertyId", - "customDataSourceId" - ], - "scopes": [ - "https://www.googleapis.com/auth/analytics", - "https://www.googleapis.com/auth/analytics.edit" - ] - }, "uploadData": { "id": "analytics.management.uploads.uploadData", "path": "management/accounts/{accountId}/webproperties/{webPropertyId}/customDataSources/{customDataSourceId}/uploads", diff --git a/etc/api/androidenterprise/v1/androidenterprise-api.json b/etc/api/androidenterprise/v1/androidenterprise-api.json new file mode 100644 index 0000000000..244a3c3b7c --- /dev/null +++ b/etc/api/androidenterprise/v1/androidenterprise-api.json @@ -0,0 +1,2155 @@ +{ + "kind": "discovery#restDescription", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/9BMK5_o_n_N_P1hnt8lUE8D0PAc\"", + "discoveryVersion": "v1", + "id": "androidenterprise:v1", + "name": "androidenterprise", + "canonicalName": "Android Enterprise", + "version": "v1", + "revision": "20150218", + "title": "Google Play MDM API", + "description": "Allows MDMs/EMMs and enterprises to manage the deployment of apps to Android for Work users.", + "ownerDomain": "google.com", + "ownerName": "Google", + "icons": { + "x16": "https://www.google.com/images/icons/product/android-16.png", + "x32": "https://www.google.com/images/icons/product/android-32.png" + }, + "documentationLink": "https://developers.google.com/play/enterprise", + "protocol": "rest", + "baseUrl": "https://www.googleapis.com/androidenterprise/v1/", + "basePath": "/androidenterprise/v1/", + "rootUrl": "https://www.googleapis.com/", + "servicePath": "androidenterprise/v1/", + "batchPath": "batch", + "parameters": { + "alt": { + "type": "string", + "description": "Data format for the response.", + "default": "json", + "enum": [ + "json" + ], + "enumDescriptions": [ + "Responses with Content-Type of application/json" + ], + "location": "query" + }, + "fields": { + "type": "string", + "description": "Selector specifying which fields to include in a partial response.", + "location": "query" + }, + "key": { + "type": "string", + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query" + }, + "oauth_token": { + "type": "string", + "description": "OAuth 2.0 token for the current user.", + "location": "query" + }, + "prettyPrint": { + "type": "boolean", + "description": "Returns response with indentations and line breaks.", + "default": "true", + "location": "query" + }, + "quotaUser": { + "type": "string", + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.", + "location": "query" + }, + "userIp": { + "type": "string", + "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.", + "location": "query" + } + }, + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/androidenterprise": { + "description": "Manage corporate Android devices" + } + } + } + }, + "schemas": { + "AppRestrictionsSchema": { + "id": "AppRestrictionsSchema", + "type": "object", + "description": "Represents the list of app restrictions available to be pre-configured for the product.", + "properties": { + "restrictions": { + "type": "array", + "description": "The set of restrictions that make up this schema.", + "items": { + "$ref": "AppRestrictionsSchemaRestriction" + } + } + } + }, + "AppRestrictionsSchemaRestriction": { + "id": "AppRestrictionsSchemaRestriction", + "type": "object", + "description": "A restriction in the App Restriction Schema represents a piece of configuration that may be pre-applied.", + "properties": { + "defaultValue": { + "$ref": "AppRestrictionsSchemaRestrictionRestrictionValue", + "description": "The default value of the restriction." + }, + "description": { + "type": "string", + "description": "A longer description of the restriction, giving more detail of what it affects." + }, + "entry": { + "type": "array", + "description": "For choice or multiselect restrictions, the list of possible entries' human-readable names.", + "items": { + "type": "string" + } + }, + "entryValue": { + "type": "array", + "description": "For choice or multiselect restrictions, the list of possible entries' machine-readable values.", + "items": { + "type": "string" + } + }, + "key": { + "type": "string", + "description": "The unique key that the product uses to identify the restriction, e.g. \"com.google.android.gm.fieldname\"." + }, + "restrictionType": { + "type": "string", + "description": "The type of the restriction." + }, + "title": { + "type": "string", + "description": "The name of the restriction." + } + } + }, + "AppRestrictionsSchemaRestrictionRestrictionValue": { + "id": "AppRestrictionsSchemaRestrictionRestrictionValue", + "type": "object", + "description": "A typed value for the restriction.", + "properties": { + "type": { + "type": "string", + "description": "The type of the value being provided." + }, + "valueBool": { + "type": "boolean", + "description": "The boolean value - this will only be present if type is bool." + }, + "valueInteger": { + "type": "integer", + "description": "The integer value - this will only be present if type is integer.", + "format": "int32" + }, + "valueMultiselect": { + "type": "array", + "description": "The list of string values - this will only be present if type is multiselect.", + "items": { + "type": "string" + } + }, + "valueString": { + "type": "string", + "description": "The string value - this will be present for types string, choice and hidden." + } + } + }, + "Collection": { + "id": "Collection", + "type": "object", + "description": "A collection resource defines a named set of apps that is visible to a set of users in the Google Play Store app running on those users' managed devices. Those users can then install any of those apps if they wish (which will trigger creation of install and entitlement resources). A user cannot install an app on a managed device unless the app is listed in at least one collection that is visible to that user.\n\nNote that the API can be used to directly install an app regardless of whether it is in any collection - so an enterprise has a choice of either directly pushing apps to users, or allowing users to install apps if they want. Which is appropriate will depend on the enterprise's policies and the purpose of the apps concerned.", + "properties": { + "collectionId": { + "type": "string", + "description": "Arbitrary unique ID, allocated by the API on creation." + }, + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#collection\".", + "default": "androidenterprise#collection" + }, + "name": { + "type": "string", + "description": "A user-friendly name for the collection (should be unique), e.g. \"Accounting apps\".", + "annotations": { + "required": [ + "androidenterprise.collections.insert", + "androidenterprise.collections.update" + ] + } + }, + "productId": { + "type": "array", + "description": "The IDs of the products in the collection, in the order in which they should be displayed.", + "items": { + "type": "string" + }, + "annotations": { + "required": [ + "androidenterprise.collections.insert", + "androidenterprise.collections.update" + ] + } + }, + "visibility": { + "type": "string", + "description": "Whether this collection is visible to all users, or only to the users that have been granted access through the collection_viewers api. Even if a collection is visible to allUsers, it is possible to add and remove viewers, but this will have no effect until the collection's visibility changes to viewersOnly." + } + } + }, + "CollectionViewersListResponse": { + "id": "CollectionViewersListResponse", + "type": "object", + "description": "The user resources for the collection.", + "properties": { + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#collectionViewersListResponse\".", + "default": "androidenterprise#collectionViewersListResponse" + }, + "user": { + "type": "array", + "description": "A user of an enterprise.", + "items": { + "$ref": "User" + } + } + } + }, + "CollectionsListResponse": { + "id": "CollectionsListResponse", + "type": "object", + "description": "The collection resources for the enterprise.", + "properties": { + "collection": { + "type": "array", + "description": "An ordered collection of products which can be made visible on the Google Play Store app to a selected group of users.", + "items": { + "$ref": "Collection" + } + }, + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#collectionsListResponse\".", + "default": "androidenterprise#collectionsListResponse" + } + } + }, + "Device": { + "id": "Device", + "type": "object", + "description": "A device resource represents a mobile device managed by the MDM and belonging to a specific enterprise user.\n\nThis collection cannot be modified via the API; it is automatically populated as devices are set up to be managed.", + "properties": { + "androidId": { + "type": "string", + "description": "The Google Play Services Android ID for the device encoded as a lowercase hex string, e.g. \"123456789abcdef0\"." + }, + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#device\".", + "default": "androidenterprise#device" + } + } + }, + "DeviceState": { + "id": "DeviceState", + "type": "object", + "description": "The state of a user's device, as accessed by the getState and setState methods on device resources.", + "properties": { + "accountState": { + "type": "string", + "description": "The state of the Google account on the device. \"enabled\" indicates that the Google account on the device can be used to access Google services (including Google Play), while \"disabled\" means that it cannot. A new device is initially in the \"disabled\" state." + }, + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#deviceState\".", + "default": "androidenterprise#deviceState" + } + } + }, + "DevicesListResponse": { + "id": "DevicesListResponse", + "type": "object", + "description": "The device resources for the user.", + "properties": { + "device": { + "type": "array", + "description": "A managed device.", + "items": { + "$ref": "Device" + } + }, + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#devicesListResponse\".", + "default": "androidenterprise#devicesListResponse" + } + } + }, + "Enterprise": { + "id": "Enterprise", + "type": "object", + "description": "An enterprise resource represents a binding between an organisation and their MDM.\n\nTo create an enterprise, an admin of the enterprise must first go through a Play for Work sign-up flow. At the end of this the admin will be presented with a token (a short opaque alphanumeric string). They must then present this to the MDM, who then supplies it to the enroll method. Until this is done the MDM will not have any access to the enterprise.\n\nAfter calling enroll the MDM should call setAccount to specify the service account that will be allowed to act on behalf of the enterprise, which will be required for access to the enterprise's data through this API. Only one call of setAccount is allowed for a given enterprise; the only way to change the account later is to unenroll the enterprise and enroll it again (obtaining a new token).\n\nThe MDM can unenroll an enterprise in order to sever the binding between them. Re-enrolling an enterprise is possible, but requires a new token to be retrieved. Enterprises.unenroll requires the MDM's credentials (as enroll does), not the enterprise's. Enterprises.unenroll can only be used for enterprises that were previously enrolled with the enroll call. Any enterprises that were enrolled using the (deprecated) Enterprises.insert call must be unenrolled with Enterprises.delete and can then be re-enrolled using the Enterprises.enroll call.\n\nThe ID for an enterprise is an opaque string. It is returned by insert and enroll and can also be retrieved if the enterprise's primary domain is known using the list method.", + "properties": { + "id": { + "type": "string", + "description": "The unique ID for the enterprise." + }, + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#enterprise\".", + "default": "androidenterprise#enterprise" + }, + "name": { + "type": "string", + "description": "The name of the enterprise, e.g. \"Example Inc\"." + }, + "primaryDomain": { + "type": "string", + "description": "The enterprise's primary domain, e.g. \"example.com\".", + "annotations": { + "required": [ + "androidenterprise.enterprises.insert" + ] + } + } + } + }, + "EnterpriseAccount": { + "id": "EnterpriseAccount", + "type": "object", + "description": "A service account that can be used to authenticate as the enterprise to API calls that require such authentication.", + "properties": { + "accountEmail": { + "type": "string", + "description": "The email address of the service account." + }, + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#enterpriseAccount\".", + "default": "androidenterprise#enterpriseAccount" + } + } + }, + "EnterprisesListResponse": { + "id": "EnterprisesListResponse", + "type": "object", + "description": "The matching enterprise resources.", + "properties": { + "enterprise": { + "type": "array", + "description": "An enterprise.", + "items": { + "$ref": "Enterprise" + } + }, + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#enterprisesListResponse\".", + "default": "androidenterprise#enterprisesListResponse" + } + } + }, + "Entitlement": { + "id": "Entitlement", + "type": "object", + "description": "The existence of an entitlement resource means that a user has the right to use a particular app on any of their devices. This might be because the app is free or because they have been allocated a license to the app from a group license purchased by the enterprise.\n\nIt should always be true that a user has an app installed on one of their devices only if they have an entitlement to it. So if an entitlement is deleted, the app will be uninstalled from all devices. Similarly if the user installs an app (and is permitted to do so), or the MDM triggers an install of the app, an entitlement to that app is automatically created. If this is impossible - e.g. the enterprise has not purchased sufficient licenses - then installation fails.\n\nNote that entitlements are always user specific, not device specific; a user may have an entitlement even though they have not installed the app anywhere. Once they have an entitlement they can install the app on multiple devices.\n\nThe API can be used to create an entitlement. If the app is a free app, a group license for that app is created. If it's a paid app, creating the entitlement consumes one license; it remains consumed until the entitlement is removed. Optionally an installation of the app on all the user's managed devices can be triggered at the time the entitlement is created. An entitlement cannot be created for an app if the app requires permissions that the enterprise has not yet accepted.\n\nEntitlements for paid apps that are due to purchases by the user on a non-managed profile will have \"userPurchase\" as entitlement reason; those entitlements cannot be removed via the API.", + "properties": { + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#entitlement\".", + "default": "androidenterprise#entitlement" + }, + "productId": { + "type": "string", + "description": "The ID of the product that the entitlement is for, e.g. \"app:com.google.android.gm\"." + }, + "reason": { + "type": "string", + "description": "The reason for the entitlement, e.g. \"free\" for free apps. This is temporary, it will be replaced by the acquisition kind field of group licenses." + } + } + }, + "EntitlementsListResponse": { + "id": "EntitlementsListResponse", + "type": "object", + "description": "The entitlement resources for the user.", + "properties": { + "entitlement": { + "type": "array", + "description": "An entitlement of a user to a product (e.g. an app). For example, a free app that they have installed, or a paid app that they have been allocated a license to.", + "items": { + "$ref": "Entitlement" + } + }, + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#entitlementsListResponse\".", + "default": "androidenterprise#entitlementsListResponse" + } + } + }, + "GroupLicense": { + "id": "GroupLicense", + "type": "object", + "description": "A group license object indicates a product that an enterprise admin has approved for use in the enterprise. The product may be free or paid. For free products, a group license object is created in these cases: if the enterprise admin approves a product in Google Play, if the product is added to a collection, or if an entitlement for the product is created for a user via the API. For paid products, a group license object is only created as part of the first bulk purchase of that product in Google Play done by the enterprise admin.\n\nThe API can be used to query group licenses; the available information includes the total number of licenses purchased (for paid products) and the total number of licenses that have been provisioned, i.e. the total number of user entitlements in existence for the product.\n\nGroup license objects are never deleted; if e.g. a free app is added to a collection and then removed, the group license will remain, allowing to keep track of any remaining entitlements. An enterprise admin may indicate they are no longer interested in the group license by marking it as unapproved in Google Play.", + "properties": { + "acquisitionKind": { + "type": "string", + "description": "How this group license was acquired. \"bulkPurchase\" means that this group license object was created because the enterprise purchased licenses for this product; this is \"free\" otherwise (for free products)." + }, + "approval": { + "type": "string", + "description": "Whether the product to which this group license relates is currently approved by the enterprise, as either \"approved\" or \"unapproved\". Products are approved when a group license is first created, but this approval may be revoked by an enterprise admin via Google Play. Unapproved products will not be visible to end users in collections and new entitlements to them should not normally be created." + }, + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#groupLicense\".", + "default": "androidenterprise#groupLicense" + }, + "numProvisioned": { + "type": "integer", + "description": "The total number of provisioned licenses for this product. Returned by read operations, but ignored in write operations.", + "format": "int32" + }, + "numPurchased": { + "type": "integer", + "description": "The number of purchased licenses (possibly in multiple purchases). If this field is omitted then there is no limit on the number of licenses that can be provisioned (e.g. if the acquisition kind is \"free\").", + "format": "int32" + }, + "productId": { + "type": "string", + "description": "The ID of the product that the license is for, e.g. \"app:com.google.android.gm\"." + } + } + }, + "GroupLicenseUsersListResponse": { + "id": "GroupLicenseUsersListResponse", + "type": "object", + "description": "The user resources for the group license.", + "properties": { + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#groupLicenseUsersListResponse\".", + "default": "androidenterprise#groupLicenseUsersListResponse" + }, + "user": { + "type": "array", + "description": "A user of an enterprise.", + "items": { + "$ref": "User" + } + } + } + }, + "GroupLicensesListResponse": { + "id": "GroupLicensesListResponse", + "type": "object", + "description": "The grouplicense resources for the enterprise.", + "properties": { + "groupLicense": { + "type": "array", + "description": "A group license for a product approved for use in the enterprise.", + "items": { + "$ref": "GroupLicense" + } + }, + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#groupLicensesListResponse\".", + "default": "androidenterprise#groupLicensesListResponse" + } + } + }, + "Install": { + "id": "Install", + "type": "object", + "description": "The existence of an install resource indicates that an app is installed on a particular device (or that an install is pending).\n\nThe API can be used to create an install resource using the update method. This triggers the actual install of the app on the device. If the user does not already have an entitlement for the app then an attempt is made to create one. If this fails (e.g. because the app is not free and there is no available license) then the creation of the install fails.\n\nThe API can also be used to update an installed app. If the update method is used on an existing install then the app will be updated to the latest available version.\n\nNote that it is not possible to force the installation of a specific version of an app; the version code is read-only.\n\nIf a user installs an app themselves (as permitted by the enterprise), then again an install resource and possibly an entitlement resource are automatically created.\n\nThe API can also be used to delete an install resource, which triggers the removal of the app from the device. Note that deleting an install does not automatically remove the corresponding entitlement, even if there are no remaining installs. The install resource will also be deleted if the user uninstalls the app themselves.", + "properties": { + "installState": { + "type": "string", + "description": "Install state. The state \"installPending\" means that an install request has recently been made and download to the device is in progress. The state \"installed\" means that the app has been installed. This field is read-only." + }, + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#install\".", + "default": "androidenterprise#install" + }, + "productId": { + "type": "string", + "description": "The ID of the product that the install is for, e.g. \"app:com.google.android.gm\"." + }, + "versionCode": { + "type": "integer", + "description": "The version of the installed product. Guaranteed to be set only if the install state is \"installed\".", + "format": "int32" + } + } + }, + "InstallsListResponse": { + "id": "InstallsListResponse", + "type": "object", + "description": "The install resources for the device.", + "properties": { + "install": { + "type": "array", + "description": "An installation of an app for a user on a specific device. The existence of an install implies that the user must have an entitlement to the app.", + "items": { + "$ref": "Install" + } + }, + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#installsListResponse\".", + "default": "androidenterprise#installsListResponse" + } + } + }, + "Permission": { + "id": "Permission", + "type": "object", + "description": "A permission represents some extra capability, to be granted to an Android app, which requires explicit consent. An enterprise admin must consent to these permissions on behalf of their users before an entitlement for the app can be created.\n\nThe permissions collection is read-only. The information provided for each permission (localized name and description) is intended to be used in the MDM user interface when obtaining consent from the enterprise.", + "properties": { + "description": { + "type": "string", + "description": "A longer description of the permissions giving more details of what it affects." + }, + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#permission\".", + "default": "androidenterprise#permission" + }, + "name": { + "type": "string", + "description": "The name of the permission." + }, + "permissionId": { + "type": "string", + "description": "An opaque string uniquely identifying the permission." + } + } + }, + "Product": { + "id": "Product", + "type": "object", + "description": "A product represents an app in the Google Play Store that is available to at least some users in the enterprise. (Some apps are restricted to a single enterprise, and no information about them is made available outside that enterprise.)\n\nThe information provided for each product (localized name, icon, link to the full Google Play details page) is intended to allow a basic representation of the product within an MDM user interface.", + "properties": { + "authorName": { + "type": "string", + "description": "The name of the author of the product (e.g. the app developer)." + }, + "detailsUrl": { + "type": "string", + "description": "A link to the (consumer) Google Play details page for the product." + }, + "iconUrl": { + "type": "string", + "description": "A link to an image that can be used as an icon for the product." + }, + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#product\".", + "default": "androidenterprise#product" + }, + "productId": { + "type": "string", + "description": "A string of the form \"app:\n\" - e.g. \"app:com.google.android.gm\" represents the GMail app." + }, + "title": { + "type": "string", + "description": "The name of the product." + }, + "workDetailsUrl": { + "type": "string", + "description": "A link to the Google Play for Work details page for the product, for use by an Enterprise administrator." + } + } + }, + "ProductPermission": { + "id": "ProductPermission", + "type": "object", + "description": "A product permissions resource represents the set of permissions required by a specific app and whether or not they have been accepted by an enterprise admin.\n\nThe API can be used to read the set of permissions, and also to update the set to indicate that permissions have been accepted.", + "properties": { + "permissionId": { + "type": "string", + "description": "An opaque string uniquely identifying the permission." + }, + "state": { + "type": "string", + "description": "Whether the permission has been accepted or not." + } + } + }, + "ProductPermissions": { + "id": "ProductPermissions", + "type": "object", + "description": "Information about the permissions required by a specific app and whether they have been accepted by the enterprise.", + "properties": { + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#productPermissions\".", + "default": "androidenterprise#productPermissions" + }, + "permission": { + "type": "array", + "description": "The permissions required by the app.", + "items": { + "$ref": "ProductPermission" + }, + "annotations": { + "required": [ + "androidenterprise.products.updatePermissions" + ] + } + }, + "productId": { + "type": "string", + "description": "The ID of the app that the permissions relate to, e.g. \"app:com.google.android.gm\"." + } + } + }, + "User": { + "id": "User", + "type": "object", + "description": "A user resource represents an individual user within the enterprise's domain.\n\nNote that each user is associated with a Google account based on the user's corporate email address (which must be in one of the enterprise's domains). As part of installing an MDM app to manage a device the Google account must be provisioned to the device, and so the user resource must be created before that. This can be done using the Google Admin SDK Directory API.\n\nThe ID for a user is an opaque string. It can be retrieved using the list method queried by the user's primary email address.", + "properties": { + "id": { + "type": "string", + "description": "The unique ID for the user." + }, + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#user\".", + "default": "androidenterprise#user" + }, + "primaryEmail": { + "type": "string", + "description": "The user's primary email, e.g. \"jsmith@example.com\"." + } + } + }, + "UserToken": { + "id": "UserToken", + "type": "object", + "description": "A UserToken is used by a user when setting up a managed device or profile with their work account on a device. When the user enters their email address and token (activation code) the appropriate MDM app can be automatically downloaded.", + "properties": { + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#userToken\".", + "default": "androidenterprise#userToken" + }, + "token": { + "type": "string", + "description": "The token (activation code) to be entered by the user. This consists of a sequence of decimal digits. Note that the leading digit may be 0." + }, + "userId": { + "type": "string", + "description": "The unique ID for the user." + } + } + }, + "UsersListResponse": { + "id": "UsersListResponse", + "type": "object", + "description": "The matching user resources.", + "properties": { + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"androidenterprise#usersListResponse\".", + "default": "androidenterprise#usersListResponse" + }, + "user": { + "type": "array", + "description": "A user of an enterprise.", + "items": { + "$ref": "User" + } + } + } + } + }, + "resources": { + "collections": { + "methods": { + "delete": { + "id": "androidenterprise.collections.delete", + "path": "enterprises/{enterpriseId}/collections/{collectionId}", + "httpMethod": "DELETE", + "description": "Deletes a collection.", + "parameters": { + "collectionId": { + "type": "string", + "description": "The ID of the collection.", + "required": true, + "location": "path" + }, + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "collectionId" + ], + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "get": { + "id": "androidenterprise.collections.get", + "path": "enterprises/{enterpriseId}/collections/{collectionId}", + "httpMethod": "GET", + "description": "Retrieves the details of a collection.", + "parameters": { + "collectionId": { + "type": "string", + "description": "The ID of the collection.", + "required": true, + "location": "path" + }, + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "collectionId" + ], + "response": { + "$ref": "Collection" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "insert": { + "id": "androidenterprise.collections.insert", + "path": "enterprises/{enterpriseId}/collections", + "httpMethod": "POST", + "description": "Creates a new collection.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId" + ], + "request": { + "$ref": "Collection" + }, + "response": { + "$ref": "Collection" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "list": { + "id": "androidenterprise.collections.list", + "path": "enterprises/{enterpriseId}/collections", + "httpMethod": "GET", + "description": "Retrieves the IDs of all the collections for an enterprise.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId" + ], + "response": { + "$ref": "CollectionsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "patch": { + "id": "androidenterprise.collections.patch", + "path": "enterprises/{enterpriseId}/collections/{collectionId}", + "httpMethod": "PATCH", + "description": "Updates a collection. This method supports patch semantics.", + "parameters": { + "collectionId": { + "type": "string", + "description": "The ID of the collection.", + "required": true, + "location": "path" + }, + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "collectionId" + ], + "request": { + "$ref": "Collection" + }, + "response": { + "$ref": "Collection" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "update": { + "id": "androidenterprise.collections.update", + "path": "enterprises/{enterpriseId}/collections/{collectionId}", + "httpMethod": "PUT", + "description": "Updates a collection.", + "parameters": { + "collectionId": { + "type": "string", + "description": "The ID of the collection.", + "required": true, + "location": "path" + }, + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "collectionId" + ], + "request": { + "$ref": "Collection" + }, + "response": { + "$ref": "Collection" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + } + } + }, + "collectionviewers": { + "methods": { + "delete": { + "id": "androidenterprise.collectionviewers.delete", + "path": "enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}", + "httpMethod": "DELETE", + "description": "Removes the user from the list of those specifically allowed to see the collection. If the collection's visibility is set to viewersOnly then only such users will see the collection.", + "parameters": { + "collectionId": { + "type": "string", + "description": "The ID of the collection.", + "required": true, + "location": "path" + }, + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "userId": { + "type": "string", + "description": "The ID of the user.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "collectionId", + "userId" + ], + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "get": { + "id": "androidenterprise.collectionviewers.get", + "path": "enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}", + "httpMethod": "GET", + "description": "Retrieves the ID of the user if they have been specifically allowed to see the collection. If the collection's visibility is set to viewersOnly then only these users will see the collection.", + "parameters": { + "collectionId": { + "type": "string", + "description": "The ID of the collection.", + "required": true, + "location": "path" + }, + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "userId": { + "type": "string", + "description": "The ID of the user.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "collectionId", + "userId" + ], + "response": { + "$ref": "User" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "list": { + "id": "androidenterprise.collectionviewers.list", + "path": "enterprises/{enterpriseId}/collections/{collectionId}/users", + "httpMethod": "GET", + "description": "Retrieves the IDs of the users who have been specifically allowed to see the collection. If the collection's visibility is set to viewersOnly then only these users will see the collection.", + "parameters": { + "collectionId": { + "type": "string", + "description": "The ID of the collection.", + "required": true, + "location": "path" + }, + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "collectionId" + ], + "response": { + "$ref": "CollectionViewersListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "patch": { + "id": "androidenterprise.collectionviewers.patch", + "path": "enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}", + "httpMethod": "PATCH", + "description": "Adds the user to the list of those specifically allowed to see the collection. If the collection's visibility is set to viewersOnly then only such users will see the collection. This method supports patch semantics.", + "parameters": { + "collectionId": { + "type": "string", + "description": "The ID of the collection.", + "required": true, + "location": "path" + }, + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "userId": { + "type": "string", + "description": "The ID of the user.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "collectionId", + "userId" + ], + "request": { + "$ref": "User" + }, + "response": { + "$ref": "User" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "update": { + "id": "androidenterprise.collectionviewers.update", + "path": "enterprises/{enterpriseId}/collections/{collectionId}/users/{userId}", + "httpMethod": "PUT", + "description": "Adds the user to the list of those specifically allowed to see the collection. If the collection's visibility is set to viewersOnly then only such users will see the collection.", + "parameters": { + "collectionId": { + "type": "string", + "description": "The ID of the collection.", + "required": true, + "location": "path" + }, + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "userId": { + "type": "string", + "description": "The ID of the user.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "collectionId", + "userId" + ], + "request": { + "$ref": "User" + }, + "response": { + "$ref": "User" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + } + } + }, + "devices": { + "methods": { + "get": { + "id": "androidenterprise.devices.get", + "path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}", + "httpMethod": "GET", + "description": "Retrieves the details of a device.", + "parameters": { + "deviceId": { + "type": "string", + "description": "The ID of the device.", + "required": true, + "location": "path" + }, + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "userId": { + "type": "string", + "description": "The ID of the user.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "userId", + "deviceId" + ], + "response": { + "$ref": "Device" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "getState": { + "id": "androidenterprise.devices.getState", + "path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state", + "httpMethod": "GET", + "description": "Retrieves whether a device is enabled or disabled for access by the user to Google services. The device state takes effect only if enforcing EMM policies on Android devices is enabled in the Google Admin Console. Otherwise, the device state is ignored and all devices are allowed access to Google services.", + "parameters": { + "deviceId": { + "type": "string", + "description": "The ID of the device.", + "required": true, + "location": "path" + }, + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "userId": { + "type": "string", + "description": "The ID of the user.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "userId", + "deviceId" + ], + "response": { + "$ref": "DeviceState" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "list": { + "id": "androidenterprise.devices.list", + "path": "enterprises/{enterpriseId}/users/{userId}/devices", + "httpMethod": "GET", + "description": "Retrieves the IDs of all of a user's devices.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "userId": { + "type": "string", + "description": "The ID of the user.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "userId" + ], + "response": { + "$ref": "DevicesListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "setState": { + "id": "androidenterprise.devices.setState", + "path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/state", + "httpMethod": "PUT", + "description": "Sets whether a device is enabled or disabled for access by the user to Google services. The device state takes effect only if enforcing EMM policies on Android devices is enabled in the Google Admin Console. Otherwise, the device state is ignored and all devices are allowed access to Google services.", + "parameters": { + "deviceId": { + "type": "string", + "description": "The ID of the device.", + "required": true, + "location": "path" + }, + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "userId": { + "type": "string", + "description": "The ID of the user.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "userId", + "deviceId" + ], + "request": { + "$ref": "DeviceState" + }, + "response": { + "$ref": "DeviceState" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + } + } + }, + "enterprises": { + "methods": { + "delete": { + "id": "androidenterprise.enterprises.delete", + "path": "enterprises/{enterpriseId}", + "httpMethod": "DELETE", + "description": "Deletes the binding between the MDM and enterprise. This is now deprecated; use this to unenroll customers that were previously enrolled with the 'insert' call, then enroll them again with the 'enroll' call.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId" + ], + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "enroll": { + "id": "androidenterprise.enterprises.enroll", + "path": "enterprises/enroll", + "httpMethod": "POST", + "description": "Enrolls an enterprise with the calling MDM.", + "parameters": { + "token": { + "type": "string", + "description": "The token provided by the enterprise to register the MDM.", + "required": true, + "location": "query" + } + }, + "parameterOrder": [ + "token" + ], + "request": { + "$ref": "Enterprise" + }, + "response": { + "$ref": "Enterprise" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "get": { + "id": "androidenterprise.enterprises.get", + "path": "enterprises/{enterpriseId}", + "httpMethod": "GET", + "description": "Retrieves the name and domain of an enterprise.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId" + ], + "response": { + "$ref": "Enterprise" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "insert": { + "id": "androidenterprise.enterprises.insert", + "path": "enterprises", + "httpMethod": "POST", + "description": "Establishes the binding between the MDM and an enterprise. This is now deprecated; use enroll instead.", + "parameters": { + "token": { + "type": "string", + "description": "The token provided by the enterprise to register the MDM.", + "required": true, + "location": "query" + } + }, + "parameterOrder": [ + "token" + ], + "request": { + "$ref": "Enterprise" + }, + "response": { + "$ref": "Enterprise" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "list": { + "id": "androidenterprise.enterprises.list", + "path": "enterprises", + "httpMethod": "GET", + "description": "Looks up an enterprise by domain name.", + "parameters": { + "domain": { + "type": "string", + "description": "The exact primary domain name of the enterprise to look up.", + "required": true, + "location": "query" + } + }, + "parameterOrder": [ + "domain" + ], + "response": { + "$ref": "EnterprisesListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "setAccount": { + "id": "androidenterprise.enterprises.setAccount", + "path": "enterprises/{enterpriseId}/account", + "httpMethod": "PUT", + "description": "Set the account that will be used to authenticate to the API as the enterprise.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId" + ], + "request": { + "$ref": "EnterpriseAccount" + }, + "response": { + "$ref": "EnterpriseAccount" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "unenroll": { + "id": "androidenterprise.enterprises.unenroll", + "path": "enterprises/{enterpriseId}/unenroll", + "httpMethod": "POST", + "description": "Unenrolls an enterprise from the calling MDM.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId" + ], + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + } + } + }, + "entitlements": { + "methods": { + "delete": { + "id": "androidenterprise.entitlements.delete", + "path": "enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}", + "httpMethod": "DELETE", + "description": "Removes an entitlement to an app for a user and uninstalls it.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "entitlementId": { + "type": "string", + "description": "The ID of the entitlement, e.g. \"app:com.google.android.gm\".", + "required": true, + "location": "path" + }, + "userId": { + "type": "string", + "description": "The ID of the user.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "userId", + "entitlementId" + ], + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "get": { + "id": "androidenterprise.entitlements.get", + "path": "enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}", + "httpMethod": "GET", + "description": "Retrieves details of an entitlement.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "entitlementId": { + "type": "string", + "description": "The ID of the entitlement, e.g. \"app:com.google.android.gm\".", + "required": true, + "location": "path" + }, + "userId": { + "type": "string", + "description": "The ID of the user.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "userId", + "entitlementId" + ], + "response": { + "$ref": "Entitlement" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "list": { + "id": "androidenterprise.entitlements.list", + "path": "enterprises/{enterpriseId}/users/{userId}/entitlements", + "httpMethod": "GET", + "description": "List of all entitlements for the specified user. Only the ID is set.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "userId": { + "type": "string", + "description": "The ID of the user.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "userId" + ], + "response": { + "$ref": "EntitlementsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "patch": { + "id": "androidenterprise.entitlements.patch", + "path": "enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}", + "httpMethod": "PATCH", + "description": "Adds or updates an entitlement to an app for a user. This method supports patch semantics.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "entitlementId": { + "type": "string", + "description": "The ID of the entitlement, e.g. \"app:com.google.android.gm\".", + "required": true, + "location": "path" + }, + "install": { + "type": "boolean", + "description": "Set to true to also install the product on all the user's devices where possible. Failure to install on one or more devices will not prevent this operation from returning successfully, as long as the entitlement was successfully assigned to the user.", + "location": "query" + }, + "userId": { + "type": "string", + "description": "The ID of the user.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "userId", + "entitlementId" + ], + "request": { + "$ref": "Entitlement" + }, + "response": { + "$ref": "Entitlement" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "update": { + "id": "androidenterprise.entitlements.update", + "path": "enterprises/{enterpriseId}/users/{userId}/entitlements/{entitlementId}", + "httpMethod": "PUT", + "description": "Adds or updates an entitlement to an app for a user.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "entitlementId": { + "type": "string", + "description": "The ID of the entitlement, e.g. \"app:com.google.android.gm\".", + "required": true, + "location": "path" + }, + "install": { + "type": "boolean", + "description": "Set to true to also install the product on all the user's devices where possible. Failure to install on one or more devices will not prevent this operation from returning successfully, as long as the entitlement was successfully assigned to the user.", + "location": "query" + }, + "userId": { + "type": "string", + "description": "The ID of the user.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "userId", + "entitlementId" + ], + "request": { + "$ref": "Entitlement" + }, + "response": { + "$ref": "Entitlement" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + } + } + }, + "grouplicenses": { + "methods": { + "get": { + "id": "androidenterprise.grouplicenses.get", + "path": "enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}", + "httpMethod": "GET", + "description": "Retrieves details of an enterprise's group license for a product.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "groupLicenseId": { + "type": "string", + "description": "The ID of the product the group license is for, e.g. \"app:com.google.android.gm\".", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "groupLicenseId" + ], + "response": { + "$ref": "GroupLicense" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "list": { + "id": "androidenterprise.grouplicenses.list", + "path": "enterprises/{enterpriseId}/groupLicenses", + "httpMethod": "GET", + "description": "Retrieves IDs of all products for which the enterprise has a group license.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId" + ], + "response": { + "$ref": "GroupLicensesListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + } + } + }, + "grouplicenseusers": { + "methods": { + "list": { + "id": "androidenterprise.grouplicenseusers.list", + "path": "enterprises/{enterpriseId}/groupLicenses/{groupLicenseId}/users", + "httpMethod": "GET", + "description": "Retrieves the IDs of the users who have been granted entitlements under the license.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "groupLicenseId": { + "type": "string", + "description": "The ID of the product the group license is for, e.g. \"app:com.google.android.gm\".", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "groupLicenseId" + ], + "response": { + "$ref": "GroupLicenseUsersListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + } + } + }, + "installs": { + "methods": { + "delete": { + "id": "androidenterprise.installs.delete", + "path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}", + "httpMethod": "DELETE", + "description": "Requests to remove an app from a device. A call to get or list will still show the app as installed on the device until it is actually removed.", + "parameters": { + "deviceId": { + "type": "string", + "description": "The Android ID of the device.", + "required": true, + "location": "path" + }, + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "installId": { + "type": "string", + "description": "The ID of the product represented by the install, e.g. \"app:com.google.android.gm\".", + "required": true, + "location": "path" + }, + "userId": { + "type": "string", + "description": "The ID of the user.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "userId", + "deviceId", + "installId" + ], + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "get": { + "id": "androidenterprise.installs.get", + "path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}", + "httpMethod": "GET", + "description": "Retrieves details of an installation of an app on a device.", + "parameters": { + "deviceId": { + "type": "string", + "description": "The Android ID of the device.", + "required": true, + "location": "path" + }, + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "installId": { + "type": "string", + "description": "The ID of the product represented by the install, e.g. \"app:com.google.android.gm\".", + "required": true, + "location": "path" + }, + "userId": { + "type": "string", + "description": "The ID of the user.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "userId", + "deviceId", + "installId" + ], + "response": { + "$ref": "Install" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "list": { + "id": "androidenterprise.installs.list", + "path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs", + "httpMethod": "GET", + "description": "Retrieves the details of all apps installed on the specified device.", + "parameters": { + "deviceId": { + "type": "string", + "description": "The Android ID of the device.", + "required": true, + "location": "path" + }, + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "userId": { + "type": "string", + "description": "The ID of the user.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "userId", + "deviceId" + ], + "response": { + "$ref": "InstallsListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "patch": { + "id": "androidenterprise.installs.patch", + "path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}", + "httpMethod": "PATCH", + "description": "Requests to install the latest version of an app to a device. If the app is already installed then it is updated to the latest version if necessary. This method supports patch semantics.", + "parameters": { + "deviceId": { + "type": "string", + "description": "The Android ID of the device.", + "required": true, + "location": "path" + }, + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "installId": { + "type": "string", + "description": "The ID of the product represented by the install, e.g. \"app:com.google.android.gm\".", + "required": true, + "location": "path" + }, + "userId": { + "type": "string", + "description": "The ID of the user.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "userId", + "deviceId", + "installId" + ], + "request": { + "$ref": "Install" + }, + "response": { + "$ref": "Install" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "update": { + "id": "androidenterprise.installs.update", + "path": "enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}/installs/{installId}", + "httpMethod": "PUT", + "description": "Requests to install the latest version of an app to a device. If the app is already installed then it is updated to the latest version if necessary.", + "parameters": { + "deviceId": { + "type": "string", + "description": "The Android ID of the device.", + "required": true, + "location": "path" + }, + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "installId": { + "type": "string", + "description": "The ID of the product represented by the install, e.g. \"app:com.google.android.gm\".", + "required": true, + "location": "path" + }, + "userId": { + "type": "string", + "description": "The ID of the user.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "userId", + "deviceId", + "installId" + ], + "request": { + "$ref": "Install" + }, + "response": { + "$ref": "Install" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + } + } + }, + "permissions": { + "methods": { + "get": { + "id": "androidenterprise.permissions.get", + "path": "permissions/{permissionId}", + "httpMethod": "GET", + "description": "Retrieves details of an Android app permission for display to an enterprise admin.", + "parameters": { + "language": { + "type": "string", + "description": "The BCP47 tag for the user's preferred language (e.g. \"en-US\", \"de\")", + "location": "query" + }, + "permissionId": { + "type": "string", + "description": "The ID of the permission.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "permissionId" + ], + "response": { + "$ref": "Permission" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + } + } + }, + "products": { + "methods": { + "get": { + "id": "androidenterprise.products.get", + "path": "enterprises/{enterpriseId}/products/{productId}", + "httpMethod": "GET", + "description": "Retrieves details of a product for display to an enterprise admin.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "language": { + "type": "string", + "description": "The BCP47 tag for the user's preferred language (e.g. \"en-US\", \"de\").", + "location": "query" + }, + "productId": { + "type": "string", + "description": "The ID of the product, e.g. \"app:com.google.android.gm\".", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "productId" + ], + "response": { + "$ref": "Product" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "getAppRestrictionsSchema": { + "id": "androidenterprise.products.getAppRestrictionsSchema", + "path": "enterprises/{enterpriseId}/products/{productId}/appRestrictionsSchema", + "httpMethod": "GET", + "description": "Retrieves the schema defining app restrictions configurable for this product. All products have a schema, but this may be empty if no app restrictions are defined.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "language": { + "type": "string", + "description": "The BCP47 tag for the user's preferred language (e.g. \"en-US\", \"de\").", + "location": "query" + }, + "productId": { + "type": "string", + "description": "The ID of the product.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "productId" + ], + "response": { + "$ref": "AppRestrictionsSchema" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "getPermissions": { + "id": "androidenterprise.products.getPermissions", + "path": "enterprises/{enterpriseId}/products/{productId}/permissions", + "httpMethod": "GET", + "description": "Retrieves the Android app permissions required by this app.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "productId": { + "type": "string", + "description": "The ID of the product.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "productId" + ], + "response": { + "$ref": "ProductPermissions" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "updatePermissions": { + "id": "androidenterprise.products.updatePermissions", + "path": "enterprises/{enterpriseId}/products/{productId}/permissions", + "httpMethod": "PUT", + "description": "Updates the set of Android app permissions for this app that have been accepted by the enterprise.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "productId": { + "type": "string", + "description": "The ID of the product.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "productId" + ], + "request": { + "$ref": "ProductPermissions" + }, + "response": { + "$ref": "ProductPermissions" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + } + } + }, + "users": { + "methods": { + "generateToken": { + "id": "androidenterprise.users.generateToken", + "path": "enterprises/{enterpriseId}/users/{userId}/token", + "httpMethod": "POST", + "description": "Generates a token (activation code) to allow this user to configure their work account in the Android Setup Wizard. Revokes any previously generated token.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "userId": { + "type": "string", + "description": "The ID of the user.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "userId" + ], + "response": { + "$ref": "UserToken" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "get": { + "id": "androidenterprise.users.get", + "path": "enterprises/{enterpriseId}/users/{userId}", + "httpMethod": "GET", + "description": "Retrieves a user's details.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "userId": { + "type": "string", + "description": "The ID of the user.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "userId" + ], + "response": { + "$ref": "User" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "list": { + "id": "androidenterprise.users.list", + "path": "enterprises/{enterpriseId}/users", + "httpMethod": "GET", + "description": "Looks up a user by email address.", + "parameters": { + "email": { + "type": "string", + "description": "The exact primary email address of the user to look up.", + "required": true, + "location": "query" + }, + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "email" + ], + "response": { + "$ref": "UsersListResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + }, + "revokeToken": { + "id": "androidenterprise.users.revokeToken", + "path": "enterprises/{enterpriseId}/users/{userId}/token", + "httpMethod": "DELETE", + "description": "Revokes a previously generated token (activation code) for the user.", + "parameters": { + "enterpriseId": { + "type": "string", + "description": "The ID of the enterprise.", + "required": true, + "location": "path" + }, + "userId": { + "type": "string", + "description": "The ID of the user.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "enterpriseId", + "userId" + ], + "scopes": [ + "https://www.googleapis.com/auth/androidenterprise" + ] + } + } + } + } +} diff --git a/etc/api/androidpublisher/v1.1/androidpublisher-api.json b/etc/api/androidpublisher/v1.1/androidpublisher-api.json index 4676a83bf6..235512ba09 100644 --- a/etc/api/androidpublisher/v1.1/androidpublisher-api.json +++ b/etc/api/androidpublisher/v1.1/androidpublisher-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/IauIkntwWKfYEXJi86DWNvQ2AiM\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/L8bEhJrKfHKwkB7IiMt-Qj4C5mE\"", "discoveryVersion": "v1", "id": "androidpublisher:v1.1", "name": "androidpublisher", "canonicalName": "Android Publisher", "version": "v1.1", - "revision": "20141117", + "revision": "20150128", "title": "Google Play Android Developer API", "description": "Lets Android application developers access their Google Play accounts.", "ownerDomain": "google.com", diff --git a/etc/api/androidpublisher/v1/androidpublisher-api.json b/etc/api/androidpublisher/v1/androidpublisher-api.json index 24bb794d0a..756a1538b6 100644 --- a/etc/api/androidpublisher/v1/androidpublisher-api.json +++ b/etc/api/androidpublisher/v1/androidpublisher-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/9IvWgk27pJzZedDa5uB3-hJOZ88\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/htHYcR46tzPe1qZj__MFYtnmPIA\"", "discoveryVersion": "v1", "id": "androidpublisher:v1", "name": "androidpublisher", "canonicalName": "Android Publisher", "version": "v1", - "revision": "20141117", + "revision": "20150128", "title": "Google Play Android Developer API", "description": "Lets Android application developers access their Google Play accounts.", "ownerDomain": "google.com", diff --git a/etc/api/api-list.yaml b/etc/api/api-list.yaml index d4c091621d..338f34af0e 100644 --- a/etc/api/api-list.yaml +++ b/etc/api/api-list.yaml @@ -17,6 +17,8 @@ api: - v4.1 analytics: - v3 + androidenterprise: + - v1 androidpublisher: - v2 appsactivity: @@ -73,6 +75,8 @@ api: - v1 freebase: - v1sandbox + fusiontables: + - v2 games: - v1 gamesconfiguration: diff --git a/etc/api/appstate/v1/appstate-api.json b/etc/api/appstate/v1/appstate-api.json index f46cac782d..33be7d8b4a 100644 --- a/etc/api/appstate/v1/appstate-api.json +++ b/etc/api/appstate/v1/appstate-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/fq2tcHmUUpw0BqgyQT2jiNE1XgU\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/wF6a9fy-tMHnLuTi-jt8Kr-pBko\"", "discoveryVersion": "v1", "id": "appstate:v1", "name": "appstate", "canonicalName": "App State", "version": "v1", - "revision": "20150119", + "revision": "20150309", "title": "Google App State API", "description": "The Google App State API.", "ownerDomain": "google.com", diff --git a/etc/api/audit/v1/audit-api.json b/etc/api/audit/v1/audit-api.json index d7e3af16e0..4b43e7896d 100644 --- a/etc/api/audit/v1/audit-api.json +++ b/etc/api/audit/v1/audit-api.json @@ -1,6 +1,6 @@ { "kind": "discovery#restDescription", - "etag": "\"FrPV2U6xXFUq8eRv_PO3IoAURkc/WETM6oPOB_u6tVJCuBP1DDIWlEg\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/WETM6oPOB_u6tVJCuBP1DDIWlEg\"", "discoveryVersion": "v1", "id": "audit:v1", "name": "audit", diff --git a/etc/api/autoscaler/v1beta2/autoscaler-api.json b/etc/api/autoscaler/v1beta2/autoscaler-api.json index d6f1681790..119c96a926 100644 --- a/etc/api/autoscaler/v1beta2/autoscaler-api.json +++ b/etc/api/autoscaler/v1beta2/autoscaler-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/XUQeU-cuoYjCkXsmRMDCIykBSb0\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/nHGuU-ZWpZ4KpLWJiQ2L2nYZjNQ\"", "discoveryVersion": "v1", "id": "autoscaler:v1beta2", "name": "autoscaler", "version": "v1beta2", - "revision": "20141213", + "revision": "20141112", "title": "Google Compute Engine Autoscaler API", "description": "The Google Compute Engine Autoscaler API provides autoscaling for groups of Cloud VMs.", "ownerDomain": "google.com", diff --git a/etc/api/bigquery/v2/bigquery-api.json b/etc/api/bigquery/v2/bigquery-api.json index 7d3ae413e7..3da6591a4c 100644 --- a/etc/api/bigquery/v2/bigquery-api.json +++ b/etc/api/bigquery/v2/bigquery-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/obZ6DzO3dJZ3dBfZd8bmlNVgqVs\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/MCWK2CQLEDojVXJw1b4YdNiAmeY\"", "discoveryVersion": "v1", "id": "bigquery:v2", "name": "bigquery", "version": "v2", - "revision": "20150209", + "revision": "20150309", "title": "BigQuery API", "description": "A data platform for customers to create, manage, share and query data.", "ownerDomain": "google.com", diff --git a/etc/api/blogger/v2/blogger-api.json b/etc/api/blogger/v2/blogger-api.json index d1bcc5d58c..ef9a6c2bfb 100644 --- a/etc/api/blogger/v2/blogger-api.json +++ b/etc/api/blogger/v2/blogger-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/sAKs5msKBJR7SX4fg3Ahfyr5uno\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/XzL6uOznnhS35LBYxSIEEnBsJ1o\"", "discoveryVersion": "v1", "id": "blogger:v2", "name": "blogger", "version": "v2", - "revision": "20140827", + "revision": "20150208", "title": "Blogger API", "description": "API for access to the data within Blogger.", "ownerDomain": "google.com", diff --git a/etc/api/calendar/v3/calendar-api.json b/etc/api/calendar/v3/calendar-api.json index ffdc46771f..a5bedbe9b4 100644 --- a/etc/api/calendar/v3/calendar-api.json +++ b/etc/api/calendar/v3/calendar-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/IMFldb9KK1xhvvmWpAqvvLL8wN4\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/43YyX2L2OP2AOVrWhgb-fE2Qsgk\"", "discoveryVersion": "v1", "id": "calendar:v3", "name": "calendar", "version": "v3", - "revision": "20141214", + "revision": "20150118", "title": "Calendar API", "description": "Lets you manipulate events and other calendar data.", "ownerDomain": "google.com", @@ -1658,7 +1658,7 @@ "id": "calendar.calendars.clear", "path": "calendars/{calendarId}/clear", "httpMethod": "POST", - "description": "Clears a primary calendar. This operation deletes all data associated with the primary calendar of an account and cannot be undone.", + "description": "Clears a primary calendar. This operation deletes all events associated with the primary calendar of an account.", "parameters": { "calendarId": { "type": "string", @@ -1678,7 +1678,7 @@ "id": "calendar.calendars.delete", "path": "calendars/{calendarId}", "httpMethod": "DELETE", - "description": "Deletes a secondary calendar.", + "description": "Deletes a secondary calendar. Use calendars.clear for clearing all events on primary calendars.", "parameters": { "calendarId": { "type": "string", diff --git a/etc/api/civicinfo/v2/civicinfo-api.json b/etc/api/civicinfo/v2/civicinfo-api.json index f3dff30963..760af561a4 100644 --- a/etc/api/civicinfo/v2/civicinfo-api.json +++ b/etc/api/civicinfo/v2/civicinfo-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/EeZdKz92LCL9J1uCQTeAts36EP0\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/COqImd_5mbMNjVXE2KjAxTFdRoU\"", "discoveryVersion": "v1", "id": "civicinfo:v2", "name": "civicinfo", "canonicalName": "Civic Info", "version": "v2", - "revision": "20141023", + "revision": "20150302", "title": "Google Civic Information API", "description": "An API for accessing civic information.", "ownerDomain": "google.com", diff --git a/etc/api/cloudmonitoring/v2beta2/cloudmonitoring-api.json b/etc/api/cloudmonitoring/v2beta2/cloudmonitoring-api.json index bc5a1d658d..aef1ad9472 100644 --- a/etc/api/cloudmonitoring/v2beta2/cloudmonitoring-api.json +++ b/etc/api/cloudmonitoring/v2beta2/cloudmonitoring-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/W-CYad3sVi3av-L2zzzQukVGZ3g\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/zAoLw-uxLiIljraJ7FRHnqGTiLk\"", "discoveryVersion": "v1", "id": "cloudmonitoring:v2beta2", "name": "cloudmonitoring", "canonicalName": "Cloud Monitoring", "version": "v2beta2", - "revision": "20150109", + "revision": "20150305", "title": "Cloud Monitoring API", "description": "API for accessing Google Cloud and API monitoring data.", "ownerDomain": "google.com", diff --git a/etc/api/compute/v1/compute-api.json b/etc/api/compute/v1/compute-api.json index 33eb6a723a..d71ae53f02 100644 --- a/etc/api/compute/v1/compute-api.json +++ b/etc/api/compute/v1/compute-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/WbG3AXMWFf0w_iF5R9bFvZ0uaXw\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/kwpiRqjQBcnxhE5-xYxQ0kF3ilA\"", "discoveryVersion": "v1", "id": "compute:v1", "name": "compute", "version": "v1", - "revision": "20150104", + "revision": "20150303", "title": "Compute Engine API", "description": "API for the Google Compute Engine service.", "ownerDomain": "google.com", @@ -98,7 +98,7 @@ "properties": { "kind": { "type": "string", - "description": "Type of the resource.", + "description": "[Output Only] Type of the resource. Always compute#accessConfig for access configs.", "default": "compute#accessConfig" }, "name": { @@ -107,11 +107,11 @@ }, "natIP": { "type": "string", - "description": "An external IP address associated with this instance. Specify an unused static IP address available to the project. If not specified, the external IP will be drawn from a shared ephemeral pool." + "description": "An external IP address associated with this instance. Specify an unused static external IP address available to the project or leave this field undefined to use an IP from a shared ephemeral IP address pool. If you specify a static external IP address, it must live in the same region as the zone of the instance." }, "type": { "type": "string", - "description": "Type of configuration. Must be set to \"ONE_TO_ONE_NAT\". This configures port-for-port NAT to the internet.", + "description": "The type of configuration. The default and only option is ONE_TO_ONE_NAT.", "default": "ONE_TO_ONE_NAT", "enum": [ "ONE_TO_ONE_NAT" @@ -129,11 +129,11 @@ "properties": { "address": { "type": "string", - "description": "The IP address represented by this resource." + "description": "The static external IP address represented by this resource." }, "creationTimestamp": { "type": "string", - "description": "Creation timestamp in RFC3339 text format (output only)." + "description": "[Output Only] Creation timestamp in RFC3339 text format." }, "description": { "type": "string", @@ -141,17 +141,17 @@ }, "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only).", + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "format": "uint64" }, "kind": { "type": "string", - "description": "Type of the resource.", + "description": "[Output Only] Type of the resource. Always compute#address for addresses.", "default": "compute#address" }, "name": { "type": "string", - "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.", + "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "annotations": { "required": [ @@ -161,15 +161,15 @@ }, "region": { "type": "string", - "description": "URL of the region where the regional address resides (output only). This field is not applicable to global addresses." + "description": "[Output Only] URL of the region where the regional address resides. This field is not applicable to global addresses." }, "selfLink": { "type": "string", - "description": "Server defined URL for the resource (output only)." + "description": "[Output Only] Server defined URL for the resource." }, "status": { "type": "string", - "description": "The status of the address (output only).", + "description": "[Output Only] The status of the address, which can be either IN_USE or RESERVED. An address that is RESERVED is currently reserved and available to use. An IN_USE address is currently being used by another resource and is not available.", "enum": [ "IN_USE", "RESERVED" @@ -181,7 +181,7 @@ }, "users": { "type": "array", - "description": "The resources that are using this address resource.", + "description": "[Output Only] The URLs of the resources that are using this address.", "items": { "type": "string" } @@ -194,28 +194,28 @@ "properties": { "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only)." + "description": "[Output Only] Unique identifier for the resource; defined by the server." }, "items": { "type": "object", - "description": "A map of scoped address lists.", + "description": "[Output Only] A map of scoped address lists.", "additionalProperties": { "$ref": "AddressesScopedList", - "description": "Name of the scope containing this set of addresses." + "description": "[Output Only] Name of the scope containing this set of addresses." } }, "kind": { "type": "string", - "description": "Type of resource.", + "description": "[Output Only] Type of resource. Always compute#addressAggregatedList for aggregated lists of addresses.", "default": "compute#addressAggregatedList" }, "nextPageToken": { "type": "string", - "description": "A token used to continue a truncated list request (output only)." + "description": "[Output Only] A token used to continue a truncated list request." }, "selfLink": { "type": "string", - "description": "Server defined URL for this resource (output only)." + "description": "[Output Only] Server defined URL for this resource." } } }, @@ -226,27 +226,27 @@ "properties": { "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only)." + "description": "[Output Only] Unique identifier for the resource; defined by the server." }, "items": { "type": "array", - "description": "A list of Address resources.", + "description": "[Output Only] A list of Address resources.", "items": { "$ref": "Address" } }, "kind": { "type": "string", - "description": "Type of resource.", + "description": "[Output Only] Type of resource. Always compute#addressList for lists of addresses.", "default": "compute#addressList" }, "nextPageToken": { "type": "string", - "description": "A token used to continue a truncated list request (output only)." + "description": "[Output Only] A token used to continue a truncated list request." }, "selfLink": { "type": "string", - "description": "Server defined URL for the resource (output only)." + "description": "[Output Only] Server defined URL for the resource." } } }, @@ -256,18 +256,18 @@ "properties": { "addresses": { "type": "array", - "description": "List of addresses contained in this scope.", + "description": "[Output Only] List of addresses contained in this scope.", "items": { "$ref": "Address" } }, "warning": { "type": "object", - "description": "Informational warning which replaces the list of addresses when the list is empty.", + "description": "[Output Only] Informational warning which replaces the list of addresses when the list is empty.", "properties": { "code": { "type": "string", - "description": "The warning type identifier for this warning.", + "description": "[Output Only] The warning type identifier for this warning.", "enum": [ "DEPRECATED_RESOURCE_USED", "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", @@ -280,6 +280,7 @@ "NO_RESULTS_ON_PAGE", "REQUIRED_TOS_AGREEMENT", "RESOURCE_NOT_DELETED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNREACHABLE" ], "enumDescriptions": [ @@ -294,29 +295,30 @@ "", "", "", + "", "" ] }, "data": { "type": "array", - "description": "Metadata for this warning in 'key: value' format.", + "description": "[Output Only] Metadata for this warning in key: value format.", "items": { "type": "object", "properties": { "key": { "type": "string", - "description": "A key for the warning data." + "description": "[Output Only] A key for the warning data." }, "value": { "type": "string", - "description": "A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key." } } } }, "message": { "type": "string", - "description": "Optional human-readable details for this warning." + "description": "[Output Only] Optional human-readable details for this warning." } } } @@ -329,24 +331,24 @@ "properties": { "autoDelete": { "type": "boolean", - "description": "Whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance)." + "description": "Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance)." }, "boot": { "type": "boolean", - "description": "Indicates that this is a boot disk. VM will use the first partition of the disk for its root filesystem." + "description": "Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem." }, "deviceName": { "type": "string", - "description": "Persistent disk only; must be unique within the instance when specified. This represents a unique device name that is reflected into the /dev/ tree of a Linux operating system running within the instance. If not specified, a default will be chosen by the system." + "description": "Specifies a unique device name of your choice that is reflected into the /dev/ tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance.\n\nIf not specified, the server chooses a default device name to apply to this disk, in the form persistent-disks-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks." }, "index": { "type": "integer", - "description": "A zero-based index to assign to this disk, where 0 is reserved for the boot disk. If not specified, the server will choose an appropriate value (output only).", + "description": "Assigns a zero-based index to this disk, where 0 is reserved for the boot disk. For example, if you have many disks attached to an instance, each disk would have a unique index number. If not specified, the server will choose an appropriate value.", "format": "int32" }, "initializeParams": { "$ref": "AttachedDiskInitializeParams", - "description": "Initialization parameters." + "description": "[Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance.\n\nThis property is mutually exclusive with the source property; you can only define one or the other, but not both." }, "interface": { "type": "string", @@ -361,19 +363,19 @@ }, "kind": { "type": "string", - "description": "Type of the resource.", + "description": "[Output Only] Type of the resource. Always compute#attachedDisk for attached disks.", "default": "compute#attachedDisk" }, "licenses": { "type": "array", - "description": "Public visible licenses.", + "description": "[Output Only] Any valid publicly visible licenses.", "items": { "type": "string" } }, "mode": { "type": "string", - "description": "The mode in which to attach this disk, either \"READ_WRITE\" or \"READ_ONLY\".", + "description": "The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode.", "enum": [ "READ_ONLY", "READ_WRITE" @@ -385,11 +387,11 @@ }, "source": { "type": "string", - "description": "Persistent disk only; the URL of the persistent disk resource." + "description": "Specifies a valid partial or full URL to an existing Persistent Disk resource. This field is only applicable for persistent disks." }, "type": { "type": "string", - "description": "Type of the disk, either \"SCRATCH\" or \"PERSISTENT\". Note that persistent disks must be created before you can specify them here.", + "description": "Specifies the type of the disk, either SCRATCH or PERSISTENT. If not specified, the default is PERSISTENT.", "enum": [ "PERSISTENT", "SCRATCH" @@ -409,24 +411,24 @@ "AttachedDiskInitializeParams": { "id": "AttachedDiskInitializeParams", "type": "object", - "description": "Initialization parameters for the new disk (input-only). Can only be specified on the boot disk or local SSDs. Mutually exclusive with 'source'.", + "description": "[Input Only] Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance.\n\nThis property is mutually exclusive with the source property; you can only define one or the other, but not both.", "properties": { "diskName": { "type": "string", - "description": "Name of the disk (when not provided defaults to the name of the instance)." + "description": "Specifies the disk name. If not specified, the default is to use the name of the instance." }, "diskSizeGb": { "type": "string", - "description": "Size of the disk in base-2 GB.", + "description": "Specifies the size of the disk in base-2 GB.", "format": "int64" }, "diskType": { "type": "string", - "description": "URL of the disk type resource describing which disk type to use to create the disk; provided by the client when the disk is created." + "description": "Specifies the disk type to use to create the instance. If not specified, the default is pd-standard, specified using the full URL. For example:\n\nhttps://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/pd-standard \n\nOther values include pd-ssd and local-ssd. If you define this field, you can provide either the full or partial URL. For example, the following are valid values: \n- https://www.googleapis.com/compute/v1/projects/project/zones/zone/diskTypes/diskType \n- projects/project/zones/zone/diskTypes/diskType \n- zones/zone/diskTypes/diskType" }, "sourceImage": { "type": "string", - "description": "The source image used to create this disk." + "description": "A source image used to create the disk. You can provide a private (custom) image, and Compute Engine will use the corresponding image from your project. For example:\n\nglobal/images/my-private-image \n\nOr you can provide an image from a publicly-available project. For example, to use a Debian image from the debian-cloud project, make sure to include the project in the URL:\n\nprojects/debian-cloud/global/images/debian-7-wheezy-vYYYYMMDD \n\nwhere vYYYYMMDD is the image version. The fully-qualified URL will also work in both cases." } } }, @@ -620,11 +622,11 @@ }, "replacement": { "type": "string", - "description": "A URL of the suggested replacement for the deprecated resource. The deprecated resource and its replacement must be resources of the same kind." + "description": "The URL of the suggested replacement for a deprecated resource. The suggested replacement resource must be the same kind of resource as the deprecated resource." }, "state": { "type": "string", - "description": "The deprecation state. Can be \"DEPRECATED\", \"OBSOLETE\", or \"DELETED\". Operations which create a new resource using a \"DEPRECATED\" resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. New uses of \"OBSOLETE\" or \"DELETED\" resources will result in an error.", + "description": "The deprecation state of this resource. This can be DEPRECATED, OBSOLETE, or DELETED. Operations which create a new resource using a DEPRECATED resource will return successfully, but with a warning indicating the deprecated resource and recommending its replacement. Operations which use OBSOLETE or DELETED resources will be rejected and result in an error.", "enum": [ "DELETED", "DEPRECATED", @@ -641,11 +643,11 @@ "Disk": { "id": "Disk", "type": "object", - "description": "A persistent disk resource.", + "description": "A Disk resource.", "properties": { "creationTimestamp": { "type": "string", - "description": "Creation timestamp in RFC3339 text format (output only)." + "description": "[Output Only] Creation timestamp in RFC3339 text format." }, "description": { "type": "string", @@ -653,24 +655,24 @@ }, "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only).", + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "format": "uint64" }, "kind": { "type": "string", - "description": "Type of the resource.", + "description": "[Output Only] Type of the resource. Always compute#disk for disks.", "default": "compute#disk" }, "licenses": { "type": "array", - "description": "Public visible licenses.", + "description": "Any applicable publicly visible licenses.", "items": { "type": "string" } }, "name": { "type": "string", - "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.", + "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "annotations": { "required": [ @@ -684,32 +686,32 @@ }, "selfLink": { "type": "string", - "description": "Server defined URL for the resource (output only)." + "description": "[Output Only] Server-defined fully-qualified URL for this resource." }, "sizeGb": { "type": "string", - "description": "Size of the persistent disk, specified in GB. This parameter is optional when creating a disk from a disk image or a snapshot, otherwise it is required.", + "description": "Size of the persistent disk, specified in GB. You can specify this field when creating a persistent disk using the sourceImage or sourceSnapshot parameter, or specify it alone to create an empty persistent disk.\n\nIf you specify this field along with sourceImage or sourceSnapshot, the value of sizeGb must not be less than the size of the sourceImage or the size of the snapshot.", "format": "int64" }, "sourceImage": { "type": "string", - "description": "The source image used to create this disk." + "description": "The source image used to create this disk. If the source image is deleted from the system, this field will not be set, even if an image with the same name has been re-created.\n\nWhen creating a disk, you can provide a private (custom) image using the following input, and Compute Engine will use the corresponding image from your project. For example:\n\nglobal/images/my-private-image \n\nOr you can provide an image from a publicly-available project. For example, to use a Debian image from the debian-cloud project, make sure to include the project in the URL:\n\nprojects/debian-cloud/global/images/debian-7-wheezy-vYYYYMMDD \n\nwhere vYYYYMMDD is the image version. The fully-qualified URL will also work in both cases." }, "sourceImageId": { "type": "string", - "description": "The 'id' value of the image used to create this disk. This value may be used to determine whether the disk was created from the current or a previous instance of a given image." + "description": "The ID value of the image used to create this disk. This value identifies the exact image that was used to create this persistent disk. For example, if you created the persistent disk from an image that was later deleted and recreated under the same name, the source image ID would identify the exact version of the image that was used." }, "sourceSnapshot": { "type": "string", - "description": "The source snapshot used to create this disk." + "description": "The source snapshot used to create this disk. You can provide this as a partial or full URL to the resource. For example, the following are valid values: \n- https://www.googleapis.com/compute/v1/projects/project/global/snapshots/snapshot \n- projects/project/global/snapshots/snapshot \n- global/snapshots/snapshot" }, "sourceSnapshotId": { "type": "string", - "description": "The 'id' value of the snapshot used to create this disk. This value may be used to determine whether the disk was created from the current or a previous instance of a given disk snapshot." + "description": "[Output Only] The unique ID of the snapshot used to create this disk. This value identifies the exact snapshot that was used to create this persistent disk. For example, if you created the persistent disk from a snapshot that was later deleted and recreated under the same name, the source snapshot ID would identify the exact version of the snapshot that was used." }, "status": { "type": "string", - "description": "The status of disk creation (output only).", + "description": "[Output Only] The status of disk creation. Applicable statuses includes: CREATING, FAILED, READY, RESTORING.", "enum": [ "CREATING", "FAILED", @@ -729,7 +731,7 @@ }, "zone": { "type": "string", - "description": "URL of the zone where the disk resides (output only)." + "description": "[Output Only] URL of the zone where the disk resides." } } }, @@ -739,59 +741,73 @@ "properties": { "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only)." + "description": "[Output Only] Unique identifier for the resource; defined by the server." }, "items": { "type": "object", - "description": "A map of scoped disk lists.", + "description": "[Output Only] A map of scoped disk lists.", "additionalProperties": { "$ref": "DisksScopedList", - "description": "Name of the scope containing this set of disks." + "description": "[Output Only] Name of the scope containing this set of disks." } }, "kind": { "type": "string", - "description": "Type of resource.", + "description": "[Output Only] Type of resource. Always compute#diskAggregatedList for aggregated lists of persistent disks.", "default": "compute#diskAggregatedList" }, "nextPageToken": { "type": "string", - "description": "A token used to continue a truncated list request (output only)." + "description": "[Output Only] A token used to continue a truncated list request." }, "selfLink": { "type": "string", - "description": "Server defined URL for this resource (output only)." + "description": "[Output Only] Server defined URL for this resource." } } }, "DiskList": { "id": "DiskList", "type": "object", - "description": "Contains a list of persistent disk resources.", + "description": "A list of Disk resources.", "properties": { "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only)." + "description": "[Output Only] Unique identifier for the resource; defined by the server." }, "items": { "type": "array", - "description": "A list of Disk resources.", + "description": "[Output Only] A list of persistent disks.", "items": { "$ref": "Disk" } }, "kind": { "type": "string", - "description": "Type of resource.", + "description": "[Output Only] Type of resource. Always compute#diskList for lists of disks.", "default": "compute#diskList" }, "nextPageToken": { "type": "string", - "description": "A token used to continue a truncated list request (output only)." + "description": "[Output Only] A token used to continue a truncated list request." }, "selfLink": { "type": "string", - "description": "Server defined URL for this resource (output only)." + "description": "[Output Only] Server defined URL for this resource." + } + } + }, + "DiskMoveRequest": { + "id": "DiskMoveRequest", + "type": "object", + "properties": { + "destinationZone": { + "type": "string", + "description": "The URL of the zone to which the disk will be moved." + }, + "targetDisk": { + "type": "string", + "description": "The URL of the target disk to be moved." } } }, @@ -802,47 +818,47 @@ "properties": { "creationTimestamp": { "type": "string", - "description": "Creation timestamp in RFC3339 text format (output only)." + "description": "[Output Only] Creation timestamp in RFC3339 text format." }, "defaultDiskSizeGb": { "type": "string", - "description": "Server defined default disk size in gb (output only).", + "description": "[Output Only] Server defined default disk size in GB.", "format": "int64" }, "deprecated": { "$ref": "DeprecationStatus", - "description": "The deprecation status associated with this disk type." + "description": "[Output Only] The deprecation status associated with this disk type." }, "description": { "type": "string", - "description": "An optional textual description of the resource." + "description": "[Output Only] An optional textual description of the resource." }, "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only).", + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "format": "uint64" }, "kind": { "type": "string", - "description": "Type of the resource.", + "description": "[Output Only] Type of the resource. Always compute#diskType for disk types.", "default": "compute#diskType" }, "name": { "type": "string", - "description": "Name of the resource.", + "description": "[Output Only] Name of the resource.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" }, "selfLink": { "type": "string", - "description": "Server defined URL for the resource (output only)." + "description": "[Output Only] Server defined URL for the resource." }, "validDiskSize": { "type": "string", - "description": "An optional textual descroption of the valid disk size, e.g., \"10GB-10TB\"." + "description": "[Output Only] An optional textual description of the valid disk size, such as \"10GB-10TB\"." }, "zone": { "type": "string", - "description": "Url of the zone where the disk type resides (output only)." + "description": "[Output Only] URL of the zone where the disk type resides." } } }, @@ -852,28 +868,28 @@ "properties": { "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only)." + "description": "[Output Only] Unique identifier for the resource; defined by the server." }, "items": { "type": "object", - "description": "A map of scoped disk type lists.", + "description": "[Output Only] A map of scoped disk type lists.", "additionalProperties": { "$ref": "DiskTypesScopedList", - "description": "Name of the scope containing this set of disk types." + "description": "[Output Only] Name of the scope containing this set of disk types." } }, "kind": { "type": "string", - "description": "Type of resource.", + "description": "[Output Only] Type of resource. Always compute#diskTypeAggregatedList.", "default": "compute#diskTypeAggregatedList" }, "nextPageToken": { "type": "string", - "description": "A token used to continue a truncated list request (output only)." + "description": "[Output Only] A token used to continue a truncated list request." }, "selfLink": { "type": "string", - "description": "Server defined URL for this resource (output only)." + "description": "[Output Only] Server defined URL for this resource." } } }, @@ -884,27 +900,27 @@ "properties": { "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only)." + "description": "[Output Only] Unique identifier for the resource; defined by the server." }, "items": { "type": "array", - "description": "A list of DiskType resources.", + "description": "[Output Only] A list of Disk Type resources.", "items": { "$ref": "DiskType" } }, "kind": { "type": "string", - "description": "Type of resource.", + "description": "[Output Only] Type of resource. Always compute#diskTypeList for disk types.", "default": "compute#diskTypeList" }, "nextPageToken": { "type": "string", - "description": "A token used to continue a truncated list request (output only)." + "description": "[Output Only] A token used to continue a truncated list request." }, "selfLink": { "type": "string", - "description": "Server defined URL for this resource (output only)." + "description": "[Output Only] Server defined URL for this resource." } } }, @@ -914,18 +930,18 @@ "properties": { "diskTypes": { "type": "array", - "description": "List of disk types contained in this scope.", + "description": "[Output Only] List of disk types contained in this scope.", "items": { "$ref": "DiskType" } }, "warning": { "type": "object", - "description": "Informational warning which replaces the list of disk types when the list is empty.", + "description": "[Output Only] Informational warning which replaces the list of disk types when the list is empty.", "properties": { "code": { "type": "string", - "description": "The warning type identifier for this warning.", + "description": "[Output Only] The warning type identifier for this warning.", "enum": [ "DEPRECATED_RESOURCE_USED", "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", @@ -938,6 +954,7 @@ "NO_RESULTS_ON_PAGE", "REQUIRED_TOS_AGREEMENT", "RESOURCE_NOT_DELETED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNREACHABLE" ], "enumDescriptions": [ @@ -952,29 +969,30 @@ "", "", "", + "", "" ] }, "data": { "type": "array", - "description": "Metadata for this warning in 'key: value' format.", + "description": "[Output Only] Metadata for this warning in key: value format.", "items": { "type": "object", "properties": { "key": { "type": "string", - "description": "A key for the warning data." + "description": "[Output Only] A key for the warning data." }, "value": { "type": "string", - "description": "A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key." } } } }, "message": { "type": "string", - "description": "Optional human-readable details for this warning." + "description": "[Output Only] Optional human-readable details for this warning." } } } @@ -986,18 +1004,18 @@ "properties": { "disks": { "type": "array", - "description": "List of disks contained in this scope.", + "description": "[Output Only] List of disks contained in this scope.", "items": { "$ref": "Disk" } }, "warning": { "type": "object", - "description": "Informational warning which replaces the list of disks when the list is empty.", + "description": "[Output Only] Informational warning which replaces the list of disks when the list is empty.", "properties": { "code": { "type": "string", - "description": "The warning type identifier for this warning.", + "description": "[Output Only] The warning type identifier for this warning.", "enum": [ "DEPRECATED_RESOURCE_USED", "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", @@ -1010,6 +1028,7 @@ "NO_RESULTS_ON_PAGE", "REQUIRED_TOS_AGREEMENT", "RESOURCE_NOT_DELETED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNREACHABLE" ], "enumDescriptions": [ @@ -1024,29 +1043,30 @@ "", "", "", + "", "" ] }, "data": { "type": "array", - "description": "Metadata for this warning in 'key: value' format.", + "description": "[Output Only] Metadata for this warning in key: value format.", "items": { "type": "object", "properties": { "key": { "type": "string", - "description": "A key for the warning data." + "description": "[Output Only] A key for the warning data." }, "value": { "type": "string", - "description": "A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key." } } } }, "message": { "type": "string", - "description": "Optional human-readable details for this warning." + "description": "[Output Only] Optional human-readable details for this warning." } } } @@ -1055,7 +1075,7 @@ "Firewall": { "id": "Firewall", "type": "object", - "description": "A firewall resource.", + "description": "A Firewall resource.", "properties": { "allowed": { "type": "array", @@ -1065,11 +1085,11 @@ "properties": { "IPProtocol": { "type": "string", - "description": "Required; this is the IP protocol that is allowed for this rule. This can either be one of the following well known protocol strings [\"tcp\", \"udp\", \"icmp\", \"esp\", \"ah\", \"sctp\"], or the IP protocol number." + "description": "The IP protocol that is allowed for this rule. The protocol type is required when creating a firewall. This value can either be one of the following well known protocol strings (tcp, udp, icmp, esp, ah, sctp), or the IP protocol number." }, "ports": { "type": "array", - "description": "An optional list of ports which are allowed. It is an error to specify this for any protocol that isn't UDP or TCP. Each entry must be either an integer or a range. If not specified, connections through any port are allowed.\n\nExample inputs include: [\"22\"], [\"80\",\"443\"] and [\"12345-12349\"].", + "description": "An optional list of ports which are allowed. This field is only applicable for UDP or TCP protocol. Each entry must be either an integer or a range. If not specified, connections through any port are allowed\n\nExample inputs include: [\"22\"], [\"80\",\"443\"], and [\"12345-12349\"].", "items": { "type": "string" } @@ -1079,7 +1099,7 @@ }, "creationTimestamp": { "type": "string", - "description": "Creation timestamp in RFC3339 text format (output only)." + "description": "[Output Only] Creation timestamp in RFC3339text format." }, "description": { "type": "string", @@ -1087,17 +1107,17 @@ }, "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only).", + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "format": "uint64" }, "kind": { "type": "string", - "description": "Type of the resource.", + "description": "[Output Ony] Type of the resource. Always compute#firewall for firewall rules.", "default": "compute#firewall" }, "name": { "type": "string", - "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.", + "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "annotations": { "required": [ @@ -1108,29 +1128,29 @@ }, "network": { "type": "string", - "description": "URL of the network to which this firewall is applied; provided by the client when the firewall is created." + "description": "URL of the network resource for this firewall rule. This field is required for creating an instance but optional when creating a firewall rule. If not specified when creating a firewall rule, the default network is used:\nglobal/networks/default\nIf you choose to specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: \n- https://www.googleapis.com/compute/v1/projects/myproject/global/networks/my-network \n- projects/myproject/global/networks/my-network \n- global/networks/default" }, "selfLink": { "type": "string", - "description": "Server defined URL for the resource (output only)." + "description": "[Output Only] Server defined URL for the resource." }, "sourceRanges": { "type": "array", - "description": "A list of IP address blocks expressed in CIDR format which this rule applies to. One or both of sourceRanges and sourceTags may be set; an inbound connection is allowed if either the range or the tag of the source matches.", + "description": "The IP address blocks that this rule applies to, expressed in CIDR format. One or both of sourceRanges and sourceTags may be set.\n\nIf both properties are set, an inbound connection is allowed if the range or the tag of the source matches the sourceRanges OR matches the sourceTags property; the connection does not need to match both properties.", "items": { "type": "string" } }, "sourceTags": { "type": "array", - "description": "A list of instance tags which this rule applies to. One or both of sourceRanges and sourceTags may be set; an inbound connection is allowed if either the range or the tag of the source matches.", + "description": "A list of instance tags which this rule applies to. One or both of sourceRanges and sourceTags may be set.\n\nIf both properties are set, an inbound connection is allowed if the range or the tag of the source matches the sourceRanges OR matches the sourceTags property; the connection does not need to match both properties.", "items": { "type": "string" } }, "targetTags": { "type": "array", - "description": "A list of instance tags indicating sets of instances located on network which may make network connections as specified in allowed. If no targetTags are specified, the firewall rule applies to all instances on the specified network.", + "description": "A list of instance tags indicating sets of instances located on network which may make network connections as specified in allowed[]. If no targetTags are specified, the firewall rule applies to all instances on the specified network.", "items": { "type": "string" } @@ -1140,31 +1160,31 @@ "FirewallList": { "id": "FirewallList", "type": "object", - "description": "Contains a list of firewall resources.", + "description": "Contains a list of Firewall resources.", "properties": { "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only)." + "description": "[Output Only] Unique identifier for the resource; defined by the server." }, "items": { "type": "array", - "description": "A list of Firewall resources.", + "description": "[Output Only] A list of Firewall resources.", "items": { "$ref": "Firewall" } }, "kind": { "type": "string", - "description": "Type of resource.", + "description": "[Output Only] Type of resource. Always compute#firewallList for lists of firewalls.", "default": "compute#firewallList" }, "nextPageToken": { "type": "string", - "description": "A token used to continue a truncated list request (output only)." + "description": "[Output Only] A token used to continue a truncated list request." }, "selfLink": { "type": "string", - "description": "Server defined URL for this resource (output only)." + "description": "[Output Only] Server defined URL for this resource." } } }, @@ -1315,7 +1335,7 @@ "properties": { "code": { "type": "string", - "description": "The warning type identifier for this warning.", + "description": "[Output Only] The warning type identifier for this warning.", "enum": [ "DEPRECATED_RESOURCE_USED", "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", @@ -1328,6 +1348,7 @@ "NO_RESULTS_ON_PAGE", "REQUIRED_TOS_AGREEMENT", "RESOURCE_NOT_DELETED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNREACHABLE" ], "enumDescriptions": [ @@ -1342,29 +1363,30 @@ "", "", "", + "", "" ] }, "data": { "type": "array", - "description": "Metadata for this warning in 'key: value' format.", + "description": "[Output Only] Metadata for this warning in key: value format.", "items": { "type": "object", "properties": { "key": { "type": "string", - "description": "A key for the warning data." + "description": "[Output Only] A key for the warning data." }, "value": { "type": "string", - "description": "A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key." } } } }, "message": { "type": "string", - "description": "Optional human-readable details for this warning." + "description": "[Output Only] Optional human-readable details for this warning." } } } @@ -1532,7 +1554,7 @@ "Image": { "id": "Image", "type": "object", - "description": "A disk image resource.", + "description": "An Image resource.", "properties": { "archiveSizeBytes": { "type": "string", @@ -1541,7 +1563,7 @@ }, "creationTimestamp": { "type": "string", - "description": "Creation timestamp in RFC3339 text format (output only)." + "description": "[Output Only] Creation timestamp in RFC3339 text format." }, "deprecated": { "$ref": "DeprecationStatus", @@ -1553,29 +1575,29 @@ }, "diskSizeGb": { "type": "string", - "description": "Size of the image when restored onto a disk (in GiB).", + "description": "Size of the image when restored onto a persistent disk (in GB).", "format": "int64" }, "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only).", + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "format": "uint64" }, "kind": { "type": "string", - "description": "Type of the resource.", + "description": "[Output Only] Type of the resource. Always compute#image for images.", "default": "compute#image" }, "licenses": { "type": "array", - "description": "Public visible licenses.", + "description": "Any applicable publicly visible licenses.", "items": { "type": "string" } }, "name": { "type": "string", - "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.", + "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "annotations": { "required": [ @@ -1585,11 +1607,11 @@ }, "rawDisk": { "type": "object", - "description": "The raw disk image parameters.", + "description": "The parameters of the raw disk image.", "properties": { "containerType": { "type": "string", - "description": "The format used to encode and transmit the block device. Should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created.", + "description": "The format used to encode and transmit the block device, which should be TAR. This is just a container and transmission format and not a runtime format. Provided by the client when the disk image is created.", "enum": [ "TAR" ], @@ -1604,7 +1626,7 @@ }, "source": { "type": "string", - "description": "The full Google Cloud Storage URL where the disk image is stored; provided by the client when the disk image is created.", + "description": "The full Google Cloud Storage URL where the disk image is stored. You must provide either this property or the sourceDisk property but not both.", "annotations": { "required": [ "compute.images.insert" @@ -1615,19 +1637,19 @@ }, "selfLink": { "type": "string", - "description": "Server defined URL for the resource (output only)." + "description": "[Output Only] Server defined URL for the resource." }, "sourceDisk": { "type": "string", - "description": "The source disk used to create this image." + "description": "URL of the The source disk used to create this image. This can be a full or valid partial URL. You must provide either this property or the rawDisk.source property but not both to create an image. For example, the following are valid values: \n- https://www.googleapis.com/compute/v1/projects/project/zones/zone/disk/disk \n- projects/project/zones/zone/disk/disk \n- zones/zone/disks/disk" }, "sourceDiskId": { "type": "string", - "description": "The 'id' value of the disk used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given disk name." + "description": "The ID value of the disk used to create this image. This value may be used to determine whether the image was taken from the current or a previous instance of a given disk name." }, "sourceType": { "type": "string", - "description": "Must be \"RAW\"; provided by the client when the disk image is created.", + "description": "The type of the image used to create this disk. The default and only value is RAW", "default": "RAW", "enum": [ "RAW" @@ -1638,7 +1660,7 @@ }, "status": { "type": "string", - "description": "Status of the image (output only). It will be one of the following READY - after image has been successfully created and is ready for use FAILED - if creating the image fails for some reason PENDING - the image creation is in progress An image can be used to create other resources suck as instances only after the image has been successfully created and the status is set to READY.", + "description": "[Output Only] The status of the image. An image can be used to create other resources, such as instances, only after the image has been successfully created and the status is set to READY. Possible values are FAILED, PENDING, or READY.", "enum": [ "FAILED", "PENDING", @@ -1655,7 +1677,7 @@ "ImageList": { "id": "ImageList", "type": "object", - "description": "Contains a list of disk image resources.", + "description": "Contains a list of Image resources.", "properties": { "id": { "type": "string", @@ -1686,15 +1708,15 @@ "Instance": { "id": "Instance", "type": "object", - "description": "An instance resource.", + "description": "An Instance resource.", "properties": { "canIpForward": { "type": "boolean", - "description": "Allows this instance to send packets with source IP addresses other than its own and receive packets with destination IP addresses other than its own. If this instance will be used as an IP gateway or it will be set as the next-hop in a Route resource, say true. If unsure, leave this set to false." + "description": "Allows this instance to send and receive packets with non-matching destination or source IPs. This is required if you plan to use this instance to forward routes. For more information, see Enabling IP Forwarding." }, "creationTimestamp": { "type": "string", - "description": "Creation timestamp in RFC3339 text format (output only)." + "description": "[Output Only] Creation timestamp in RFC3339 text format." }, "description": { "type": "string", @@ -1709,17 +1731,17 @@ }, "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only).", + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "format": "uint64" }, "kind": { "type": "string", - "description": "Type of the resource.", + "description": "[Output Only] Type of the resource. Always compute#instance for instances.", "default": "compute#instance" }, "machineType": { "type": "string", - "description": "URL of the machine type resource describing which machine type to use to host the instance; provided by the client when the instance is created.", + "description": "Full or partial URL of the machine type resource to use for this instance. This is provided by the client when the instance is created. For example, the following is a valid partial url:\n\nzones/zone/machineTypes/machine-type", "annotations": { "required": [ "compute.instances.insert" @@ -1728,21 +1750,15 @@ }, "metadata": { "$ref": "Metadata", - "description": "Metadata key/value pairs assigned to this instance. Consists of custom metadata or predefined keys; see Instance documentation for more information." + "description": "The metadata key/value pairs assigned to this instance. This includes custom metadata and predefined keys." }, "name": { "type": "string", - "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.", - "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", - "annotations": { - "required": [ - "compute.instances.insert" - ] - } + "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash." }, "networkInterfaces": { "type": "array", - "description": "Array of configurations for this interface. This specifies how this interface is configured to interact with other network services, such as connecting to the internet. Currently, ONE_TO_ONE_NAT is the only access config supported. If there are no accessConfigs specified, then this instance will have no external internet access.", + "description": "An array of configurations for this interface. This specifies how this interface is configured to interact with other network services, such as connecting to the internet.", "items": { "$ref": "NetworkInterface" } @@ -1753,18 +1769,18 @@ }, "selfLink": { "type": "string", - "description": "Server defined URL for this resource (output only)." + "description": "[Output Only] Server defined URL for this resource." }, "serviceAccounts": { "type": "array", - "description": "A list of service accounts each with specified scopes, for which access tokens are to be made available to the instance through metadata queries.", + "description": "A list of service accounts, with their specified scopes, authorized for this instance. Service accounts generate access tokens that can be accessed through the metadata server and used to authenticate applications on the instance. See Authenticating from Google Compute Engine for more information.", "items": { "$ref": "ServiceAccount" } }, "status": { "type": "string", - "description": "Instance status. One of the following values: \"PROVISIONING\", \"STAGING\", \"RUNNING\", \"STOPPING\", \"STOPPED\", \"TERMINATED\" (output only).", + "description": "[Output Only] The status of the instance. One of the following values: PROVISIONING, STAGING, RUNNING, STOPPING, STOPPED, TERMINATED.", "enum": [ "PROVISIONING", "RUNNING", @@ -1784,15 +1800,15 @@ }, "statusMessage": { "type": "string", - "description": "An optional, human-readable explanation of the status (output only)." + "description": "[Output Only] An optional, human-readable explanation of the status." }, "tags": { "$ref": "Tags", - "description": "A list of tags to be applied to this instance. Used to identify valid sources or targets for network firewalls. Provided by the client on instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035." + "description": "A list of tags to appy to this instance. Tags are used to identify valid sources or targets for network firewalls and are specified by the client during instance creation. The tags can be later modified by the setTags method. Each tag within the list must comply with RFC1035." }, "zone": { "type": "string", - "description": "URL of the zone where the instance resides (output only)." + "description": "[Output Only] URL of the zone where the instance resides." } } }, @@ -1802,11 +1818,11 @@ "properties": { "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only)." + "description": "[Output Only] Unique identifier for the resource; defined by the server." }, "items": { "type": "object", - "description": "A map of scoped instance lists.", + "description": "[Output Only] A map of scoped instance lists.", "additionalProperties": { "$ref": "InstancesScopedList", "description": "Name of the scope containing this set of instances." @@ -1814,16 +1830,16 @@ }, "kind": { "type": "string", - "description": "Type of resource.", + "description": "[Output Only] Type of resource. Always compute#instanceAggregatedList for aggregated lists of Instance resources.", "default": "compute#instanceAggregatedList" }, "nextPageToken": { "type": "string", - "description": "A token used to continue a truncated list request (output only)." + "description": "[Output Only] A token used to continue a truncated list request." }, "selfLink": { "type": "string", - "description": "Server defined URL for this resource (output only)." + "description": "[Output Only] Server defined URL for this resource." } } }, @@ -1834,27 +1850,41 @@ "properties": { "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only)." + "description": "[Output Only] Unique identifier for the resource; defined by the server." }, "items": { "type": "array", - "description": "A list of Instance resources.", + "description": "[Output Only] A list of Instance resources.", "items": { "$ref": "Instance" } }, "kind": { "type": "string", - "description": "Type of resource.", + "description": "[Output Only] Type of resource. Always compute#instanceList for lists of Instance resources.", "default": "compute#instanceList" }, "nextPageToken": { "type": "string", - "description": "A token used to continue a truncated list request (output only)." + "description": "[Output Only] A token used to continue a truncated list request." }, "selfLink": { "type": "string", - "description": "Server defined URL for this resource (output only)." + "description": "[Output Only] Server defined URL for this resource." + } + } + }, + "InstanceMoveRequest": { + "id": "InstanceMoveRequest", + "type": "object", + "properties": { + "destinationZone": { + "type": "string", + "description": "The URL of the zone to move the instance to." + }, + "targetInstance": { + "type": "string", + "description": "The URL of the target instance to move." } } }, @@ -2004,18 +2034,18 @@ "properties": { "instances": { "type": "array", - "description": "List of instances contained in this scope.", + "description": "[Output Only] List of instances contained in this scope.", "items": { "$ref": "Instance" } }, "warning": { "type": "object", - "description": "Informational warning which replaces the list of instances when the list is empty.", + "description": "[Output Only] Informational warning which replaces the list of instances when the list is empty.", "properties": { "code": { "type": "string", - "description": "The warning type identifier for this warning.", + "description": "[Output Only] The warning type identifier for this warning.", "enum": [ "DEPRECATED_RESOURCE_USED", "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", @@ -2028,6 +2058,7 @@ "NO_RESULTS_ON_PAGE", "REQUIRED_TOS_AGREEMENT", "RESOURCE_NOT_DELETED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNREACHABLE" ], "enumDescriptions": [ @@ -2042,29 +2073,30 @@ "", "", "", + "", "" ] }, "data": { "type": "array", - "description": "Metadata for this warning in 'key: value' format.", + "description": "[Output Only] Metadata for this warning in key: value format.", "items": { "type": "object", "properties": { "key": { "type": "string", - "description": "A key for the warning data." + "description": "[Output Only] A key for the warning data." }, "value": { "type": "string", - "description": "A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key." } } } }, "message": { "type": "string", - "description": "Optional human-readable details for this warning." + "description": "[Output Only] Optional human-readable details for this warning." } } } @@ -2081,12 +2113,12 @@ }, "kind": { "type": "string", - "description": "Type of resource.", + "description": "[Output Only] Type of resource. Always compute#license for licenses.", "default": "compute#license" }, "name": { "type": "string", - "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.", + "description": "Name of the resource. The name must be 1-63 characters long, and comply with RCF1035.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "annotations": { "required": [ @@ -2096,14 +2128,14 @@ }, "selfLink": { "type": "string", - "description": "Server defined URL for the resource (output only)." + "description": "[Output Only] Server defined URL for the resource." } } }, "MachineType": { "id": "MachineType", "type": "object", - "description": "A machine type resource.", + "description": "A Machine Type resource.", "properties": { "creationTimestamp": { "type": "string", @@ -2111,15 +2143,15 @@ }, "deprecated": { "$ref": "DeprecationStatus", - "description": "The deprecation status associated with this machine type." + "description": "[Output Only] The deprecation status associated with this machine type." }, "description": { "type": "string", - "description": "An optional textual description of the resource." + "description": "[Output Only] An optional textual description of the resource." }, "guestCpus": { "type": "integer", - "description": "Count of CPUs exposed to the instance.", + "description": "[Output Only] The tumber of CPUs exposed to the instance.", "format": "int32" }, "id": { @@ -2129,7 +2161,7 @@ }, "imageSpaceGb": { "type": "integer", - "description": "Space allotted for the image, defined in GB.", + "description": "[Deprecated] This property is deprecated and will never be populated with any relevant values.", "format": "int32" }, "kind": { @@ -2139,27 +2171,27 @@ }, "maximumPersistentDisks": { "type": "integer", - "description": "Maximum persistent disks allowed.", + "description": "[Output Only] Maximum persistent disks allowed.", "format": "int32" }, "maximumPersistentDisksSizeGb": { "type": "string", - "description": "Maximum total persistent disks size (GB) allowed.", + "description": "[Output Only] Maximum total persistent disks size (GB) allowed.", "format": "int64" }, "memoryMb": { "type": "integer", - "description": "Physical memory assigned to the instance, defined in MB.", + "description": "[Output Only] The amount of physical memory available to the instance, defined in MB.", "format": "int32" }, "name": { "type": "string", - "description": "Name of the resource.", + "description": "[Output Only] Name of the resource.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?" }, "scratchDisks": { "type": "array", - "description": "List of extended scratch disks assigned to the instance.", + "description": "[Output Only] List of extended scratch disks assigned to the instance.", "items": { "type": "object", "properties": { @@ -2191,15 +2223,15 @@ }, "items": { "type": "object", - "description": "A map of scoped machine type lists.", + "description": "[Output Only] A map of scoped machine type lists.", "additionalProperties": { "$ref": "MachineTypesScopedList", - "description": "Name of the scope containing this set of machine types." + "description": "[Output Only] Name of the scope containing this set of machine types." } }, "kind": { "type": "string", - "description": "Type of resource.", + "description": "[Output Only] Type of resource. Always compute#machineTypeAggregatedList for aggregated lists of machine types.", "default": "compute#machineTypeAggregatedList" }, "nextPageToken": { @@ -2208,38 +2240,38 @@ }, "selfLink": { "type": "string", - "description": "Server defined URL for this resource (output only)." + "description": "[Output Only] Server defined URL for this resource." } } }, "MachineTypeList": { "id": "MachineTypeList", "type": "object", - "description": "Contains a list of machine type resources.", + "description": "Contains a list of Machine Type resources.", "properties": { "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only)." + "description": "[Output Only] Unique identifier for the resource; defined by the server." }, "items": { "type": "array", - "description": "A list of MachineType resources.", + "description": "[Output Only] A list of Machine Type resources.", "items": { "$ref": "MachineType" } }, "kind": { "type": "string", - "description": "Type of resource.", + "description": "[Output Only] Type of resource. Always compute#machineTypeList for lists of machine types.", "default": "compute#machineTypeList" }, "nextPageToken": { "type": "string", - "description": "A token used to continue a truncated list request (output only)." + "description": "[Output Only] A token used to continue a truncated list request." }, "selfLink": { "type": "string", - "description": "Server defined URL for this resource (output only)." + "description": "[Output Only] Server defined URL for this resource." } } }, @@ -2249,18 +2281,18 @@ "properties": { "machineTypes": { "type": "array", - "description": "List of machine types contained in this scope.", + "description": "[Output Only] List of machine types contained in this scope.", "items": { "$ref": "MachineType" } }, "warning": { "type": "object", - "description": "An informational warning that appears when the machine types list is empty.", + "description": "[Output Only] An informational warning that appears when the machine types list is empty.", "properties": { "code": { "type": "string", - "description": "The warning type identifier for this warning.", + "description": "[Output Only] The warning type identifier for this warning.", "enum": [ "DEPRECATED_RESOURCE_USED", "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", @@ -2273,6 +2305,7 @@ "NO_RESULTS_ON_PAGE", "REQUIRED_TOS_AGREEMENT", "RESOURCE_NOT_DELETED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNREACHABLE" ], "enumDescriptions": [ @@ -2287,29 +2320,30 @@ "", "", "", + "", "" ] }, "data": { "type": "array", - "description": "Metadata for this warning in 'key: value' format.", + "description": "[Output Only] Metadata for this warning in key: value format.", "items": { "type": "object", "properties": { "key": { "type": "string", - "description": "A key for the warning data." + "description": "[Output Only] A key for the warning data." }, "value": { "type": "string", - "description": "A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key." } } } }, "message": { "type": "string", - "description": "Optional human-readable details for this warning." + "description": "[Output Only] Optional human-readable details for this warning." } } } @@ -2322,7 +2356,7 @@ "properties": { "fingerprint": { "type": "string", - "description": "Fingerprint of this resource. A hash of the metadata's contents. This field is used for optimistic locking. An up-to-date metadata fingerprint must be provided in order to modify metadata.", + "description": "Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata.", "format": "byte" }, "items": { @@ -2357,7 +2391,7 @@ }, "kind": { "type": "string", - "description": "Type of the resource.", + "description": "[Output Only] Type of the resource. Always compute#metadata for metadata.", "default": "compute#metadata" } } @@ -2369,7 +2403,7 @@ "properties": { "IPv4Range": { "type": "string", - "description": "Required; The range of internal addresses that are legal on this network. This range is a CIDR specification, for example: 192.168.0.0/16. Provided by the client when the network is created.", + "description": "The range of internal addresses that are legal on this network. This range is a CIDR specification, for example: 192.168.0.0/16. Provided by the client when the network is created.", "pattern": "[0-9]{1,3}(?:\\.[0-9]{1,3}){3}/[0-9]{1,2}", "annotations": { "required": [ @@ -2379,7 +2413,7 @@ }, "creationTimestamp": { "type": "string", - "description": "Creation timestamp in RFC3339 text format (output only)." + "description": "[Output Only] Creation timestamp in RFC3339 text format." }, "description": { "type": "string", @@ -2387,22 +2421,22 @@ }, "gatewayIPv4": { "type": "string", - "description": "An optional address that is used for default routing to other networks. This must be within the range specified by IPv4Range, and is typically the first usable address in that range. If not specified, the default value is the first usable address in IPv4Range.", + "description": "A gateway address for default routing to other networks. This value is read only and is selected by the Google Compute Engine, typically as the first usable address in the IPv4Range.", "pattern": "[0-9]{1,3}(?:\\.[0-9]{1,3}){3}" }, "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only).", + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "format": "uint64" }, "kind": { "type": "string", - "description": "Type of the resource.", + "description": "[Output Only] Type of the resource. Always compute#network for networks.", "default": "compute#network" }, "name": { "type": "string", - "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035.", + "description": "Name of the resource; provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.", "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "annotations": { "required": [ @@ -2412,7 +2446,7 @@ }, "selfLink": { "type": "string", - "description": "Server defined URL for the resource (output only)." + "description": "[Output Only] Server defined URL for the resource." } } }, @@ -2423,18 +2457,18 @@ "properties": { "accessConfigs": { "type": "array", - "description": "Array of configurations for this interface. This specifies how this interface is configured to interact with other network services, such as connecting to the internet. Currently, ONE_TO_ONE_NAT is the only access config supported. If there are no accessConfigs specified, then this instance will have no external internet access.", + "description": "An array of configurations for this interface. Currently, \u003ccodeONE_TO_ONE_NAT is the only access config supported. If there are no accessConfigs specified, then this instance will have no external internet access.", "items": { "$ref": "AccessConfig" } }, "name": { "type": "string", - "description": "Name of the network interface, determined by the server; for network devices, these are e.g. eth0, eth1, etc. (output only)." + "description": "[Output Only] The name of the network interface, generated by the server. For network devices, these are eth0, eth1, etc." }, "network": { "type": "string", - "description": "URL of the network resource attached to this interface.", + "description": "URL of the network resource for this instance. This is required for creating an instance but optional when creating a firewall rule. If not specified when creating a firewall rule, the default network is used:\n\nglobal/networks/default \n\nIf you specify this property, you can specify the network as a full or partial URL. For example, the following are all valid URLs: \n- https://www.googleapis.com/compute/v1/projects/project/global/networks/network \n- projects/project/global/networks/network \n- global/networks/default", "annotations": { "required": [ "compute.instances.insert" @@ -2443,38 +2477,38 @@ }, "networkIP": { "type": "string", - "description": "An optional IPV4 internal network address assigned to the instance for this network interface (output only)." + "description": "[Output Only] An optional IPV4 internal network address assigned to the instance for this network interface." } } }, "NetworkList": { "id": "NetworkList", "type": "object", - "description": "Contains a list of network resources.", + "description": "Contains a list of Network resources.", "properties": { "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only)." + "description": "[Output Only] Unique identifier for the resource; defined by the server." }, "items": { "type": "array", - "description": "A list of Network resources.", + "description": "[Output Only] A list of Network resources.", "items": { "$ref": "Network" } }, "kind": { "type": "string", - "description": "Type of resource.", + "description": "[Output Only] Type of resource. Always compute#networkList for lists of networks.", "default": "compute#networkList" }, "nextPageToken": { "type": "string", - "description": "A token used to continue a truncated list request (output only)." + "description": "[Output Only] A token used to continue a truncated list request." }, "selfLink": { "type": "string", - "description": "Server defined URL for this resource (output only)." + "description": "[Output Only] Server defined URL for this resource ." } } }, @@ -2484,18 +2518,20 @@ "description": "An operation resource, used to manage asynchronous API requests.", "properties": { "clientOperationId": { - "type": "string" + "type": "string", + "description": "[Output Only] An optional identifier specified by the client when the mutation was initiated. Must be unique for all operation resources in the project" }, "creationTimestamp": { "type": "string", - "description": "[Output Only] Creation timestamp in RFC3339 text format (output only)." + "description": "[Output Only] Creation timestamp in RFC3339 text format." }, "endTime": { - "type": "string" + "type": "string", + "description": "[Output Only] The time that this operation was completed. This is in RFC3339 text format." }, "error": { "type": "object", - "description": "[Output Only] If errors occurred during processing of this operation, this field will be populated.", + "description": "[Output Only] If errors are generated during processing of the operation, this field will be populated.", "properties": { "errors": { "type": "array", @@ -2521,10 +2557,12 @@ } }, "httpErrorMessage": { - "type": "string" + "type": "string", + "description": "[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as NOT FOUND." }, "httpErrorStatusCode": { "type": "integer", + "description": "[Output Only] If the operation fails, this field contains the HTTP error message that was returned, such as 404.", "format": "int32" }, "id": { @@ -2534,27 +2572,29 @@ }, "insertTime": { "type": "string", - "description": "[Output Only] The time that this operation was requested. This is in RFC 3339 format." + "description": "[Output Only] The time that this operation was requested. This is in RFC3339 text format." }, "kind": { "type": "string", - "description": "[Output Only] Type of the resource. Always kind#operation for Operation resources.", + "description": "[Output Only] Type of the resource. Always compute#Operation for Operation resources.", "default": "compute#operation" }, "name": { "type": "string", - "description": "[Output Only] Name of the resource (output only)." + "description": "[Output Only] Name of the resource." }, "operationType": { - "type": "string" + "type": "string", + "description": "[Output Only] Type of the operation, such as insert, update, and delete." }, "progress": { "type": "integer", + "description": "[Output Only] An optional progress indicator that ranges from 0 to 100. There is no requirement that this be linear or support any granularity of operations. This should not be used to guess at when the operation will be complete. This number should be monotonically increasing as the operation progresses.", "format": "int32" }, "region": { "type": "string", - "description": "[Output Only] URL of the region where the operation resides (output only)." + "description": "[Output Only] URL of the region where the operation resides. Only applicable for regional resources." }, "selfLink": { "type": "string", @@ -2562,11 +2602,11 @@ }, "startTime": { "type": "string", - "description": "[Output Only] The time that this operation was started by the server. This is in RFC 3339 format." + "description": "[Output Only] The time that this operation was started by the server. This is in RFC3339 text format." }, "status": { "type": "string", - "description": "[Output Only] Status of the operation. Can be one of the following: \"PENDING\", \"RUNNING\", or \"DONE\".", + "description": "[Output Only] Status of the operation. Can be one of the following: PENDING, RUNNING, or DONE.", "enum": [ "DONE", "PENDING", @@ -2584,24 +2624,26 @@ }, "targetId": { "type": "string", - "description": "[Output Only] Unique target id which identifies a particular incarnation of the target.", + "description": "[Output Only] Unique target ID which identifies a particular incarnation of the target.", "format": "uint64" }, "targetLink": { "type": "string", - "description": "[Output Only] URL of the resource the operation is mutating (output only)." + "description": "[Output Only] URL of the resource the operation is mutating." }, "user": { - "type": "string" + "type": "string", + "description": "[Output Only] User who requested the operation, for example: user@example.com." }, "warnings": { "type": "array", + "description": "[Output Only] If warning messages are generated during processing of the operation, this field will be populated.", "items": { "type": "object", "properties": { "code": { "type": "string", - "description": "The warning type identifier for this warning.", + "description": "[Output Only] The warning type identifier for this warning.", "enum": [ "DEPRECATED_RESOURCE_USED", "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", @@ -2614,6 +2656,7 @@ "NO_RESULTS_ON_PAGE", "REQUIRED_TOS_AGREEMENT", "RESOURCE_NOT_DELETED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNREACHABLE" ], "enumDescriptions": [ @@ -2628,36 +2671,37 @@ "", "", "", + "", "" ] }, "data": { "type": "array", - "description": "Metadata for this warning in 'key: value' format.", + "description": "[Output Only] Metadata for this warning in key: value format.", "items": { "type": "object", "properties": { "key": { "type": "string", - "description": "A key for the warning data." + "description": "[Output Only] A key for the warning data." }, "value": { "type": "string", - "description": "A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key." } } } }, "message": { "type": "string", - "description": "Optional human-readable details for this warning." + "description": "[Output Only] Optional human-readable details for this warning." } } } }, "zone": { "type": "string", - "description": "[Output Only] URL of the zone where the operation resides (output only)." + "description": "[Output Only] URL of the zone where the operation resides." } } }, @@ -2679,7 +2723,7 @@ }, "kind": { "type": "string", - "description": "Type of resource.", + "description": "[Output Only] Type of resource. Always compute#operationAggregatedList for aggregated lists of operations.", "default": "compute#operationAggregatedList" }, "nextPageToken": { @@ -2710,7 +2754,7 @@ }, "kind": { "type": "string", - "description": "Type of resource. Always compute#operations for Operations resource.", + "description": "[Output Only] Type of resource. Always compute#operations for Operations resource.", "default": "compute#operationList" }, "nextPageToken": { @@ -2740,7 +2784,7 @@ "properties": { "code": { "type": "string", - "description": "The warning type identifier for this warning.", + "description": "[Output Only] The warning type identifier for this warning.", "enum": [ "DEPRECATED_RESOURCE_USED", "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", @@ -2753,6 +2797,7 @@ "NO_RESULTS_ON_PAGE", "REQUIRED_TOS_AGREEMENT", "RESOURCE_NOT_DELETED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNREACHABLE" ], "enumDescriptions": [ @@ -2767,29 +2812,30 @@ "", "", "", + "", "" ] }, "data": { "type": "array", - "description": "Metadata for this warning in 'key: value' format.", + "description": "[Output Only] Metadata for this warning in key: value format.", "items": { "type": "object", "properties": { "key": { "type": "string", - "description": "A key for the warning data." + "description": "[Output Only] A key for the warning data." }, "value": { "type": "string", - "description": "A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key." } } } }, "message": { "type": "string", - "description": "Optional human-readable details for this warning." + "description": "[Output Only] Optional human-readable details for this warning." } } } @@ -2841,15 +2887,15 @@ "Project": { "id": "Project", "type": "object", - "description": "A project resource. Projects can be created only in the APIs Console. Unless marked otherwise, values can only be modified in the console.", + "description": "A Project resource. Projects can only be created in the Google Developers Console. Unless marked otherwise, values can only be modified in the console.", "properties": { "commonInstanceMetadata": { "$ref": "Metadata", - "description": "Metadata key/value pairs available to all instances contained in this project." + "description": "Metadata key/value pairs available to all instances contained in this project. See Custom metadata for more information." }, "creationTimestamp": { "type": "string", - "description": "Creation timestamp in RFC3339 text format (output only)." + "description": "[Output Only] Creation timestamp in RFC3339 text format." }, "description": { "type": "string", @@ -2857,12 +2903,12 @@ }, "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only).", + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "format": "uint64" }, "kind": { "type": "string", - "description": "Type of the resource.", + "description": "[Output Only] Type of the resource. Always compute#project for projects.", "default": "compute#project" }, "name": { @@ -2871,14 +2917,14 @@ }, "quotas": { "type": "array", - "description": "Quotas assigned to this project.", + "description": "[Output Only] Quotas assigned to this project.", "items": { "$ref": "Quota" } }, "selfLink": { "type": "string", - "description": "Server defined URL for the resource (output only)." + "description": "[Output Only] Server defined URL for the resource." }, "usageExportLocation": { "$ref": "UsageExportLocation", @@ -2893,12 +2939,12 @@ "properties": { "limit": { "type": "number", - "description": "Quota limit for this metric.", + "description": "[Output Only] Quota limit for this metric.", "format": "double" }, "metric": { "type": "string", - "description": "Name of the quota metric.", + "description": "[Output Only] Name of the quota metric.", "enum": [ "BACKEND_SERVICES", "CPUS", @@ -2910,7 +2956,6 @@ "HEALTH_CHECKS", "IMAGES", "IMAGES_TOTAL_GB", - "INSTANCES", "IN_USE_ADDRESSES", "KERNELS", "KERNELS_TOTAL_GB", @@ -2950,13 +2995,12 @@ "", "", "", - "", "" ] }, "usage": { "type": "number", - "description": "Current usage of this metric.", + "description": "[Output Only] Current usage of this metric.", "format": "double" } } @@ -2968,44 +3012,44 @@ "properties": { "creationTimestamp": { "type": "string", - "description": "Creation timestamp in RFC3339 text format (output only)." + "description": "[Output Only] Creation timestamp in RFC3339 text format." }, "deprecated": { "$ref": "DeprecationStatus", - "description": "The deprecation status associated with this region." + "description": "[Output Only] The deprecation status associated with this region." }, "description": { "type": "string", - "description": "Textual description of the resource." + "description": "[Output Only] Textual description of the resource." }, "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only).", + "description": "[Output Only] Unique identifier for the resource; defined by the server .", "format": "uint64" }, "kind": { "type": "string", - "description": "Type of the resource.", + "description": "[Output Only] Type of the resource. Always compute#region for regions.", "default": "compute#region" }, "name": { "type": "string", - "description": "Name of the resource." + "description": "[Output Only] Name of the resource." }, "quotas": { "type": "array", - "description": "Quotas assigned to this region.", + "description": "[Output Only] Quotas assigned to this region.", "items": { "$ref": "Quota" } }, "selfLink": { "type": "string", - "description": "Server defined URL for the resource (output only)." + "description": "[Output Only] Server defined URL for the resource." }, "status": { "type": "string", - "description": "Status of the region, \"UP\" or \"DOWN\".", + "description": "[Output Only] Status of the region, either UP or DOWN.", "enum": [ "DOWN", "UP" @@ -3017,7 +3061,7 @@ }, "zones": { "type": "array", - "description": "A list of zones homed in this region, in the form of resource URLs.", + "description": "[Output Only] A list of zones available in this region, in the form of resource URLs.", "items": { "type": "string" } @@ -3031,27 +3075,27 @@ "properties": { "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only)." + "description": "[Output Only] Unique identifier for the resource; defined by the server." }, "items": { "type": "array", - "description": "A list of Region resources.", + "description": "[Output Only] A list of Region resources.", "items": { "$ref": "Region" } }, "kind": { "type": "string", - "description": "Type of resource.", + "description": "[Output Only] Type of resource. Always compute#regionList for lists of regions.", "default": "compute#regionList" }, "nextPageToken": { "type": "string", - "description": "A token used to continue a truncated list request (output only)." + "description": "[Output Only] A token used to continue a truncated list request." }, "selfLink": { "type": "string", - "description": "Server defined URL for this resource (output only)." + "description": "[Output Only] Server defined URL for this resource." } } }, @@ -3166,7 +3210,7 @@ "properties": { "code": { "type": "string", - "description": "The warning type identifier for this warning.", + "description": "[Output Only] The warning type identifier for this warning.", "enum": [ "DEPRECATED_RESOURCE_USED", "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", @@ -3179,6 +3223,7 @@ "NO_RESULTS_ON_PAGE", "REQUIRED_TOS_AGREEMENT", "RESOURCE_NOT_DELETED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNREACHABLE" ], "enumDescriptions": [ @@ -3193,29 +3238,30 @@ "", "", "", + "", "" ] }, "data": { "type": "array", - "description": "Metadata for this warning in 'key: value' format.", + "description": "[Output Only] Metadata for this warning in key: value format.", "items": { "type": "object", "properties": { "key": { "type": "string", - "description": "A key for the warning data." + "description": "[Output Only] A key for the warning data." }, "value": { "type": "string", - "description": "A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key." } } } }, "message": { "type": "string", - "description": "Optional human-readable details for this warning." + "description": "[Output Only] Optional human-readable details for this warning." } } } @@ -3256,15 +3302,15 @@ "Scheduling": { "id": "Scheduling", "type": "object", - "description": "Scheduling options for an Instance.", + "description": "Sets the scheduling options for an Instance.", "properties": { "automaticRestart": { "type": "boolean", - "description": "Whether the Instance should be automatically restarted whenever it is terminated by Compute Engine (not terminated by user)." + "description": "Specifies whether the instance should be automatically restarted if it is terminated by Compute Engine (not terminated by a user)." }, "onHostMaintenance": { "type": "string", - "description": "How the instance should behave when the host machine undergoes maintenance that may temporarily impact instance performance.", + "description": "Defines the maintenance behavior for this instance. The default behavior is MIGRATE. For more information, see Setting maintenance behavior.", "enum": [ "MIGRATE", "TERMINATE" @@ -3279,20 +3325,20 @@ "SerialPortOutput": { "id": "SerialPortOutput", "type": "object", - "description": "An instance serial console output.", + "description": "An instance's serial console output.", "properties": { "contents": { "type": "string", - "description": "The contents of the console output." + "description": "[Output Only] The contents of the console output." }, "kind": { "type": "string", - "description": "Type of the resource.", + "description": "[Output Only] Type of the resource. Always compute#serialPortOutput for serial port output.", "default": "compute#serialPortOutput" }, "selfLink": { "type": "string", - "description": "Server defined URL for the resource (output only)." + "description": "[Output Only] Server defined URL for the resource." } } }, @@ -3441,7 +3487,7 @@ "properties": { "fingerprint": { "type": "string", - "description": "Fingerprint of this resource. A hash of the tags stored in this object. This field is used optimistic locking. An up-to-date tags fingerprint must be provided in order to modify tags.", + "description": "Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata.\n\nTo see the latest fingerprint, make get() request to the instance.", "format": "byte" }, "items": { @@ -3653,7 +3699,7 @@ "properties": { "code": { "type": "string", - "description": "The warning type identifier for this warning.", + "description": "[Output Only] The warning type identifier for this warning.", "enum": [ "DEPRECATED_RESOURCE_USED", "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", @@ -3666,6 +3712,7 @@ "NO_RESULTS_ON_PAGE", "REQUIRED_TOS_AGREEMENT", "RESOURCE_NOT_DELETED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNREACHABLE" ], "enumDescriptions": [ @@ -3680,29 +3727,30 @@ "", "", "", + "", "" ] }, "data": { "type": "array", - "description": "Metadata for this warning in 'key: value' format.", + "description": "[Output Only] Metadata for this warning in key: value format.", "items": { "type": "object", "properties": { "key": { "type": "string", - "description": "A key for the warning data." + "description": "[Output Only] A key for the warning data." }, "value": { "type": "string", - "description": "A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key." } } } }, "message": { "type": "string", - "description": "Optional human-readable details for this warning." + "description": "[Output Only] Optional human-readable details for this warning." } } } @@ -3931,7 +3979,7 @@ "properties": { "code": { "type": "string", - "description": "The warning type identifier for this warning.", + "description": "[Output Only] The warning type identifier for this warning.", "enum": [ "DEPRECATED_RESOURCE_USED", "DISK_SIZE_LARGER_THAN_IMAGE_SIZE", @@ -3944,6 +3992,7 @@ "NO_RESULTS_ON_PAGE", "REQUIRED_TOS_AGREEMENT", "RESOURCE_NOT_DELETED", + "SINGLE_INSTANCE_PROPERTY_TEMPLATE", "UNREACHABLE" ], "enumDescriptions": [ @@ -3958,29 +4007,30 @@ "", "", "", + "", "" ] }, "data": { "type": "array", - "description": "Metadata for this warning in 'key: value' format.", + "description": "[Output Only] Metadata for this warning in key: value format.", "items": { "type": "object", "properties": { "key": { "type": "string", - "description": "A key for the warning data." + "description": "[Output Only] A key for the warning data." }, "value": { "type": "string", - "description": "A warning data value corresponding to the key." + "description": "[Output Only] A warning data value corresponding to the key." } } } }, "message": { "type": "string", - "description": "Optional human-readable details for this warning." + "description": "[Output Only] Optional human-readable details for this warning." } } } @@ -4193,81 +4243,81 @@ "properties": { "bucketName": { "type": "string", - "description": "The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This is simply the bucket name, with no \"gs://\" or \"https://storage.googleapis.com/\" in front of it." + "description": "The name of an existing bucket in Cloud Storage where the usage report object is stored. The Google Service Account is granted write access to this bucket. This is just the bucket name, with no gs:// or https://storage.googleapis.com/ in front of it." }, "reportNamePrefix": { "type": "string", - "description": "An optional prefix for the name of the usage report object stored in bucket_name. If not supplied, defaults to \"usage_\". The report is stored as a CSV file named _gce_.csv. where is the day of the usage according to Pacific Time. The prefix should conform to Cloud Storage object naming conventions." + "description": "An optional prefix for the name of the usage report object stored in bucketName. If not supplied, defaults to usage. The report is stored as a CSV file named report_name_prefix_gce_YYYYMMDD.csv where YYYYMMDD is the day of the usage according to Pacific Time. If you supply a prefix, it should conform to Cloud Storage object naming conventions." } } }, "Zone": { "id": "Zone", "type": "object", - "description": "A zone resource.", + "description": "A Zone resource.", "properties": { "creationTimestamp": { "type": "string", - "description": "Creation timestamp in RFC3339 text format (output only)." + "description": "[Output Only] Creation timestamp in RFC3339 text format." }, "deprecated": { "$ref": "DeprecationStatus", - "description": "The deprecation status associated with this zone." + "description": "[Output Only] The deprecation status associated with this zone." }, "description": { "type": "string", - "description": "Textual description of the resource." + "description": "[Output Only] Textual description of the resource." }, "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only).", + "description": "[Output Only] Unique identifier for the resource; defined by the server.", "format": "uint64" }, "kind": { "type": "string", - "description": "Type of the resource.", + "description": "[Output Only] Type of the resource. Always kind#zone for zones.", "default": "compute#zone" }, "maintenanceWindows": { "type": "array", - "description": "Scheduled maintenance windows for the zone. When the zone is in a maintenance window, all resources which reside in the zone will be unavailable.", + "description": "[Output Only] Any scheduled maintenance windows for this zone. When the zone is in a maintenance window, all resources which reside in the zone will be unavailable. For more information, see Maintenance Windows", "items": { "type": "object", "properties": { "beginTime": { "type": "string", - "description": "Begin time of the maintenance window, in RFC 3339 format." + "description": "[Output Only] Starting time of the maintenance window, in RFC3339 format." }, "description": { "type": "string", - "description": "Textual description of the maintenance window." + "description": "[Output Only] Textual description of the maintenance window." }, "endTime": { "type": "string", - "description": "End time of the maintenance window, in RFC 3339 format." + "description": "[Output Only] Ending time of the maintenance window, in RFC3339 format." }, "name": { "type": "string", - "description": "Name of the maintenance window." + "description": "[Output Only] Name of the maintenance window." } } } }, "name": { "type": "string", - "description": "Name of the resource." + "description": "[Output Only] Name of the resource." }, "region": { "type": "string", - "description": "Full URL reference to the region which hosts the zone (output only)." + "description": "[Output Only] Full URL reference to the region which hosts the zone." }, "selfLink": { "type": "string", - "description": "Server defined URL for the resource (output only)." + "description": "[Output Only] Server defined URL for the resource." }, "status": { "type": "string", - "description": "Status of the zone. \"UP\" or \"DOWN\".", + "description": "[Output Only] Status of the zone, either UP or DOWN.", "enum": [ "DOWN", "UP" @@ -4286,11 +4336,11 @@ "properties": { "id": { "type": "string", - "description": "Unique identifier for the resource; defined by the server (output only)." + "description": "[Output Only] Unique identifier for the resource; defined by the server." }, "items": { "type": "array", - "description": "A list of Zone resources.", + "description": "[Output Only] A list of Zone resources.", "items": { "$ref": "Zone" } @@ -4302,7 +4352,7 @@ }, "nextPageToken": { "type": "string", - "description": "A token used to continue a truncated list request (output only)." + "description": "[Output Only] A token used to continue a truncated list request." }, "selfLink": { "type": "string", @@ -4341,7 +4391,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -4374,14 +4424,14 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "region": { "type": "string", - "description": "Name of the region scoping this request.", + "description": "The name of the region for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -4415,14 +4465,14 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "region": { "type": "string", - "description": "Name of the region scoping this request.", + "description": "The name of the region for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -4450,14 +4500,14 @@ "parameters": { "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "region": { "type": "string", - "description": "Name of the region scoping this request.", + "description": "The name of the region for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -4505,14 +4555,14 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "region": { "type": "string", - "description": "Name of the region scoping this request.", + "description": "The name of the region for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -4814,7 +4864,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -4847,14 +4897,14 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -4901,14 +4951,14 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -4958,7 +5008,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -4983,21 +5033,21 @@ "parameters": { "disk": { "type": "string", - "description": "Name of the persistent disk resource to snapshot.", + "description": "Name of the persistent disk to snapshot.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -5023,25 +5073,25 @@ "id": "compute.disks.delete", "path": "{project}/zones/{zone}/disks/{disk}", "httpMethod": "DELETE", - "description": "Deletes the specified persistent disk resource.", + "description": "Deletes the specified persistent disk.", "parameters": { "disk": { "type": "string", - "description": "Name of the persistent disk resource to delete.", + "description": "Name of the persistent disk to delete.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -5064,25 +5114,25 @@ "id": "compute.disks.get", "path": "{project}/zones/{zone}/disks/{disk}", "httpMethod": "GET", - "description": "Returns the specified persistent disk resource.", + "description": "Returns a specified persistent disk.", "parameters": { "disk": { "type": "string", - "description": "Name of the persistent disk resource to return.", + "description": "Name of the persistent disk to return.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -5106,11 +5156,11 @@ "id": "compute.disks.insert", "path": "{project}/zones/{zone}/disks", "httpMethod": "POST", - "description": "Creates a persistent disk resource in the specified project using the data included in the request.", + "description": "Creates a persistent disk in the specified project using the data included in the request.", "parameters": { "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -5122,7 +5172,7 @@ }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -5147,7 +5197,7 @@ "id": "compute.disks.list", "path": "{project}/zones/{zone}/disks", "httpMethod": "GET", - "description": "Retrieves the list of persistent disk resources contained within the specified zone.", + "description": "Retrieves the list of persistent disks contained within the specified zone.", "parameters": { "filter": { "type": "string", @@ -5170,14 +5220,14 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -5215,7 +5265,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -5248,7 +5298,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -5275,7 +5325,7 @@ "parameters": { "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -5322,7 +5372,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -5355,7 +5405,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -5391,7 +5441,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -5696,7 +5746,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -5729,7 +5779,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -5756,7 +5806,7 @@ "parameters": { "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -5803,7 +5853,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -6032,7 +6082,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -6065,7 +6115,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -6095,7 +6145,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -6141,7 +6191,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -6394,7 +6444,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -6416,7 +6466,7 @@ "id": "compute.images.deprecate", "path": "{project}/global/images/{image}/deprecate", "httpMethod": "POST", - "description": "Sets the deprecation status of an image. If no message body is given, clears the deprecation status instead.", + "description": "Sets the deprecation status of an image.\n\nIf an empty request body is given, clears the deprecation status instead.", "parameters": { "image": { "type": "string", @@ -6427,7 +6477,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -6463,7 +6513,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -6490,7 +6540,7 @@ "parameters": { "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -6540,7 +6590,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -6714,27 +6764,27 @@ "parameters": { "instance": { "type": "string", - "description": "Instance name.", + "description": "The instance name for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" }, "networkInterface": { "type": "string", - "description": "Network interface name.", + "description": "The name of the network interface to add to this instance.", "required": true, "location": "query" }, "project": { "type": "string", - "description": "Project name.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -6783,7 +6833,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -6805,7 +6855,7 @@ "id": "compute.instances.attachDisk", "path": "{project}/zones/{zone}/instances/{instance}/attachDisk", "httpMethod": "POST", - "description": "Attaches a disk resource to an instance.", + "description": "Attaches a Disk resource to an instance.", "parameters": { "instance": { "type": "string", @@ -6816,14 +6866,14 @@ }, "project": { "type": "string", - "description": "Project name.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -6849,7 +6899,7 @@ "id": "compute.instances.delete", "path": "{project}/zones/{zone}/instances/{instance}", "httpMethod": "DELETE", - "description": "Deletes the specified instance resource.", + "description": "Deletes the specified Instance resource. For more information, see Shutting down an instance.", "parameters": { "instance": { "type": "string", @@ -6860,14 +6910,14 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -6894,33 +6944,33 @@ "parameters": { "accessConfig": { "type": "string", - "description": "Access config name.", + "description": "The name of the access config to delete.", "required": true, "location": "query" }, "instance": { "type": "string", - "description": "Instance name.", + "description": "The instance name for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" }, "networkInterface": { "type": "string", - "description": "Network interface name.", + "description": "The name of the network interface.", "required": true, "location": "query" }, "project": { "type": "string", - "description": "Project name.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -6963,14 +7013,14 @@ }, "project": { "type": "string", - "description": "Project name.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -7005,14 +7055,14 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the The name of the zone for this request..", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -7047,14 +7097,14 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -7082,14 +7132,14 @@ "parameters": { "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -7137,14 +7187,14 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -7178,14 +7228,14 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -7208,7 +7258,7 @@ "id": "compute.instances.setDiskAutoDelete", "path": "{project}/zones/{zone}/instances/{instance}/setDiskAutoDelete", "httpMethod": "POST", - "description": "Sets the auto-delete flag for a disk attached to an instance", + "description": "Sets the auto-delete flag for a disk attached to an instance.", "parameters": { "autoDelete": { "type": "boolean", @@ -7218,28 +7268,28 @@ }, "deviceName": { "type": "string", - "description": "Disk device name to modify.", + "description": "The device name of the disk to modify.", "required": true, "pattern": "\\w[\\w.-]{0,254}", "location": "query" }, "instance": { "type": "string", - "description": "Instance name.", + "description": "The instance name.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" }, "project": { "type": "string", - "description": "Project name.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -7275,14 +7325,14 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -7319,14 +7369,14 @@ }, "project": { "type": "string", - "description": "Project name.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -7363,14 +7413,14 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -7396,7 +7446,7 @@ "id": "compute.instances.start", "path": "{project}/zones/{zone}/instances/{instance}/start", "httpMethod": "POST", - "description": "Starts an instance", + "description": "This method starts an instance that was stopped using the using the instances().stop method. For more information, see Restart an instance.", "parameters": { "instance": { "type": "string", @@ -7407,14 +7457,14 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -7437,7 +7487,7 @@ "id": "compute.instances.stop", "path": "{project}/zones/{zone}/instances/{instance}/stop", "httpMethod": "POST", - "description": "Stops an instance", + "description": "This method stops a running instance, shutting it down cleanly, and allows you to restart the instance at a later time. Stopped instances do not incur per-minute, virtual machine usage charges while they are stopped, but any resources that the virtual machine is using, such as persistent disks and static IP addresses,will continue to be charged until they are deleted. For more information, see Stopping an instance.", "parameters": { "instance": { "type": "string", @@ -7448,14 +7498,14 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -7493,7 +7543,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -7583,7 +7633,7 @@ }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -7637,7 +7687,7 @@ }, "zone": { "type": "string", - "description": "Name of the zone scoping this request.", + "description": "The name of the zone for this request.", "required": true, "pattern": "[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?", "location": "path" @@ -7675,7 +7725,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -7708,7 +7758,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -7735,7 +7785,7 @@ "parameters": { "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -7782,7 +7832,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -7812,7 +7862,7 @@ "parameters": { "project": { "type": "string", - "description": "Name of the project resource to retrieve.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -7830,6 +7880,62 @@ "https://www.googleapis.com/auth/compute.readonly" ] }, + "moveDisk": { + "id": "compute.projects.moveDisk", + "path": "{project}/moveDisk", + "httpMethod": "POST", + "description": "Moves a persistent disk from one zone to another.", + "parameters": { + "project": { + "type": "string", + "description": "Project ID for this request.", + "required": true, + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path" + } + }, + "parameterOrder": [ + "project" + ], + "request": { + "$ref": "DiskMoveRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, + "moveInstance": { + "id": "compute.projects.moveInstance", + "path": "{project}/moveInstance", + "httpMethod": "POST", + "description": "Moves an instance and its attached persistent disks from one zone to another.", + "parameters": { + "project": { + "type": "string", + "description": "Project ID for this request.", + "required": true, + "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", + "location": "path" + } + }, + "parameterOrder": [ + "project" + ], + "request": { + "$ref": "InstanceMoveRequest" + }, + "response": { + "$ref": "Operation" + }, + "scopes": [ + "https://www.googleapis.com/auth/cloud-platform", + "https://www.googleapis.com/auth/compute" + ] + }, "setCommonInstanceMetadata": { "id": "compute.projects.setCommonInstanceMetadata", "path": "{project}/setCommonInstanceMetadata", @@ -7838,7 +7944,7 @@ "parameters": { "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -7862,11 +7968,11 @@ "id": "compute.projects.setUsageExportBucket", "path": "{project}/setUsageExportBucket", "httpMethod": "POST", - "description": "Sets usage export location", + "description": "Enables the usage export feature and sets the usage export bucket where reports are stored. If you provide an empty request body using this method, the usage export feature will be disabled.", "parameters": { "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -7908,7 +8014,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -7946,7 +8052,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -8000,7 +8106,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -8038,7 +8144,7 @@ "parameters": { "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -8091,7 +8197,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -9528,7 +9634,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -9566,7 +9672,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -9620,7 +9726,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -9658,7 +9764,7 @@ "parameters": { "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" @@ -9711,7 +9817,7 @@ }, "project": { "type": "string", - "description": "Name of the project scoping this request.", + "description": "Project ID for this request.", "required": true, "pattern": "(?:(?:[-a-z0-9]{1,63}\\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?))", "location": "path" diff --git a/etc/api/container/v1beta1/container-api.json b/etc/api/container/v1beta1/container-api.json index 0c30d9b6bd..3177de84a9 100644 --- a/etc/api/container/v1beta1/container-api.json +++ b/etc/api/container/v1beta1/container-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/AlGO7dz3sDTBKgLgnWPYGlYVP9g\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/wCeuMXXipTCS576X35guh0r20IE\"", "discoveryVersion": "v1", "id": "container:v1beta1", "name": "container", "version": "v1beta1", - "revision": "20150113", + "revision": "20150223", "title": "Google Container Engine API", "description": "The Google Container Engine API is used for building and managing container based applications, powered by the open source Kubernetes technology.", "ownerDomain": "google.com", diff --git a/etc/api/content/v2/content-api.json b/etc/api/content/v2/content-api.json index 73226df6c2..fa7f68210e 100644 --- a/etc/api/content/v2/content-api.json +++ b/etc/api/content/v2/content-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/C8XXsPv6OQ96WhF0iGLVjduwCpc\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/zR3ABmOvk7fZqleULAj42NskVkA\"", "discoveryVersion": "v1", "id": "content:v2", "name": "content", "canonicalName": "Shopping Content", "version": "v2", - "revision": "20150218", + "revision": "20150311", "title": "Content API for Shopping", "description": "Manage product items, inventory, and Merchant Center accounts for Google Shopping.", "ownerDomain": "google.com", @@ -154,6 +154,23 @@ } } }, + "AccountIdentifier": { + "id": "AccountIdentifier", + "type": "object", + "description": "Account identifier corresponding to the authenticated user. \n- For an individual account: only the merchant ID is defined\n- For an aggregator: only the aggregator ID is defined\n- For a subaccount of an MCA: both the merchant ID and the aggregator ID are defined.", + "properties": { + "aggregatorId": { + "type": "string", + "description": "The aggregator ID, set for aggregators and subaccounts (in that case, it represents the aggregator of the subaccount).", + "format": "uint64" + }, + "merchantId": { + "type": "string", + "description": "The merchant account ID, set for individual accounts and subaccounts.", + "format": "uint64" + } + } + }, "AccountShipping": { "id": "AccountShipping", "type": "object", @@ -676,6 +693,24 @@ } } }, + "AccountsAuthInfoResponse": { + "id": "AccountsAuthInfoResponse", + "type": "object", + "properties": { + "accountIdentifiers": { + "type": "array", + "description": "The account identifiers corresponding to the authenticated user.", + "items": { + "$ref": "AccountIdentifier" + } + }, + "kind": { + "type": "string", + "description": "Identifies what kind of resource this is. Value: the fixed string \"content#accountsAuthInfoResponse\".", + "default": "content#accountsAuthInfoResponse" + } + } + }, "AccountsCustomBatchRequest": { "id": "AccountsCustomBatchRequest", "type": "object", @@ -2623,6 +2658,18 @@ "resources": { "accounts": { "methods": { + "authinfo": { + "id": "content.accounts.authinfo", + "path": "accounts/authinfo", + "httpMethod": "GET", + "description": "Returns information about the authenticated user.", + "response": { + "$ref": "AccountsAuthInfoResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/content" + ] + }, "custombatch": { "id": "content.accounts.custombatch", "path": "accounts/batch", diff --git a/etc/api/customsearch/v1/customsearch-api.json b/etc/api/customsearch/v1/customsearch-api.json index ce5e279ce4..f9547728c5 100644 --- a/etc/api/customsearch/v1/customsearch-api.json +++ b/etc/api/customsearch/v1/customsearch-api.json @@ -1,6 +1,6 @@ { "kind": "discovery#restDescription", - "etag": "\"FrPV2U6xXFUq8eRv_PO3IoAURkc/KsgpNVP8dzFmgPzAjDdH7uBJP_M\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/KsgpNVP8dzFmgPzAjDdH7uBJP_M\"", "discoveryVersion": "v1", "id": "customsearch:v1", "name": "customsearch", diff --git a/etc/api/dataflow/v1b4/dataflow-api.json b/etc/api/dataflow/v1b4/dataflow-api.json index 12c52026bb..5b49422ae9 100644 --- a/etc/api/dataflow/v1b4/dataflow-api.json +++ b/etc/api/dataflow/v1b4/dataflow-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/dTcq0rCwnZSU5y5C-0jgoQiaKQA\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/lhQSJsYq1ZwPMYE4vAqCyW2R5E0\"", "discoveryVersion": "v1", "id": "dataflow:v1b4", "name": "dataflow", "version": "v1b4", - "revision": "20141207", + "revision": "20150130", "title": "Google Dataflow API", "description": "Google Dataflow API.", "ownerDomain": "google.com", diff --git a/etc/api/deploymentmanager/v2beta1/deploymentmanager-api.json b/etc/api/deploymentmanager/v2beta1/deploymentmanager-api.json index 558baa674a..866b5568cb 100644 --- a/etc/api/deploymentmanager/v2beta1/deploymentmanager-api.json +++ b/etc/api/deploymentmanager/v2beta1/deploymentmanager-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/uG7F4p-Yx8ObH2FX1BUUb9Dm9wQ\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/ruh8vDKnI53dg6K4wnCZiPZpScI\"", "discoveryVersion": "v1", "id": "deploymentmanager:v2beta1", "name": "deploymentmanager", "version": "v2beta1", - "revision": "20141112", + "revision": "20150210", "title": "Google Cloud Deployment Manager API V2", "description": "The Deployment Manager API allows users to declaratively configure, deploy and run complex solutions on the Google Cloud Platform.", "ownerDomain": "google.com", diff --git a/etc/api/dfareporting/v1.1/dfareporting-api.json b/etc/api/dfareporting/v1.1/dfareporting-api.json index aef7061d36..d66296fba0 100644 --- a/etc/api/dfareporting/v1.1/dfareporting-api.json +++ b/etc/api/dfareporting/v1.1/dfareporting-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/iNITuzieMjdA01fjEwPpxFw5muo\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/BvGb2D2qqpEtzoPhBA2vxjXsV8M\"", "discoveryVersion": "v1", "id": "dfareporting:v1.1", "name": "dfareporting", "version": "v1.1", - "revision": "20141112", + "revision": "20150223", "title": "DFA Reporting API", "description": "Lets you create, run and download reports.", "ownerDomain": "google.com", diff --git a/etc/api/dfareporting/v1.2/dfareporting-api.json b/etc/api/dfareporting/v1.2/dfareporting-api.json index f1e7eec484..8e7bc695b3 100644 --- a/etc/api/dfareporting/v1.2/dfareporting-api.json +++ b/etc/api/dfareporting/v1.2/dfareporting-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/rEBgz8kDYnXeo29fy2HTElYO_nc\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/8dxjsMzSQkueP63TNIPCY3A3t5w\"", "discoveryVersion": "v1", "id": "dfareporting:v1.2", "name": "dfareporting", "version": "v1.2", - "revision": "20141112", + "revision": "20150223", "title": "DFA Reporting API", "description": "Lets you create, run and download reports.", "ownerDomain": "google.com", diff --git a/etc/api/dfareporting/v1.3/dfareporting-api.json b/etc/api/dfareporting/v1.3/dfareporting-api.json index f155481de5..f0e3e1019c 100644 --- a/etc/api/dfareporting/v1.3/dfareporting-api.json +++ b/etc/api/dfareporting/v1.3/dfareporting-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/_NHVgXxsnh4iZLUQivabzFT84as\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/o7KIRldVpR59ZEh_gf-_bhBQD6o\"", "discoveryVersion": "v1", "id": "dfareporting:v1.3", "name": "dfareporting", "version": "v1.3", - "revision": "20141112", + "revision": "20150223", "title": "DFA Reporting API", "description": "Lets you create, run and download reports.", "ownerDomain": "google.com", diff --git a/etc/api/dfareporting/v1/dfareporting-api.json b/etc/api/dfareporting/v1/dfareporting-api.json index 1956f0e955..4dd9e64f83 100644 --- a/etc/api/dfareporting/v1/dfareporting-api.json +++ b/etc/api/dfareporting/v1/dfareporting-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/MbpeaEJOniwFpvXZcTkgWQ9h6fo\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/lM-6UAGDfmguChqzimQKTeVCmkg\"", "discoveryVersion": "v1", "id": "dfareporting:v1", "name": "dfareporting", "version": "v1", - "revision": "20141112", + "revision": "20150223", "title": "DFA Reporting API", "description": "Lets you create, run and download reports.", "ownerDomain": "google.com", diff --git a/etc/api/dfareporting/v2.0/dfareporting-api.json b/etc/api/dfareporting/v2.0/dfareporting-api.json index 54d4c62dae..aafcd01330 100644 --- a/etc/api/dfareporting/v2.0/dfareporting-api.json +++ b/etc/api/dfareporting/v2.0/dfareporting-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/18wO3vJeoOcaxNlyUy0n8CNe-Lk\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/-Wf_jNw3Fg6ZZI2nhs026L5nO_I\"", "discoveryVersion": "v1", "id": "dfareporting:v2.0", "name": "dfareporting", "version": "v2.0", - "revision": "20150108", + "revision": "20150223", "title": "DCM/DFA Reporting And Trafficking API", "description": "Manage your DoubleClick Campaign Manager ad campaigns and reports.", "ownerDomain": "google.com", @@ -1528,7 +1528,7 @@ "properties": { "accountId": { "type": "string", - "description": "Account ID of this content category.This is a read-only field that can be left blank.", + "description": "Account ID of this content category. This is a read-only field that can be left blank.", "format": "int64" }, "description": { @@ -1911,7 +1911,7 @@ }, "htmlCodeLocked": { "type": "boolean", - "description": "Whether HTML code is DCM generated or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER." + "description": "Whether HTML code is DCM-generated or manually entered. Set to true to ignore changes to htmlCode. Applicable to the following creative types: FLASH_INPAGE and HTML5_BANNER." }, "id": { "type": "string", @@ -2388,7 +2388,7 @@ }, "horizontallyLocked": { "type": "boolean", - "description": "Wheter the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA." + "description": "Whether the asset is horizontally locked. This is a read-only field. Applicable to the following creative types: all RICH_MEDIA." }, "id": { "type": "string", @@ -2919,7 +2919,7 @@ }, "popupWindowProperties": { "$ref": "PopupWindowProperties", - "description": "Properties for rich media pop-up windows. This field is used only for exit events." + "description": "Properties for rich media popup windows. This field is used only for exit events." }, "targetType": { "type": "string", @@ -4270,7 +4270,7 @@ "properties": { "accountId": { "type": "string", - "description": "Account ID of this floodlight activity.This is a read-only field that can be left blank.", + "description": "Account ID of this floodlight activity. This is a read-only field that can be left blank.", "format": "int64" }, "advertiserId": { @@ -4374,7 +4374,7 @@ }, "idDimensionValue": { "$ref": "DimensionValue", - "description": "Dimension value for the ID of this floodlight activity.This is a read-only, auto-generated field." + "description": "Dimension value for the ID of this floodlight activity. This is a read-only, auto-generated field." }, "imageTagEnabled": { "type": "boolean", @@ -4414,7 +4414,7 @@ }, "subaccountId": { "type": "string", - "description": "Subaccount ID of this floodlight activity.This is a read-only field that can be left blank.", + "description": "Subaccount ID of this floodlight activity. This is a read-only field that can be left blank.", "format": "int64" }, "tagFormat": { @@ -4513,7 +4513,7 @@ "properties": { "accountId": { "type": "string", - "description": "Account ID of this floodlight activity group.This is a read-only field that can be left blank.", + "description": "Account ID of this floodlight activity group. This is a read-only field that can be left blank.", "format": "int64" }, "advertiserId": { @@ -4563,7 +4563,7 @@ }, "type": { "type": "string", - "description": "The type of floodlight activity group. This is a required field that is read-only after insertion.", + "description": "Type of the floodlight activity group. This is a required field that is read-only after insertion.", "enum": [ "COUNTER", "SALE" @@ -4656,7 +4656,7 @@ }, "exposureToConversionEnabled": { "type": "boolean", - "description": "Whether the exposure to conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting." + "description": "Whether the exposure-to-conversion report is enabled. This report shows detailed pathway information on up to 10 of the most recent ad exposures seen by a user before converting." }, "firstDayOfWeek": { "type": "string", @@ -7489,7 +7489,7 @@ }, "reportName": { "type": "string", - "description": "User-friendly name for the variable which will appear in reports. This is a required field, must be less than 65 characters long, and cannot contain the following characters: \"\"\"." + "description": "User-friendly name for the variable which will appear in reports. This is a required field, must be less than 64 characters long, and cannot contain the following characters: \"\"\u003c\u003e\"." }, "variableType": { "type": "string", diff --git a/etc/api/discovery/v1/discovery-api.json b/etc/api/discovery/v1/discovery-api.json index 200602e90b..5dd2010d34 100644 --- a/etc/api/discovery/v1/discovery-api.json +++ b/etc/api/discovery/v1/discovery-api.json @@ -1,6 +1,6 @@ { "kind": "discovery#restDescription", - "etag": "\"kEk3sFj6Ef5_yR1-H3bAO6qw9mI/UNFMI_ENJ3hAFRWSi4GLSerTeFg\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/UNFMI_ENJ3hAFRWSi4GLSerTeFg\"", "discoveryVersion": "v1", "id": "discovery:v1", "name": "discovery", diff --git a/etc/api/dns/v1beta1/dns-api.json b/etc/api/dns/v1beta1/dns-api.json index d52e163c7f..55b7785382 100644 --- a/etc/api/dns/v1beta1/dns-api.json +++ b/etc/api/dns/v1beta1/dns-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/_vgNPwHi8lDV9NY2AVX5qWWTYFo\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/wU8NjG2rANeT6LROBN3mCaSHZ_8\"", "discoveryVersion": "v1", "id": "dns:v1beta1", "name": "dns", "version": "v1beta1", - "revision": "20141121", + "revision": "20150114", "title": "Google Cloud DNS API", "description": "The Google Cloud DNS API provides services for configuring and serving authoritative DNS records.", "ownerDomain": "google.com", @@ -154,7 +154,7 @@ }, "description": { "type": "string", - "description": "A string to associate with this resource for the user's convenience. Has no effect on the managed zone's function." + "description": "A mutable string of at most 1024 characters associated with this resource for the user's convenience. Has no effect on the managed zone's function." }, "dnsName": { "type": "string", diff --git a/etc/api/doubleclicksearch/v2/doubleclicksearch-api.json b/etc/api/doubleclicksearch/v2/doubleclicksearch-api.json index 9b69515cd5..e4e324ea96 100644 --- a/etc/api/doubleclicksearch/v2/doubleclicksearch-api.json +++ b/etc/api/doubleclicksearch/v2/doubleclicksearch-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/cxvPCR_xcZiPo49FRoYXODxx8IM\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/4byTRt7bm9ElzA-dmbReLVvLUxE\"", "discoveryVersion": "v1", "id": "doubleclicksearch:v2", "name": "doubleclicksearch", "version": "v2", - "revision": "20141222", + "revision": "20150224", "title": "DoubleClick Search API", "description": "Report and modify your advertising data in DoubleClick Search (for example, campaigns, ad groups, keywords, and conversions).", "ownerDomain": "google.com", diff --git a/etc/api/drive/v1/drive-api.json b/etc/api/drive/v1/drive-api.json index 95436ffca5..4c8a33ae6c 100644 --- a/etc/api/drive/v1/drive-api.json +++ b/etc/api/drive/v1/drive-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/L-3fUMUnxAbeUiUzcuNcz8B5ukA\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/8RJIB3OJzvhtr69lawXE8CcqDf4\"", "discoveryVersion": "v1", "id": "drive:v1", "name": "drive", "version": "v1", - "revision": "20141212", + "revision": "20150108", "title": "Drive API", "description": "The API to interact with Drive.", "ownerDomain": "google.com", diff --git a/etc/api/drive/v2/drive-api.json b/etc/api/drive/v2/drive-api.json index 55f9759847..9462253dac 100644 --- a/etc/api/drive/v2/drive-api.json +++ b/etc/api/drive/v2/drive-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/r3JYC00RrAy0V0PUgOxY3WtVFg8\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/ZgMjHnirW9jShGfpZfEVuQkjf2Y\"", "discoveryVersion": "v1", "id": "drive:v2", "name": "drive", "version": "v2", - "revision": "20141112", + "revision": "20150108", "title": "Drive API", "description": "The API to interact with Drive.", "ownerDomain": "google.com", @@ -1108,7 +1108,7 @@ }, "trashed": { "type": "boolean", - "description": "Whether this file has been trashed." + "description": "Whether this file has been trashed. This label applies to all users accessing the file; however, only owners are allowed to see and untrash files." }, "viewed": { "type": "boolean", @@ -1226,7 +1226,7 @@ "properties": { "image": { "type": "string", - "description": "The URL-safe Base64 encoded bytes of the thumbnail image.", + "description": "The URL-safe Base64 encoded bytes of the thumbnail image. It should conform to RFC 4648 section 5.", "format": "byte" }, "mimeType": { @@ -1237,7 +1237,7 @@ }, "thumbnailLink": { "type": "string", - "description": "A link to the file's thumbnail." + "description": "A short-lived link to the file's thumbnail. Typically lasts on the order of hours." }, "title": { "type": "string", @@ -2415,7 +2415,7 @@ "id": "drive.files.delete", "path": "files/{fileId}", "httpMethod": "DELETE", - "description": "Permanently deletes a file by ID. Skips the trash.", + "description": "Permanently deletes a file by ID. Skips the trash. The currently authenticated user must own the file.", "parameters": { "fileId": { "type": "string", @@ -3297,7 +3297,7 @@ }, "transferOwnership": { "type": "boolean", - "description": "Whether changing a role to 'owner' should also downgrade the current owners to writers.", + "description": "Whether changing a role to 'owner' downgrades the current owners to writers. Does nothing if the specified role is not 'owner'.", "default": "false", "location": "query" } @@ -3337,7 +3337,7 @@ }, "transferOwnership": { "type": "boolean", - "description": "Whether changing a role to 'owner' should also downgrade the current owners to writers.", + "description": "Whether changing a role to 'owner' downgrades the current owners to writers. Does nothing if the specified role is not 'owner'.", "default": "false", "location": "query" } diff --git a/etc/api/fusiontables/v1/fusiontables-api.json b/etc/api/fusiontables/v1/fusiontables-api.json new file mode 100644 index 0000000000..6aaba369f6 --- /dev/null +++ b/etc/api/fusiontables/v1/fusiontables-api.json @@ -0,0 +1,1823 @@ +{ + "kind": "discovery#restDescription", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/SYuz2YU3ZsxTEiZdfXCeGmNn9r0\"", + "discoveryVersion": "v1", + "id": "fusiontables:v1", + "name": "fusiontables", + "version": "v1", + "revision": "20141113", + "title": "Fusion Tables API", + "description": "API for working with Fusion Tables data.", + "ownerDomain": "google.com", + "ownerName": "Google", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "documentationLink": "https://developers.google.com/fusiontables", + "protocol": "rest", + "baseUrl": "https://www.googleapis.com/fusiontables/v1/", + "basePath": "/fusiontables/v1/", + "rootUrl": "https://www.googleapis.com/", + "servicePath": "fusiontables/v1/", + "batchPath": "batch", + "parameters": { + "alt": { + "type": "string", + "description": "Data format for the response.", + "default": "json", + "enum": [ + "csv", + "json" + ], + "enumDescriptions": [ + "Responses with Content-Type of text/csv", + "Responses with Content-Type of application/json" + ], + "location": "query" + }, + "fields": { + "type": "string", + "description": "Selector specifying which fields to include in a partial response.", + "location": "query" + }, + "key": { + "type": "string", + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query" + }, + "oauth_token": { + "type": "string", + "description": "OAuth 2.0 token for the current user.", + "location": "query" + }, + "prettyPrint": { + "type": "boolean", + "description": "Returns response with indentations and line breaks.", + "default": "true", + "location": "query" + }, + "quotaUser": { + "type": "string", + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.", + "location": "query" + }, + "userIp": { + "type": "string", + "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.", + "location": "query" + } + }, + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/fusiontables": { + "description": "Manage your Fusion Tables" + }, + "https://www.googleapis.com/auth/fusiontables.readonly": { + "description": "View your Fusion Tables" + } + } + } + }, + "schemas": { + "Bucket": { + "id": "Bucket", + "type": "object", + "description": "Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting.", + "properties": { + "color": { + "type": "string", + "description": "Color of line or the interior of a polygon in #RRGGBB format." + }, + "icon": { + "type": "string", + "description": "Icon name used for a point." + }, + "max": { + "type": "number", + "description": "Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight.", + "format": "double" + }, + "min": { + "type": "number", + "description": "Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight.", + "format": "double" + }, + "opacity": { + "type": "number", + "description": "Opacity of the color: 0.0 (transparent) to 1.0 (opaque).", + "format": "double" + }, + "weight": { + "type": "integer", + "description": "Width of a line (in pixels).", + "format": "int32" + } + } + }, + "Column": { + "id": "Column", + "type": "object", + "description": "Specifies the id, name and type of a column in a table.", + "properties": { + "baseColumn": { + "type": "object", + "description": "Optional identifier of the base column. If present, this column is derived from the specified base column.", + "properties": { + "columnId": { + "type": "integer", + "description": "The id of the column in the base table from which this column is derived.", + "format": "int32" + }, + "tableIndex": { + "type": "integer", + "description": "Offset to the entry in the list of base tables in the table definition.", + "format": "int32" + } + } + }, + "columnId": { + "type": "integer", + "description": "Identifier for the column.", + "format": "int32" + }, + "description": { + "type": "string", + "description": "Optional column description." + }, + "graph_predicate": { + "type": "string", + "description": "Optional column predicate. Used to map table to graph data model (subject,predicate,object) See http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#data-model" + }, + "kind": { + "type": "string", + "description": "Type name: a template for an individual column.", + "default": "fusiontables#column" + }, + "name": { + "type": "string", + "description": "Required name of the column.", + "annotations": { + "required": [ + "fusiontables.column.insert" + ] + } + }, + "type": { + "type": "string", + "description": "Required type of the column.", + "annotations": { + "required": [ + "fusiontables.column.insert" + ] + } + } + } + }, + "ColumnList": { + "id": "ColumnList", + "type": "object", + "description": "Represents a list of columns in a table.", + "properties": { + "items": { + "type": "array", + "description": "List of all requested columns.", + "items": { + "$ref": "Column" + } + }, + "kind": { + "type": "string", + "description": "Type name: a list of all columns.", + "default": "fusiontables#columnList" + }, + "nextPageToken": { + "type": "string", + "description": "Token used to access the next page of this result. No token is displayed if there are no more tokens left." + }, + "totalItems": { + "type": "integer", + "description": "Total number of columns for the table.", + "format": "int32" + } + } + }, + "Geometry": { + "id": "Geometry", + "type": "object", + "description": "Represents a Geometry object.", + "properties": { + "geometries": { + "type": "array", + "description": "The list of geometries in this geometry collection.", + "items": { + "type": "any" + } + }, + "geometry": { + "type": "any" + }, + "type": { + "type": "string", + "description": "Type: A collection of geometries.", + "default": "GeometryCollection" + } + } + }, + "Import": { + "id": "Import", + "type": "object", + "description": "Represents an import request.", + "properties": { + "kind": { + "type": "string", + "description": "Type name: a template for an import request.", + "default": "fusiontables#import" + }, + "numRowsReceived": { + "type": "string", + "description": "The number of rows received from the import request.", + "format": "int64" + } + } + }, + "Line": { + "id": "Line", + "type": "object", + "description": "Represents a line geometry.", + "properties": { + "coordinates": { + "type": "array", + "description": "The coordinates that define the line.", + "items": { + "type": "array", + "items": { + "type": "number", + "format": "double" + } + } + }, + "type": { + "type": "string", + "description": "Type: A line geometry.", + "default": "LineString" + } + } + }, + "LineStyle": { + "id": "LineStyle", + "type": "object", + "description": "Represents a LineStyle within a StyleSetting", + "properties": { + "strokeColor": { + "type": "string", + "description": "Color of the line in #RRGGBB format." + }, + "strokeColorStyler": { + "$ref": "StyleFunction", + "description": "Column-value, gradient or buckets styler that is used to determine the line color and opacity." + }, + "strokeOpacity": { + "type": "number", + "description": "Opacity of the line : 0.0 (transparent) to 1.0 (opaque).", + "format": "double" + }, + "strokeWeight": { + "type": "integer", + "description": "Width of the line in pixels.", + "format": "int32" + }, + "strokeWeightStyler": { + "$ref": "StyleFunction", + "description": "Column-value or bucket styler that is used to determine the width of the line." + } + } + }, + "Point": { + "id": "Point", + "type": "object", + "description": "Represents a point object.", + "properties": { + "coordinates": { + "type": "array", + "description": "The coordinates that define the point.", + "items": { + "type": "number", + "format": "double" + } + }, + "type": { + "type": "string", + "description": "Point: A point geometry.", + "default": "Point" + } + } + }, + "PointStyle": { + "id": "PointStyle", + "type": "object", + "description": "Represents a PointStyle within a StyleSetting", + "properties": { + "iconName": { + "type": "string", + "description": "Name of the icon. Use values defined in http://www.google.com/fusiontables/DataSource?dsrcid=308519" + }, + "iconStyler": { + "$ref": "StyleFunction", + "description": "Column or a bucket value from which the icon name is to be determined." + } + } + }, + "Polygon": { + "id": "Polygon", + "type": "object", + "description": "Represents a polygon object.", + "properties": { + "coordinates": { + "type": "array", + "description": "The coordinates that define the polygon.", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number", + "format": "double" + } + } + } + }, + "type": { + "type": "string", + "description": "Type: A polygon geometry.", + "default": "Polygon" + } + } + }, + "PolygonStyle": { + "id": "PolygonStyle", + "type": "object", + "description": "Represents a PolygonStyle within a StyleSetting", + "properties": { + "fillColor": { + "type": "string", + "description": "Color of the interior of the polygon in #RRGGBB format." + }, + "fillColorStyler": { + "$ref": "StyleFunction", + "description": "Column-value, gradient, or bucket styler that is used to determine the interior color and opacity of the polygon." + }, + "fillOpacity": { + "type": "number", + "description": "Opacity of the interior of the polygon: 0.0 (transparent) to 1.0 (opaque).", + "format": "double" + }, + "strokeColor": { + "type": "string", + "description": "Color of the polygon border in #RRGGBB format." + }, + "strokeColorStyler": { + "$ref": "StyleFunction", + "description": "Column-value, gradient or buckets styler that is used to determine the border color and opacity." + }, + "strokeOpacity": { + "type": "number", + "description": "Opacity of the polygon border: 0.0 (transparent) to 1.0 (opaque).", + "format": "double" + }, + "strokeWeight": { + "type": "integer", + "description": "Width of the polyon border in pixels.", + "format": "int32" + }, + "strokeWeightStyler": { + "$ref": "StyleFunction", + "description": "Column-value or bucket styler that is used to determine the width of the polygon border." + } + } + }, + "Sqlresponse": { + "id": "Sqlresponse", + "type": "object", + "description": "Represents a response to an sql statement.", + "properties": { + "columns": { + "type": "array", + "description": "Columns in the table.", + "items": { + "type": "string" + } + }, + "kind": { + "type": "string", + "description": "Type name: a template for an individual table.", + "default": "fusiontables#sqlresponse" + }, + "rows": { + "type": "array", + "description": "The rows in the table. For each cell we print out whatever cell value (e.g., numeric, string) exists. Thus it is important that each cell contains only one value.", + "items": { + "type": "array", + "items": { + "type": "any" + } + } + } + } + }, + "StyleFunction": { + "id": "StyleFunction", + "type": "object", + "description": "Represents a StyleFunction within a StyleSetting", + "properties": { + "buckets": { + "type": "array", + "description": "Bucket function that assigns a style based on the range a column value falls into.", + "items": { + "$ref": "Bucket" + } + }, + "columnName": { + "type": "string", + "description": "Name of the column whose value is used in the style.", + "annotations": { + "required": [ + "fusiontables.style.insert" + ] + } + }, + "gradient": { + "type": "object", + "description": "Gradient function that interpolates a range of colors based on column value.", + "properties": { + "colors": { + "type": "array", + "description": "Array with two or more colors.", + "items": { + "type": "object", + "properties": { + "color": { + "type": "string", + "description": "Color in #RRGGBB format." + }, + "opacity": { + "type": "number", + "description": "Opacity of the color: 0.0 (transparent) to 1.0 (opaque).", + "format": "double" + } + } + } + }, + "max": { + "type": "number", + "description": "Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1].", + "format": "double" + }, + "min": { + "type": "number", + "description": "Lower-end of the interpolation range: rows with this value will be assigned to colors[0].", + "format": "double" + } + } + }, + "kind": { + "type": "string", + "description": "Stylers can be one of three kinds: \"fusiontables#fromColumn\" if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; \"fusiontables#gradient\" if the styling of the row is to be based on applying the gradient function on the column value; or \"fusiontables#buckets\" if the styling is to based on the bucket into which the the column value falls." + } + } + }, + "StyleSetting": { + "id": "StyleSetting", + "type": "object", + "description": "Represents a complete StyleSettings object. The primary key is a combination of the tableId and a styleId.", + "properties": { + "kind": { + "type": "string", + "description": "Type name: an individual style setting. A StyleSetting contains the style defintions for points, lines, and polygons in a table. Since a table can have any one or all of them, a style definition can have point, line and polygon style definitions.", + "default": "fusiontables#styleSetting" + }, + "markerOptions": { + "$ref": "PointStyle", + "description": "Style definition for points in the table." + }, + "name": { + "type": "string", + "description": "Optional name for the style setting." + }, + "polygonOptions": { + "$ref": "PolygonStyle", + "description": "Style definition for polygons in the table." + }, + "polylineOptions": { + "$ref": "LineStyle", + "description": "Style definition for lines in the table." + }, + "styleId": { + "type": "integer", + "description": "Identifier for the style setting (unique only within tables).", + "format": "int32" + }, + "tableId": { + "type": "string", + "description": "Identifier for the table." + } + } + }, + "StyleSettingList": { + "id": "StyleSettingList", + "type": "object", + "description": "Represents a list of styles for a given table.", + "properties": { + "items": { + "type": "array", + "description": "All requested style settings.", + "items": { + "$ref": "StyleSetting" + } + }, + "kind": { + "type": "string", + "description": "Type name: in this case, a list of style settings.", + "default": "fusiontables#styleSettingList" + }, + "nextPageToken": { + "type": "string", + "description": "Token used to access the next page of this result. No token is displayed if there are no more styles left." + }, + "totalItems": { + "type": "integer", + "description": "Total number of styles for the table.", + "format": "int32" + } + } + }, + "Table": { + "id": "Table", + "type": "object", + "description": "Represents a table. Specifies the name, whether it is exportable, description, attribution, and attribution link.", + "properties": { + "attribution": { + "type": "string", + "description": "Optional attribution assigned to the table." + }, + "attributionLink": { + "type": "string", + "description": "Optional link for attribution." + }, + "baseTableIds": { + "type": "array", + "description": "Optional base table identifier if this table is a view or merged table.", + "items": { + "type": "string" + } + }, + "columns": { + "type": "array", + "description": "Columns in the table.", + "items": { + "$ref": "Column" + }, + "annotations": { + "required": [ + "fusiontables.table.insert", + "fusiontables.table.update" + ] + } + }, + "description": { + "type": "string", + "description": "Optional description assigned to the table." + }, + "isExportable": { + "type": "boolean", + "description": "Variable for whether table is exportable.", + "annotations": { + "required": [ + "fusiontables.table.insert", + "fusiontables.table.update" + ] + } + }, + "kind": { + "type": "string", + "description": "Type name: a template for an individual table.", + "default": "fusiontables#table" + }, + "name": { + "type": "string", + "description": "Name assigned to a table.", + "annotations": { + "required": [ + "fusiontables.table.insert", + "fusiontables.table.update" + ] + } + }, + "sql": { + "type": "string", + "description": "Optional sql that encodes the table definition for derived tables." + }, + "tableId": { + "type": "string", + "description": "Encrypted unique alphanumeric identifier for the table." + } + } + }, + "TableList": { + "id": "TableList", + "type": "object", + "description": "Represents a list of tables.", + "properties": { + "items": { + "type": "array", + "description": "List of all requested tables.", + "items": { + "$ref": "Table" + } + }, + "kind": { + "type": "string", + "description": "Type name: a list of all tables.", + "default": "fusiontables#tableList" + }, + "nextPageToken": { + "type": "string", + "description": "Token used to access the next page of this result. No token is displayed if there are no more tokens left." + } + } + }, + "Task": { + "id": "Task", + "type": "object", + "description": "Specifies the id, name and type of a task in a table.", + "properties": { + "kind": { + "type": "string", + "description": "Type name: a template for an individual task.", + "default": "fusiontables#task" + }, + "progress": { + "type": "string", + "description": "An indication of task progress." + }, + "started": { + "type": "boolean", + "description": "False while the table is busy with some other task." + }, + "taskId": { + "type": "string", + "description": "Identifier for the task.", + "format": "int64" + }, + "type": { + "type": "string" + } + } + }, + "TaskList": { + "id": "TaskList", + "type": "object", + "description": "Represents a list of tasks in a table.", + "properties": { + "items": { + "type": "array", + "description": "List of all requested tasks.", + "items": { + "$ref": "Task" + } + }, + "kind": { + "type": "string", + "description": "Type name: a list of all tasks.", + "default": "fusiontables#taskList" + }, + "nextPageToken": { + "type": "string", + "description": "Token used to access the next page of this result. No token is displayed if there are no more tokens left." + }, + "totalItems": { + "type": "integer", + "description": "Total number of tasks for the table.", + "format": "int32" + } + } + }, + "Template": { + "id": "Template", + "type": "object", + "description": "Represents the contents of InfoWindow templates.", + "properties": { + "automaticColumnNames": { + "type": "array", + "description": "List of columns from which the template is to be automatically constructed. Only one of body or automaticColumns can be specified.", + "items": { + "type": "string" + } + }, + "body": { + "type": "string", + "description": "Body of the template. It contains HTML with {column_name} to insert values from a particular column. The body is sanitized to remove certain tags, e.g., script. Only one of body or automaticColumns can be specified." + }, + "kind": { + "type": "string", + "description": "Type name: a template for the info window contents. The template can either include an HTML body or a list of columns from which the template is computed automatically.", + "default": "fusiontables#template" + }, + "name": { + "type": "string", + "description": "Optional name assigned to a template." + }, + "tableId": { + "type": "string", + "description": "Identifier for the table for which the template is defined." + }, + "templateId": { + "type": "integer", + "description": "Identifier for the template, unique within the context of a particular table.", + "format": "int32" + } + } + }, + "TemplateList": { + "id": "TemplateList", + "type": "object", + "description": "Represents a list of templates for a given table.", + "properties": { + "items": { + "type": "array", + "description": "List of all requested templates.", + "items": { + "$ref": "Template" + } + }, + "kind": { + "type": "string", + "description": "Type name: a list of all templates.", + "default": "fusiontables#templateList" + }, + "nextPageToken": { + "type": "string", + "description": "Token used to access the next page of this result. No token is displayed if there are no more tokens left." + }, + "totalItems": { + "type": "integer", + "description": "Total number of templates for the table.", + "format": "int32" + } + } + } + }, + "resources": { + "column": { + "methods": { + "delete": { + "id": "fusiontables.column.delete", + "path": "tables/{tableId}/columns/{columnId}", + "httpMethod": "DELETE", + "description": "Deletes the column.", + "parameters": { + "columnId": { + "type": "string", + "description": "Name or identifier for the column being deleted.", + "required": true, + "location": "path" + }, + "tableId": { + "type": "string", + "description": "Table from which the column is being deleted.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "columnId" + ], + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "get": { + "id": "fusiontables.column.get", + "path": "tables/{tableId}/columns/{columnId}", + "httpMethod": "GET", + "description": "Retrieves a specific column by its id.", + "parameters": { + "columnId": { + "type": "string", + "description": "Name or identifier for the column that is being requested.", + "required": true, + "location": "path" + }, + "tableId": { + "type": "string", + "description": "Table to which the column belongs.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "columnId" + ], + "response": { + "$ref": "Column" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + }, + "insert": { + "id": "fusiontables.column.insert", + "path": "tables/{tableId}/columns", + "httpMethod": "POST", + "description": "Adds a new column to the table.", + "parameters": { + "tableId": { + "type": "string", + "description": "Table for which a new column is being added.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "request": { + "$ref": "Column" + }, + "response": { + "$ref": "Column" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "list": { + "id": "fusiontables.column.list", + "path": "tables/{tableId}/columns", + "httpMethod": "GET", + "description": "Retrieves a list of columns.", + "parameters": { + "maxResults": { + "type": "integer", + "description": "Maximum number of columns to return. Optional. Default is 5.", + "format": "uint32", + "minimum": "0", + "location": "query" + }, + "pageToken": { + "type": "string", + "description": "Continuation token specifying which result page to return. Optional.", + "location": "query" + }, + "tableId": { + "type": "string", + "description": "Table whose columns are being listed.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "response": { + "$ref": "ColumnList" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + }, + "patch": { + "id": "fusiontables.column.patch", + "path": "tables/{tableId}/columns/{columnId}", + "httpMethod": "PATCH", + "description": "Updates the name or type of an existing column. This method supports patch semantics.", + "parameters": { + "columnId": { + "type": "string", + "description": "Name or identifier for the column that is being updated.", + "required": true, + "location": "path" + }, + "tableId": { + "type": "string", + "description": "Table for which the column is being updated.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "columnId" + ], + "request": { + "$ref": "Column" + }, + "response": { + "$ref": "Column" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "update": { + "id": "fusiontables.column.update", + "path": "tables/{tableId}/columns/{columnId}", + "httpMethod": "PUT", + "description": "Updates the name or type of an existing column.", + "parameters": { + "columnId": { + "type": "string", + "description": "Name or identifier for the column that is being updated.", + "required": true, + "location": "path" + }, + "tableId": { + "type": "string", + "description": "Table for which the column is being updated.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "columnId" + ], + "request": { + "$ref": "Column" + }, + "response": { + "$ref": "Column" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + } + } + }, + "query": { + "methods": { + "sql": { + "id": "fusiontables.query.sql", + "path": "query", + "httpMethod": "POST", + "description": "Executes an SQL SELECT/INSERT/UPDATE/DELETE/SHOW/DESCRIBE/CREATE statement.", + "parameters": { + "hdrs": { + "type": "boolean", + "description": "Should column names be included (in the first row)?. Default is true.", + "location": "query" + }, + "sql": { + "type": "string", + "description": "An SQL SELECT/SHOW/DESCRIBE/INSERT/UPDATE/DELETE/CREATE statement.", + "required": true, + "location": "query" + }, + "typed": { + "type": "boolean", + "description": "Should typed values be returned in the (JSON) response -- numbers for numeric values and parsed geometries for KML values? Default is true.", + "location": "query" + } + }, + "parameterOrder": [ + "sql" + ], + "response": { + "$ref": "Sqlresponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ], + "supportsMediaDownload": true + }, + "sqlGet": { + "id": "fusiontables.query.sqlGet", + "path": "query", + "httpMethod": "GET", + "description": "Executes an SQL SELECT/SHOW/DESCRIBE statement.", + "parameters": { + "hdrs": { + "type": "boolean", + "description": "Should column names be included (in the first row)?. Default is true.", + "location": "query" + }, + "sql": { + "type": "string", + "description": "An SQL SELECT/SHOW/DESCRIBE statement.", + "required": true, + "location": "query" + }, + "typed": { + "type": "boolean", + "description": "Should typed values be returned in the (JSON) response -- numbers for numeric values and parsed geometries for KML values? Default is true.", + "location": "query" + } + }, + "parameterOrder": [ + "sql" + ], + "response": { + "$ref": "Sqlresponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ], + "supportsMediaDownload": true + } + } + }, + "style": { + "methods": { + "delete": { + "id": "fusiontables.style.delete", + "path": "tables/{tableId}/styles/{styleId}", + "httpMethod": "DELETE", + "description": "Deletes a style.", + "parameters": { + "styleId": { + "type": "integer", + "description": "Identifier (within a table) for the style being deleted", + "required": true, + "format": "int32", + "location": "path" + }, + "tableId": { + "type": "string", + "description": "Table from which the style is being deleted", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "styleId" + ], + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "get": { + "id": "fusiontables.style.get", + "path": "tables/{tableId}/styles/{styleId}", + "httpMethod": "GET", + "description": "Gets a specific style.", + "parameters": { + "styleId": { + "type": "integer", + "description": "Identifier (integer) for a specific style in a table", + "required": true, + "format": "int32", + "location": "path" + }, + "tableId": { + "type": "string", + "description": "Table to which the requested style belongs", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "styleId" + ], + "response": { + "$ref": "StyleSetting" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + }, + "insert": { + "id": "fusiontables.style.insert", + "path": "tables/{tableId}/styles", + "httpMethod": "POST", + "description": "Adds a new style for the table.", + "parameters": { + "tableId": { + "type": "string", + "description": "Table for which a new style is being added", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "request": { + "$ref": "StyleSetting" + }, + "response": { + "$ref": "StyleSetting" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "list": { + "id": "fusiontables.style.list", + "path": "tables/{tableId}/styles", + "httpMethod": "GET", + "description": "Retrieves a list of styles.", + "parameters": { + "maxResults": { + "type": "integer", + "description": "Maximum number of styles to return. Optional. Default is 5.", + "format": "uint32", + "minimum": "0", + "location": "query" + }, + "pageToken": { + "type": "string", + "description": "Continuation token specifying which result page to return. Optional.", + "location": "query" + }, + "tableId": { + "type": "string", + "description": "Table whose styles are being listed", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "response": { + "$ref": "StyleSettingList" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + }, + "patch": { + "id": "fusiontables.style.patch", + "path": "tables/{tableId}/styles/{styleId}", + "httpMethod": "PATCH", + "description": "Updates an existing style. This method supports patch semantics.", + "parameters": { + "styleId": { + "type": "integer", + "description": "Identifier (within a table) for the style being updated.", + "required": true, + "format": "int32", + "location": "path" + }, + "tableId": { + "type": "string", + "description": "Table whose style is being updated.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "styleId" + ], + "request": { + "$ref": "StyleSetting" + }, + "response": { + "$ref": "StyleSetting" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "update": { + "id": "fusiontables.style.update", + "path": "tables/{tableId}/styles/{styleId}", + "httpMethod": "PUT", + "description": "Updates an existing style.", + "parameters": { + "styleId": { + "type": "integer", + "description": "Identifier (within a table) for the style being updated.", + "required": true, + "format": "int32", + "location": "path" + }, + "tableId": { + "type": "string", + "description": "Table whose style is being updated.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "styleId" + ], + "request": { + "$ref": "StyleSetting" + }, + "response": { + "$ref": "StyleSetting" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + } + } + }, + "table": { + "methods": { + "copy": { + "id": "fusiontables.table.copy", + "path": "tables/{tableId}/copy", + "httpMethod": "POST", + "description": "Copies a table.", + "parameters": { + "copyPresentation": { + "type": "boolean", + "description": "Whether to also copy tabs, styles, and templates. Default is false.", + "location": "query" + }, + "tableId": { + "type": "string", + "description": "ID of the table that is being copied.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "response": { + "$ref": "Table" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + }, + "delete": { + "id": "fusiontables.table.delete", + "path": "tables/{tableId}", + "httpMethod": "DELETE", + "description": "Deletes a table.", + "parameters": { + "tableId": { + "type": "string", + "description": "ID of the table that is being deleted.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "get": { + "id": "fusiontables.table.get", + "path": "tables/{tableId}", + "httpMethod": "GET", + "description": "Retrieves a specific table by its id.", + "parameters": { + "tableId": { + "type": "string", + "description": "Identifier(ID) for the table being requested.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "response": { + "$ref": "Table" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + }, + "importRows": { + "id": "fusiontables.table.importRows", + "path": "tables/{tableId}/import", + "httpMethod": "POST", + "description": "Import more rows into a table.", + "parameters": { + "delimiter": { + "type": "string", + "description": "The delimiter used to separate cell values. This can only consist of a single character. Default is ','.", + "location": "query" + }, + "encoding": { + "type": "string", + "description": "The encoding of the content. Default is UTF-8. Use 'auto-detect' if you are unsure of the encoding.", + "location": "query" + }, + "endLine": { + "type": "integer", + "description": "The index of the last line from which to start importing, exclusive. Thus, the number of imported lines is endLine - startLine. If this parameter is not provided, the file will be imported until the last line of the file. If endLine is negative, then the imported content will exclude the last endLine lines. That is, if endline is negative, no line will be imported whose index is greater than N + endLine where N is the number of lines in the file, and the number of imported lines will be N + endLine - startLine.", + "format": "int32", + "location": "query" + }, + "isStrict": { + "type": "boolean", + "description": "Whether the CSV must have the same number of values for each row. If false, rows with fewer values will be padded with empty values. Default is true.", + "location": "query" + }, + "startLine": { + "type": "integer", + "description": "The index of the first line from which to start importing, inclusive. Default is 0.", + "format": "int32", + "location": "query" + }, + "tableId": { + "type": "string", + "description": "The table into which new rows are being imported.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "response": { + "$ref": "Import" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ], + "supportsMediaUpload": true, + "mediaUpload": { + "accept": [ + "application/octet-stream" + ], + "maxSize": "250MB", + "protocols": { + "simple": { + "multipart": true, + "path": "/upload/fusiontables/v1/tables/{tableId}/import" + }, + "resumable": { + "multipart": true, + "path": "/resumable/upload/fusiontables/v1/tables/{tableId}/import" + } + } + } + }, + "importTable": { + "id": "fusiontables.table.importTable", + "path": "tables/import", + "httpMethod": "POST", + "description": "Import a new table.", + "parameters": { + "delimiter": { + "type": "string", + "description": "The delimiter used to separate cell values. This can only consist of a single character. Default is ','.", + "location": "query" + }, + "encoding": { + "type": "string", + "description": "The encoding of the content. Default is UTF-8. Use 'auto-detect' if you are unsure of the encoding.", + "location": "query" + }, + "name": { + "type": "string", + "description": "The name to be assigned to the new table.", + "required": true, + "location": "query" + } + }, + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "Table" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ], + "supportsMediaUpload": true, + "mediaUpload": { + "accept": [ + "application/octet-stream" + ], + "maxSize": "250MB", + "protocols": { + "simple": { + "multipart": true, + "path": "/upload/fusiontables/v1/tables/import" + }, + "resumable": { + "multipart": true, + "path": "/resumable/upload/fusiontables/v1/tables/import" + } + } + } + }, + "insert": { + "id": "fusiontables.table.insert", + "path": "tables", + "httpMethod": "POST", + "description": "Creates a new table.", + "request": { + "$ref": "Table" + }, + "response": { + "$ref": "Table" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "list": { + "id": "fusiontables.table.list", + "path": "tables", + "httpMethod": "GET", + "description": "Retrieves a list of tables a user owns.", + "parameters": { + "maxResults": { + "type": "integer", + "description": "Maximum number of styles to return. Optional. Default is 5.", + "format": "uint32", + "minimum": "0", + "location": "query" + }, + "pageToken": { + "type": "string", + "description": "Continuation token specifying which result page to return. Optional.", + "location": "query" + } + }, + "response": { + "$ref": "TableList" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + }, + "patch": { + "id": "fusiontables.table.patch", + "path": "tables/{tableId}", + "httpMethod": "PATCH", + "description": "Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated. This method supports patch semantics.", + "parameters": { + "replaceViewDefinition": { + "type": "boolean", + "description": "Should the view definition also be updated? The specified view definition replaces the existing one. Only a view can be updated with a new definition.", + "location": "query" + }, + "tableId": { + "type": "string", + "description": "ID of the table that is being updated.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "request": { + "$ref": "Table" + }, + "response": { + "$ref": "Table" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "update": { + "id": "fusiontables.table.update", + "path": "tables/{tableId}", + "httpMethod": "PUT", + "description": "Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated.", + "parameters": { + "replaceViewDefinition": { + "type": "boolean", + "description": "Should the view definition also be updated? The specified view definition replaces the existing one. Only a view can be updated with a new definition.", + "location": "query" + }, + "tableId": { + "type": "string", + "description": "ID of the table that is being updated.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "request": { + "$ref": "Table" + }, + "response": { + "$ref": "Table" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + } + } + }, + "task": { + "methods": { + "delete": { + "id": "fusiontables.task.delete", + "path": "tables/{tableId}/tasks/{taskId}", + "httpMethod": "DELETE", + "description": "Deletes the task, unless already started.", + "parameters": { + "tableId": { + "type": "string", + "description": "Table from which the task is being deleted.", + "required": true, + "location": "path" + }, + "taskId": { + "type": "string", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "taskId" + ], + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "get": { + "id": "fusiontables.task.get", + "path": "tables/{tableId}/tasks/{taskId}", + "httpMethod": "GET", + "description": "Retrieves a specific task by its id.", + "parameters": { + "tableId": { + "type": "string", + "description": "Table to which the task belongs.", + "required": true, + "location": "path" + }, + "taskId": { + "type": "string", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "taskId" + ], + "response": { + "$ref": "Task" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + }, + "list": { + "id": "fusiontables.task.list", + "path": "tables/{tableId}/tasks", + "httpMethod": "GET", + "description": "Retrieves a list of tasks.", + "parameters": { + "maxResults": { + "type": "integer", + "description": "Maximum number of columns to return. Optional. Default is 5.", + "format": "uint32", + "minimum": "0", + "location": "query" + }, + "pageToken": { + "type": "string", + "location": "query" + }, + "startIndex": { + "type": "integer", + "format": "uint32", + "location": "query" + }, + "tableId": { + "type": "string", + "description": "Table whose tasks are being listed.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "response": { + "$ref": "TaskList" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + } + } + }, + "template": { + "methods": { + "delete": { + "id": "fusiontables.template.delete", + "path": "tables/{tableId}/templates/{templateId}", + "httpMethod": "DELETE", + "description": "Deletes a template", + "parameters": { + "tableId": { + "type": "string", + "description": "Table from which the template is being deleted", + "required": true, + "location": "path" + }, + "templateId": { + "type": "integer", + "description": "Identifier for the template which is being deleted", + "required": true, + "format": "int32", + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "templateId" + ], + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "get": { + "id": "fusiontables.template.get", + "path": "tables/{tableId}/templates/{templateId}", + "httpMethod": "GET", + "description": "Retrieves a specific template by its id", + "parameters": { + "tableId": { + "type": "string", + "description": "Table to which the template belongs", + "required": true, + "location": "path" + }, + "templateId": { + "type": "integer", + "description": "Identifier for the template that is being requested", + "required": true, + "format": "int32", + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "templateId" + ], + "response": { + "$ref": "Template" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + }, + "insert": { + "id": "fusiontables.template.insert", + "path": "tables/{tableId}/templates", + "httpMethod": "POST", + "description": "Creates a new template for the table.", + "parameters": { + "tableId": { + "type": "string", + "description": "Table for which a new template is being created", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "request": { + "$ref": "Template" + }, + "response": { + "$ref": "Template" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "list": { + "id": "fusiontables.template.list", + "path": "tables/{tableId}/templates", + "httpMethod": "GET", + "description": "Retrieves a list of templates.", + "parameters": { + "maxResults": { + "type": "integer", + "description": "Maximum number of templates to return. Optional. Default is 5.", + "format": "uint32", + "minimum": "0", + "location": "query" + }, + "pageToken": { + "type": "string", + "description": "Continuation token specifying which results page to return. Optional.", + "location": "query" + }, + "tableId": { + "type": "string", + "description": "Identifier for the table whose templates are being requested", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "response": { + "$ref": "TemplateList" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + }, + "patch": { + "id": "fusiontables.template.patch", + "path": "tables/{tableId}/templates/{templateId}", + "httpMethod": "PATCH", + "description": "Updates an existing template. This method supports patch semantics.", + "parameters": { + "tableId": { + "type": "string", + "description": "Table to which the updated template belongs", + "required": true, + "location": "path" + }, + "templateId": { + "type": "integer", + "description": "Identifier for the template that is being updated", + "required": true, + "format": "int32", + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "templateId" + ], + "request": { + "$ref": "Template" + }, + "response": { + "$ref": "Template" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "update": { + "id": "fusiontables.template.update", + "path": "tables/{tableId}/templates/{templateId}", + "httpMethod": "PUT", + "description": "Updates an existing template", + "parameters": { + "tableId": { + "type": "string", + "description": "Table to which the updated template belongs", + "required": true, + "location": "path" + }, + "templateId": { + "type": "integer", + "description": "Identifier for the template that is being updated", + "required": true, + "format": "int32", + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "templateId" + ], + "request": { + "$ref": "Template" + }, + "response": { + "$ref": "Template" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + } + } + } + } +} diff --git a/etc/api/fusiontables/v2/fusiontables-api.json b/etc/api/fusiontables/v2/fusiontables-api.json new file mode 100644 index 0000000000..bfed1d1588 --- /dev/null +++ b/etc/api/fusiontables/v2/fusiontables-api.json @@ -0,0 +1,1928 @@ +{ + "kind": "discovery#restDescription", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/xMQ-LA23s9cy0K2lhdn1eKJ_edk\"", + "discoveryVersion": "v1", + "id": "fusiontables:v2", + "name": "fusiontables", + "version": "v2", + "revision": "20141113", + "title": "Fusion Tables API", + "description": "API for working with Fusion Tables data.", + "ownerDomain": "google.com", + "ownerName": "Google", + "icons": { + "x16": "http://www.google.com/images/icons/product/search-16.gif", + "x32": "http://www.google.com/images/icons/product/search-32.gif" + }, + "documentationLink": "https://developers.google.com/fusiontables", + "protocol": "rest", + "baseUrl": "https://www.googleapis.com/fusiontables/v2/", + "basePath": "/fusiontables/v2/", + "rootUrl": "https://www.googleapis.com/", + "servicePath": "fusiontables/v2/", + "batchPath": "batch", + "parameters": { + "alt": { + "type": "string", + "description": "Data format for the response.", + "default": "json", + "enum": [ + "csv", + "json" + ], + "enumDescriptions": [ + "Responses with Content-Type of text/csv", + "Responses with Content-Type of application/json" + ], + "location": "query" + }, + "fields": { + "type": "string", + "description": "Selector specifying which fields to include in a partial response.", + "location": "query" + }, + "key": { + "type": "string", + "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", + "location": "query" + }, + "oauth_token": { + "type": "string", + "description": "OAuth 2.0 token for the current user.", + "location": "query" + }, + "prettyPrint": { + "type": "boolean", + "description": "Returns response with indentations and line breaks.", + "default": "true", + "location": "query" + }, + "quotaUser": { + "type": "string", + "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. Overrides userIp if both are provided.", + "location": "query" + }, + "userIp": { + "type": "string", + "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.", + "location": "query" + } + }, + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/fusiontables": { + "description": "Manage your Fusion Tables" + }, + "https://www.googleapis.com/auth/fusiontables.readonly": { + "description": "View your Fusion Tables" + } + } + } + }, + "schemas": { + "Bucket": { + "id": "Bucket", + "type": "object", + "description": "Specifies the minimum and maximum values, the color, opacity, icon and weight of a bucket within a StyleSetting.", + "properties": { + "color": { + "type": "string", + "description": "Color of line or the interior of a polygon in #RRGGBB format." + }, + "icon": { + "type": "string", + "description": "Icon name used for a point." + }, + "max": { + "type": "number", + "description": "Maximum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight.", + "format": "double" + }, + "min": { + "type": "number", + "description": "Minimum value in the selected column for a row to be styled according to the bucket color, opacity, icon, or weight.", + "format": "double" + }, + "opacity": { + "type": "number", + "description": "Opacity of the color: 0.0 (transparent) to 1.0 (opaque).", + "format": "double" + }, + "weight": { + "type": "integer", + "description": "Width of a line (in pixels).", + "format": "int32" + } + } + }, + "Column": { + "id": "Column", + "type": "object", + "description": "Specifies the details of a column in a table.", + "properties": { + "baseColumn": { + "type": "object", + "description": "Identifier of the base column. If present, this column is derived from the specified base column.", + "properties": { + "columnId": { + "type": "integer", + "description": "The id of the column in the base table from which this column is derived.", + "format": "int32" + }, + "tableIndex": { + "type": "integer", + "description": "Offset to the entry in the list of base tables in the table definition.", + "format": "int32" + } + } + }, + "columnId": { + "type": "integer", + "description": "Identifier for the column.", + "format": "int32" + }, + "columnJsonSchema": { + "type": "string", + "description": "JSON schema for interpreting JSON in this column." + }, + "columnPropertiesJson": { + "type": "string", + "description": "JSON object containing custom column properties." + }, + "description": { + "type": "string", + "description": "Column description." + }, + "formatPattern": { + "type": "string", + "description": "Format pattern." + }, + "graphPredicate": { + "type": "string", + "description": "Column graph predicate.\nUsed to map table to graph data model (subject,predicate,object)\nSee http://www.w3.org/TR/2014/REC-rdf11-concepts-20140225/#data-model" + }, + "kind": { + "type": "string", + "description": "Type name: a template for an individual column.", + "default": "fusiontables#column" + }, + "name": { + "type": "string", + "description": "Name of the column.", + "annotations": { + "required": [ + "fusiontables.column.insert" + ] + } + }, + "type": { + "type": "string", + "description": "Type of the column.", + "annotations": { + "required": [ + "fusiontables.column.insert" + ] + } + }, + "validValues": { + "type": "array", + "description": "List of valid values used to validate data and supply a drop-down list of values in the web application.", + "items": { + "type": "string" + } + }, + "validateData": { + "type": "boolean", + "description": "If true, data entered via the web application is validated." + } + } + }, + "ColumnList": { + "id": "ColumnList", + "type": "object", + "description": "Represents a list of columns in a table.", + "properties": { + "items": { + "type": "array", + "description": "List of all requested columns.", + "items": { + "$ref": "Column" + } + }, + "kind": { + "type": "string", + "description": "Type name: a list of all columns.", + "default": "fusiontables#columnList" + }, + "nextPageToken": { + "type": "string", + "description": "Token used to access the next page of this result. No token is displayed if there are no more tokens left." + }, + "totalItems": { + "type": "integer", + "description": "Total number of columns for the table.", + "format": "int32" + } + } + }, + "Geometry": { + "id": "Geometry", + "type": "object", + "description": "Represents a Geometry object.", + "properties": { + "geometries": { + "type": "array", + "description": "The list of geometries in this geometry collection.", + "items": { + "type": "any" + } + }, + "geometry": { + "type": "any" + }, + "type": { + "type": "string", + "description": "Type: A collection of geometries.", + "default": "GeometryCollection" + } + } + }, + "Import": { + "id": "Import", + "type": "object", + "description": "Represents an import request.", + "properties": { + "kind": { + "type": "string", + "description": "Type name: a template for an import request.", + "default": "fusiontables#import" + }, + "numRowsReceived": { + "type": "string", + "description": "The number of rows received from the import request.", + "format": "int64" + } + } + }, + "Line": { + "id": "Line", + "type": "object", + "description": "Represents a line geometry.", + "properties": { + "coordinates": { + "type": "array", + "description": "The coordinates that define the line.", + "items": { + "type": "array", + "items": { + "type": "number", + "format": "double" + } + } + }, + "type": { + "type": "string", + "description": "Type: A line geometry.", + "default": "LineString" + } + } + }, + "LineStyle": { + "id": "LineStyle", + "type": "object", + "description": "Represents a LineStyle within a StyleSetting", + "properties": { + "strokeColor": { + "type": "string", + "description": "Color of the line in #RRGGBB format." + }, + "strokeColorStyler": { + "$ref": "StyleFunction", + "description": "Column-value, gradient or buckets styler that is used to determine the line color and opacity." + }, + "strokeOpacity": { + "type": "number", + "description": "Opacity of the line : 0.0 (transparent) to 1.0 (opaque).", + "format": "double" + }, + "strokeWeight": { + "type": "integer", + "description": "Width of the line in pixels.", + "format": "int32" + }, + "strokeWeightStyler": { + "$ref": "StyleFunction", + "description": "Column-value or bucket styler that is used to determine the width of the line." + } + } + }, + "Point": { + "id": "Point", + "type": "object", + "description": "Represents a point object.", + "properties": { + "coordinates": { + "type": "array", + "description": "The coordinates that define the point.", + "items": { + "type": "number", + "format": "double" + } + }, + "type": { + "type": "string", + "description": "Point: A point geometry.", + "default": "Point" + } + } + }, + "PointStyle": { + "id": "PointStyle", + "type": "object", + "description": "Represents a PointStyle within a StyleSetting", + "properties": { + "iconName": { + "type": "string", + "description": "Name of the icon. Use values defined in http://www.google.com/fusiontables/DataSource?dsrcid=308519" + }, + "iconStyler": { + "$ref": "StyleFunction", + "description": "Column or a bucket value from which the icon name is to be determined." + } + } + }, + "Polygon": { + "id": "Polygon", + "type": "object", + "description": "Represents a polygon object.", + "properties": { + "coordinates": { + "type": "array", + "description": "The coordinates that define the polygon.", + "items": { + "type": "array", + "items": { + "type": "array", + "items": { + "type": "number", + "format": "double" + } + } + } + }, + "type": { + "type": "string", + "description": "Type: A polygon geometry.", + "default": "Polygon" + } + } + }, + "PolygonStyle": { + "id": "PolygonStyle", + "type": "object", + "description": "Represents a PolygonStyle within a StyleSetting", + "properties": { + "fillColor": { + "type": "string", + "description": "Color of the interior of the polygon in #RRGGBB format." + }, + "fillColorStyler": { + "$ref": "StyleFunction", + "description": "Column-value, gradient, or bucket styler that is used to determine the interior color and opacity of the polygon." + }, + "fillOpacity": { + "type": "number", + "description": "Opacity of the interior of the polygon: 0.0 (transparent) to 1.0 (opaque).", + "format": "double" + }, + "strokeColor": { + "type": "string", + "description": "Color of the polygon border in #RRGGBB format." + }, + "strokeColorStyler": { + "$ref": "StyleFunction", + "description": "Column-value, gradient or buckets styler that is used to determine the border color and opacity." + }, + "strokeOpacity": { + "type": "number", + "description": "Opacity of the polygon border: 0.0 (transparent) to 1.0 (opaque).", + "format": "double" + }, + "strokeWeight": { + "type": "integer", + "description": "Width of the polyon border in pixels.", + "format": "int32" + }, + "strokeWeightStyler": { + "$ref": "StyleFunction", + "description": "Column-value or bucket styler that is used to determine the width of the polygon border." + } + } + }, + "Sqlresponse": { + "id": "Sqlresponse", + "type": "object", + "description": "Represents a response to an sql statement.", + "properties": { + "columns": { + "type": "array", + "description": "Columns in the table.", + "items": { + "type": "string" + } + }, + "kind": { + "type": "string", + "description": "Type name: a template for an individual table.", + "default": "fusiontables#sqlresponse" + }, + "rows": { + "type": "array", + "description": "The rows in the table. For each cell we print out whatever cell value (e.g., numeric, string) exists. Thus it is important that each cell contains only one value.", + "items": { + "type": "array", + "items": { + "type": "any" + } + } + } + } + }, + "StyleFunction": { + "id": "StyleFunction", + "type": "object", + "description": "Represents a StyleFunction within a StyleSetting", + "properties": { + "buckets": { + "type": "array", + "description": "Bucket function that assigns a style based on the range a column value falls into.", + "items": { + "$ref": "Bucket" + } + }, + "columnName": { + "type": "string", + "description": "Name of the column whose value is used in the style.", + "annotations": { + "required": [ + "fusiontables.style.insert" + ] + } + }, + "gradient": { + "type": "object", + "description": "Gradient function that interpolates a range of colors based on column value.", + "properties": { + "colors": { + "type": "array", + "description": "Array with two or more colors.", + "items": { + "type": "object", + "properties": { + "color": { + "type": "string", + "description": "Color in #RRGGBB format." + }, + "opacity": { + "type": "number", + "description": "Opacity of the color: 0.0 (transparent) to 1.0 (opaque).", + "format": "double" + } + } + } + }, + "max": { + "type": "number", + "description": "Higher-end of the interpolation range: rows with this value will be assigned to colors[n-1].", + "format": "double" + }, + "min": { + "type": "number", + "description": "Lower-end of the interpolation range: rows with this value will be assigned to colors[0].", + "format": "double" + } + } + }, + "kind": { + "type": "string", + "description": "Stylers can be one of three kinds: \"fusiontables#fromColumn\" if the column value is to be used as is, i.e., the column values can have colors in #RRGGBBAA format or integer line widths or icon names; \"fusiontables#gradient\" if the styling of the row is to be based on applying the gradient function on the column value; or \"fusiontables#buckets\" if the styling is to based on the bucket into which the the column value falls." + } + } + }, + "StyleSetting": { + "id": "StyleSetting", + "type": "object", + "description": "Represents a complete StyleSettings object. The primary key is a combination of the tableId and a styleId.", + "properties": { + "kind": { + "type": "string", + "description": "Type name: an individual style setting. A StyleSetting contains the style defintions for points, lines, and polygons in a table. Since a table can have any one or all of them, a style definition can have point, line and polygon style definitions.", + "default": "fusiontables#styleSetting" + }, + "markerOptions": { + "$ref": "PointStyle", + "description": "Style definition for points in the table." + }, + "name": { + "type": "string", + "description": "Optional name for the style setting." + }, + "polygonOptions": { + "$ref": "PolygonStyle", + "description": "Style definition for polygons in the table." + }, + "polylineOptions": { + "$ref": "LineStyle", + "description": "Style definition for lines in the table." + }, + "styleId": { + "type": "integer", + "description": "Identifier for the style setting (unique only within tables).", + "format": "int32" + }, + "tableId": { + "type": "string", + "description": "Identifier for the table." + } + } + }, + "StyleSettingList": { + "id": "StyleSettingList", + "type": "object", + "description": "Represents a list of styles for a given table.", + "properties": { + "items": { + "type": "array", + "description": "All requested style settings.", + "items": { + "$ref": "StyleSetting" + } + }, + "kind": { + "type": "string", + "description": "Type name: in this case, a list of style settings.", + "default": "fusiontables#styleSettingList" + }, + "nextPageToken": { + "type": "string", + "description": "Token used to access the next page of this result. No token is displayed if there are no more styles left." + }, + "totalItems": { + "type": "integer", + "description": "Total number of styles for the table.", + "format": "int32" + } + } + }, + "Table": { + "id": "Table", + "type": "object", + "description": "Represents a table.", + "properties": { + "attribution": { + "type": "string", + "description": "Attribution assigned to the table." + }, + "attributionLink": { + "type": "string", + "description": "Optional link for attribution." + }, + "baseTableIds": { + "type": "array", + "description": "Base table identifier if this table is a view or merged table.", + "items": { + "type": "string" + } + }, + "columnPropertiesJsonSchema": { + "type": "string", + "description": "Default JSON schema for validating all JSON column properties." + }, + "columns": { + "type": "array", + "description": "Columns in the table.", + "items": { + "$ref": "Column" + }, + "annotations": { + "required": [ + "fusiontables.table.insert", + "fusiontables.table.update" + ] + } + }, + "description": { + "type": "string", + "description": "Description assigned to the table." + }, + "isExportable": { + "type": "boolean", + "description": "Variable for whether table is exportable.", + "annotations": { + "required": [ + "fusiontables.table.insert", + "fusiontables.table.update" + ] + } + }, + "kind": { + "type": "string", + "description": "Type name: a template for an individual table.", + "default": "fusiontables#table" + }, + "name": { + "type": "string", + "description": "Name assigned to a table.", + "annotations": { + "required": [ + "fusiontables.table.insert", + "fusiontables.table.update" + ] + } + }, + "sql": { + "type": "string", + "description": "SQL that encodes the table definition for derived tables." + }, + "tableId": { + "type": "string", + "description": "Encrypted unique alphanumeric identifier for the table." + }, + "tablePropertiesJson": { + "type": "string", + "description": "JSON object containing custom table properties." + }, + "tablePropertiesJsonSchema": { + "type": "string", + "description": "JSON schema for validating the JSON table properties." + } + } + }, + "TableList": { + "id": "TableList", + "type": "object", + "description": "Represents a list of tables.", + "properties": { + "items": { + "type": "array", + "description": "List of all requested tables.", + "items": { + "$ref": "Table" + } + }, + "kind": { + "type": "string", + "description": "Type name: a list of all tables.", + "default": "fusiontables#tableList" + }, + "nextPageToken": { + "type": "string", + "description": "Token used to access the next page of this result. No token is displayed if there are no more tokens left." + } + } + }, + "Task": { + "id": "Task", + "type": "object", + "description": "A background task on a table, initiated for time and or resource consuming operations such as a column type change or delete all rows operation.", + "properties": { + "kind": { + "type": "string", + "description": "Type name: a template for an individual task.", + "default": "fusiontables#task" + }, + "progress": { + "type": "string", + "description": "Task percentage completion." + }, + "started": { + "type": "boolean", + "description": "True if the task is in progress, its progress indicator will indicated where it is, and it can't be deleted." + }, + "taskId": { + "type": "string", + "description": "Identifier for the task.", + "format": "int64" + }, + "type": { + "type": "string", + "description": "The type of task being executed in the background." + } + } + }, + "TaskList": { + "id": "TaskList", + "type": "object", + "description": "Represents a list of tasks in a table.", + "properties": { + "items": { + "type": "array", + "description": "List of all requested tasks.", + "items": { + "$ref": "Task" + } + }, + "kind": { + "type": "string", + "description": "Type name: a list of all tasks.", + "default": "fusiontables#taskList" + }, + "nextPageToken": { + "type": "string", + "description": "Token used to access the next page of this result. No token is displayed if there are no more tokens left." + }, + "totalItems": { + "type": "integer", + "description": "Total number of tasks for the table.", + "format": "int32" + } + } + }, + "Template": { + "id": "Template", + "type": "object", + "description": "Represents the contents of InfoWindow templates.", + "properties": { + "automaticColumnNames": { + "type": "array", + "description": "List of columns from which the template is to be automatically constructed. Only one of body or automaticColumns can be specified.", + "items": { + "type": "string" + } + }, + "body": { + "type": "string", + "description": "Body of the template. It contains HTML with {column_name} to insert values from a particular column. The body is sanitized to remove certain tags, e.g., script. Only one of body or automaticColumns can be specified." + }, + "kind": { + "type": "string", + "description": "Type name: a template for the info window contents. The template can either include an HTML body or a list of columns from which the template is computed automatically.", + "default": "fusiontables#template" + }, + "name": { + "type": "string", + "description": "Optional name assigned to a template." + }, + "tableId": { + "type": "string", + "description": "Identifier for the table for which the template is defined." + }, + "templateId": { + "type": "integer", + "description": "Identifier for the template, unique within the context of a particular table.", + "format": "int32" + } + } + }, + "TemplateList": { + "id": "TemplateList", + "type": "object", + "description": "Represents a list of templates for a given table.", + "properties": { + "items": { + "type": "array", + "description": "List of all requested templates.", + "items": { + "$ref": "Template" + } + }, + "kind": { + "type": "string", + "description": "Type name: a list of all templates.", + "default": "fusiontables#templateList" + }, + "nextPageToken": { + "type": "string", + "description": "Token used to access the next page of this result. No token is displayed if there are no more tokens left." + }, + "totalItems": { + "type": "integer", + "description": "Total number of templates for the table.", + "format": "int32" + } + } + } + }, + "resources": { + "column": { + "methods": { + "delete": { + "id": "fusiontables.column.delete", + "path": "tables/{tableId}/columns/{columnId}", + "httpMethod": "DELETE", + "description": "Deletes the column.", + "parameters": { + "columnId": { + "type": "string", + "description": "Name or identifier for the column being deleted.", + "required": true, + "location": "path" + }, + "tableId": { + "type": "string", + "description": "Table from which the column is being deleted.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "columnId" + ], + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "get": { + "id": "fusiontables.column.get", + "path": "tables/{tableId}/columns/{columnId}", + "httpMethod": "GET", + "description": "Retrieves a specific column by its id.", + "parameters": { + "columnId": { + "type": "string", + "description": "Name or identifier for the column that is being requested.", + "required": true, + "location": "path" + }, + "tableId": { + "type": "string", + "description": "Table to which the column belongs.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "columnId" + ], + "response": { + "$ref": "Column" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + }, + "insert": { + "id": "fusiontables.column.insert", + "path": "tables/{tableId}/columns", + "httpMethod": "POST", + "description": "Adds a new column to the table.", + "parameters": { + "tableId": { + "type": "string", + "description": "Table for which a new column is being added.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "request": { + "$ref": "Column" + }, + "response": { + "$ref": "Column" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "list": { + "id": "fusiontables.column.list", + "path": "tables/{tableId}/columns", + "httpMethod": "GET", + "description": "Retrieves a list of columns.", + "parameters": { + "maxResults": { + "type": "integer", + "description": "Maximum number of columns to return. Default is 5.", + "format": "uint32", + "minimum": "0", + "location": "query" + }, + "pageToken": { + "type": "string", + "description": "Continuation token specifying which result page to return.", + "location": "query" + }, + "tableId": { + "type": "string", + "description": "Table whose columns are being listed.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "response": { + "$ref": "ColumnList" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + }, + "patch": { + "id": "fusiontables.column.patch", + "path": "tables/{tableId}/columns/{columnId}", + "httpMethod": "PATCH", + "description": "Updates the name or type of an existing column. This method supports patch semantics.", + "parameters": { + "columnId": { + "type": "string", + "description": "Name or identifier for the column that is being updated.", + "required": true, + "location": "path" + }, + "tableId": { + "type": "string", + "description": "Table for which the column is being updated.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "columnId" + ], + "request": { + "$ref": "Column" + }, + "response": { + "$ref": "Column" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "update": { + "id": "fusiontables.column.update", + "path": "tables/{tableId}/columns/{columnId}", + "httpMethod": "PUT", + "description": "Updates the name or type of an existing column.", + "parameters": { + "columnId": { + "type": "string", + "description": "Name or identifier for the column that is being updated.", + "required": true, + "location": "path" + }, + "tableId": { + "type": "string", + "description": "Table for which the column is being updated.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "columnId" + ], + "request": { + "$ref": "Column" + }, + "response": { + "$ref": "Column" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + } + } + }, + "query": { + "methods": { + "sql": { + "id": "fusiontables.query.sql", + "path": "query", + "httpMethod": "POST", + "description": "Executes an SQL SELECT/INSERT/UPDATE/DELETE/SHOW/DESCRIBE/CREATE statement.", + "parameters": { + "hdrs": { + "type": "boolean", + "description": "Should column names be included (in the first row)?. Default is true.", + "location": "query" + }, + "sql": { + "type": "string", + "description": "An SQL SELECT/SHOW/DESCRIBE/INSERT/UPDATE/DELETE/CREATE statement.", + "required": true, + "location": "query" + }, + "typed": { + "type": "boolean", + "description": "Should typed values be returned in the (JSON) response -- numbers for numeric values and parsed geometries for KML values? Default is true.", + "location": "query" + } + }, + "parameterOrder": [ + "sql" + ], + "response": { + "$ref": "Sqlresponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ], + "supportsMediaDownload": true + }, + "sqlGet": { + "id": "fusiontables.query.sqlGet", + "path": "query", + "httpMethod": "GET", + "description": "Executes an SQL SELECT/SHOW/DESCRIBE statement.", + "parameters": { + "hdrs": { + "type": "boolean", + "description": "Should column names be included (in the first row)?. Default is true.", + "location": "query" + }, + "sql": { + "type": "string", + "description": "An SQL SELECT/SHOW/DESCRIBE statement.", + "required": true, + "location": "query" + }, + "typed": { + "type": "boolean", + "description": "Should typed values be returned in the (JSON) response -- numbers for numeric values and parsed geometries for KML values? Default is true.", + "location": "query" + } + }, + "parameterOrder": [ + "sql" + ], + "response": { + "$ref": "Sqlresponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ], + "supportsMediaDownload": true + } + } + }, + "style": { + "methods": { + "delete": { + "id": "fusiontables.style.delete", + "path": "tables/{tableId}/styles/{styleId}", + "httpMethod": "DELETE", + "description": "Deletes a style.", + "parameters": { + "styleId": { + "type": "integer", + "description": "Identifier (within a table) for the style being deleted", + "required": true, + "format": "int32", + "location": "path" + }, + "tableId": { + "type": "string", + "description": "Table from which the style is being deleted", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "styleId" + ], + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "get": { + "id": "fusiontables.style.get", + "path": "tables/{tableId}/styles/{styleId}", + "httpMethod": "GET", + "description": "Gets a specific style.", + "parameters": { + "styleId": { + "type": "integer", + "description": "Identifier (integer) for a specific style in a table", + "required": true, + "format": "int32", + "location": "path" + }, + "tableId": { + "type": "string", + "description": "Table to which the requested style belongs", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "styleId" + ], + "response": { + "$ref": "StyleSetting" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + }, + "insert": { + "id": "fusiontables.style.insert", + "path": "tables/{tableId}/styles", + "httpMethod": "POST", + "description": "Adds a new style for the table.", + "parameters": { + "tableId": { + "type": "string", + "description": "Table for which a new style is being added", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "request": { + "$ref": "StyleSetting" + }, + "response": { + "$ref": "StyleSetting" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "list": { + "id": "fusiontables.style.list", + "path": "tables/{tableId}/styles", + "httpMethod": "GET", + "description": "Retrieves a list of styles.", + "parameters": { + "maxResults": { + "type": "integer", + "description": "Maximum number of styles to return. Optional. Default is 5.", + "format": "uint32", + "minimum": "0", + "location": "query" + }, + "pageToken": { + "type": "string", + "description": "Continuation token specifying which result page to return. Optional.", + "location": "query" + }, + "tableId": { + "type": "string", + "description": "Table whose styles are being listed", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "response": { + "$ref": "StyleSettingList" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + }, + "patch": { + "id": "fusiontables.style.patch", + "path": "tables/{tableId}/styles/{styleId}", + "httpMethod": "PATCH", + "description": "Updates an existing style. This method supports patch semantics.", + "parameters": { + "styleId": { + "type": "integer", + "description": "Identifier (within a table) for the style being updated.", + "required": true, + "format": "int32", + "location": "path" + }, + "tableId": { + "type": "string", + "description": "Table whose style is being updated.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "styleId" + ], + "request": { + "$ref": "StyleSetting" + }, + "response": { + "$ref": "StyleSetting" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "update": { + "id": "fusiontables.style.update", + "path": "tables/{tableId}/styles/{styleId}", + "httpMethod": "PUT", + "description": "Updates an existing style.", + "parameters": { + "styleId": { + "type": "integer", + "description": "Identifier (within a table) for the style being updated.", + "required": true, + "format": "int32", + "location": "path" + }, + "tableId": { + "type": "string", + "description": "Table whose style is being updated.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "styleId" + ], + "request": { + "$ref": "StyleSetting" + }, + "response": { + "$ref": "StyleSetting" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + } + } + }, + "table": { + "methods": { + "copy": { + "id": "fusiontables.table.copy", + "path": "tables/{tableId}/copy", + "httpMethod": "POST", + "description": "Copies a table.", + "parameters": { + "copyPresentation": { + "type": "boolean", + "description": "Whether to also copy tabs, styles, and templates. Default is false.", + "location": "query" + }, + "tableId": { + "type": "string", + "description": "ID of the table that is being copied.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "response": { + "$ref": "Table" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + }, + "delete": { + "id": "fusiontables.table.delete", + "path": "tables/{tableId}", + "httpMethod": "DELETE", + "description": "Deletes a table.", + "parameters": { + "tableId": { + "type": "string", + "description": "ID of the table that is being deleted.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "get": { + "id": "fusiontables.table.get", + "path": "tables/{tableId}", + "httpMethod": "GET", + "description": "Retrieves a specific table by its id.", + "parameters": { + "tableId": { + "type": "string", + "description": "Identifier(ID) for the table being requested.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "response": { + "$ref": "Table" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + }, + "importRows": { + "id": "fusiontables.table.importRows", + "path": "tables/{tableId}/import", + "httpMethod": "POST", + "description": "Import more rows into a table.", + "parameters": { + "delimiter": { + "type": "string", + "description": "The delimiter used to separate cell values. This can only consist of a single character. Default is ','.", + "location": "query" + }, + "encoding": { + "type": "string", + "description": "The encoding of the content. Default is UTF-8. Use 'auto-detect' if you are unsure of the encoding.", + "location": "query" + }, + "endLine": { + "type": "integer", + "description": "The index of the last line from which to start importing, exclusive. Thus, the number of imported lines is endLine - startLine. If this parameter is not provided, the file will be imported until the last line of the file. If endLine is negative, then the imported content will exclude the last endLine lines. That is, if endline is negative, no line will be imported whose index is greater than N + endLine where N is the number of lines in the file, and the number of imported lines will be N + endLine - startLine.", + "format": "int32", + "location": "query" + }, + "isStrict": { + "type": "boolean", + "description": "Whether the CSV must have the same number of values for each row. If false, rows with fewer values will be padded with empty values. Default is true.", + "location": "query" + }, + "startLine": { + "type": "integer", + "description": "The index of the first line from which to start importing, inclusive. Default is 0.", + "format": "int32", + "location": "query" + }, + "tableId": { + "type": "string", + "description": "The table into which new rows are being imported.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "response": { + "$ref": "Import" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ], + "supportsMediaUpload": true, + "mediaUpload": { + "accept": [ + "application/octet-stream" + ], + "maxSize": "250MB", + "protocols": { + "simple": { + "multipart": true, + "path": "/upload/fusiontables/v2/tables/{tableId}/import" + }, + "resumable": { + "multipart": true, + "path": "/resumable/upload/fusiontables/v2/tables/{tableId}/import" + } + } + } + }, + "importTable": { + "id": "fusiontables.table.importTable", + "path": "tables/import", + "httpMethod": "POST", + "description": "Import a new table.", + "parameters": { + "delimiter": { + "type": "string", + "description": "The delimiter used to separate cell values. This can only consist of a single character. Default is ','.", + "location": "query" + }, + "encoding": { + "type": "string", + "description": "The encoding of the content. Default is UTF-8. Use 'auto-detect' if you are unsure of the encoding.", + "location": "query" + }, + "name": { + "type": "string", + "description": "The name to be assigned to the new table.", + "required": true, + "location": "query" + } + }, + "parameterOrder": [ + "name" + ], + "response": { + "$ref": "Table" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ], + "supportsMediaUpload": true, + "mediaUpload": { + "accept": [ + "application/octet-stream" + ], + "maxSize": "250MB", + "protocols": { + "simple": { + "multipart": true, + "path": "/upload/fusiontables/v2/tables/import" + }, + "resumable": { + "multipart": true, + "path": "/resumable/upload/fusiontables/v2/tables/import" + } + } + } + }, + "insert": { + "id": "fusiontables.table.insert", + "path": "tables", + "httpMethod": "POST", + "description": "Creates a new table.", + "request": { + "$ref": "Table" + }, + "response": { + "$ref": "Table" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "list": { + "id": "fusiontables.table.list", + "path": "tables", + "httpMethod": "GET", + "description": "Retrieves a list of tables a user owns.", + "parameters": { + "maxResults": { + "type": "integer", + "description": "Maximum number of styles to return. Optional. Default is 5.", + "format": "uint32", + "minimum": "0", + "location": "query" + }, + "pageToken": { + "type": "string", + "description": "Continuation token specifying which result page to return. Optional.", + "location": "query" + } + }, + "response": { + "$ref": "TableList" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + }, + "patch": { + "id": "fusiontables.table.patch", + "path": "tables/{tableId}", + "httpMethod": "PATCH", + "description": "Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated. This method supports patch semantics.", + "parameters": { + "replaceViewDefinition": { + "type": "boolean", + "description": "Should the view definition also be updated? The specified view definition replaces the existing one. Only a view can be updated with a new definition.", + "location": "query" + }, + "tableId": { + "type": "string", + "description": "ID of the table that is being updated.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "request": { + "$ref": "Table" + }, + "response": { + "$ref": "Table" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "replaceRows": { + "id": "fusiontables.table.replaceRows", + "path": "tables/{tableId}/replace", + "httpMethod": "POST", + "description": "Replaces rows of an existing table. Current rows remain visible until all replacement rows are ready.", + "parameters": { + "delimiter": { + "type": "string", + "description": "The delimiter used to separate cell values. This can only consist of a single character. Default is ','.", + "location": "query" + }, + "encoding": { + "type": "string", + "description": "The encoding of the content. Default is UTF-8. Use 'auto-detect' if you are unsure of the encoding.", + "location": "query" + }, + "endLine": { + "type": "integer", + "description": "The index of the last line to import, exclusive. 'endLine - startLine' rows will be imported. Default is to import through the end of the file. If endLine is negative, it is an offset from the end of the file; the imported content will exclude the last endLine lines.", + "format": "int32", + "location": "query" + }, + "isStrict": { + "type": "boolean", + "description": "Whether the CSV must have the same number of column values for each row. If true, throws an exception if the CSV does not not have the same number of columns. If false, rows with fewer column values will be padded with empty values. Default is true.", + "location": "query" + }, + "startLine": { + "type": "integer", + "description": "The index of the first line from which to start importing, inclusive. Default is 0.", + "format": "int32", + "location": "query" + }, + "tableId": { + "type": "string", + "description": "Table whose rows will be replaced.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "response": { + "$ref": "Task" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ], + "supportsMediaUpload": true, + "mediaUpload": { + "accept": [ + "application/octet-stream" + ], + "maxSize": "250MB", + "protocols": { + "simple": { + "multipart": true, + "path": "/upload/fusiontables/v2/tables/{tableId}/replace" + }, + "resumable": { + "multipart": true, + "path": "/resumable/upload/fusiontables/v2/tables/{tableId}/replace" + } + } + } + }, + "update": { + "id": "fusiontables.table.update", + "path": "tables/{tableId}", + "httpMethod": "PUT", + "description": "Updates an existing table. Unless explicitly requested, only the name, description, and attribution will be updated.", + "parameters": { + "replaceViewDefinition": { + "type": "boolean", + "description": "Should the view definition also be updated? The specified view definition replaces the existing one. Only a view can be updated with a new definition.", + "location": "query" + }, + "tableId": { + "type": "string", + "description": "ID of the table that is being updated.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "request": { + "$ref": "Table" + }, + "response": { + "$ref": "Table" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + } + } + }, + "task": { + "methods": { + "delete": { + "id": "fusiontables.task.delete", + "path": "tables/{tableId}/tasks/{taskId}", + "httpMethod": "DELETE", + "description": "Deletes the task, unless already started.", + "parameters": { + "tableId": { + "type": "string", + "description": "Table from which the task is being deleted.", + "required": true, + "location": "path" + }, + "taskId": { + "type": "string", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "taskId" + ], + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "get": { + "id": "fusiontables.task.get", + "path": "tables/{tableId}/tasks/{taskId}", + "httpMethod": "GET", + "description": "Retrieves a specific task by its id.", + "parameters": { + "tableId": { + "type": "string", + "description": "Table to which the task belongs.", + "required": true, + "location": "path" + }, + "taskId": { + "type": "string", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "taskId" + ], + "response": { + "$ref": "Task" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + }, + "list": { + "id": "fusiontables.task.list", + "path": "tables/{tableId}/tasks", + "httpMethod": "GET", + "description": "Retrieves a list of tasks.", + "parameters": { + "maxResults": { + "type": "integer", + "description": "Maximum number of tasks to return. Default is 5.", + "format": "uint32", + "minimum": "0", + "location": "query" + }, + "pageToken": { + "type": "string", + "description": "Continuation token specifying which result page to return.", + "location": "query" + }, + "startIndex": { + "type": "integer", + "description": "Index of the first result returned in the current page.", + "format": "uint32", + "location": "query" + }, + "tableId": { + "type": "string", + "description": "Table whose tasks are being listed.", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "response": { + "$ref": "TaskList" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + } + } + }, + "template": { + "methods": { + "delete": { + "id": "fusiontables.template.delete", + "path": "tables/{tableId}/templates/{templateId}", + "httpMethod": "DELETE", + "description": "Deletes a template", + "parameters": { + "tableId": { + "type": "string", + "description": "Table from which the template is being deleted", + "required": true, + "location": "path" + }, + "templateId": { + "type": "integer", + "description": "Identifier for the template which is being deleted", + "required": true, + "format": "int32", + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "templateId" + ], + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "get": { + "id": "fusiontables.template.get", + "path": "tables/{tableId}/templates/{templateId}", + "httpMethod": "GET", + "description": "Retrieves a specific template by its id", + "parameters": { + "tableId": { + "type": "string", + "description": "Table to which the template belongs", + "required": true, + "location": "path" + }, + "templateId": { + "type": "integer", + "description": "Identifier for the template that is being requested", + "required": true, + "format": "int32", + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "templateId" + ], + "response": { + "$ref": "Template" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + }, + "insert": { + "id": "fusiontables.template.insert", + "path": "tables/{tableId}/templates", + "httpMethod": "POST", + "description": "Creates a new template for the table.", + "parameters": { + "tableId": { + "type": "string", + "description": "Table for which a new template is being created", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "request": { + "$ref": "Template" + }, + "response": { + "$ref": "Template" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "list": { + "id": "fusiontables.template.list", + "path": "tables/{tableId}/templates", + "httpMethod": "GET", + "description": "Retrieves a list of templates.", + "parameters": { + "maxResults": { + "type": "integer", + "description": "Maximum number of templates to return. Optional. Default is 5.", + "format": "uint32", + "minimum": "0", + "location": "query" + }, + "pageToken": { + "type": "string", + "description": "Continuation token specifying which results page to return. Optional.", + "location": "query" + }, + "tableId": { + "type": "string", + "description": "Identifier for the table whose templates are being requested", + "required": true, + "location": "path" + } + }, + "parameterOrder": [ + "tableId" + ], + "response": { + "$ref": "TemplateList" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables", + "https://www.googleapis.com/auth/fusiontables.readonly" + ] + }, + "patch": { + "id": "fusiontables.template.patch", + "path": "tables/{tableId}/templates/{templateId}", + "httpMethod": "PATCH", + "description": "Updates an existing template. This method supports patch semantics.", + "parameters": { + "tableId": { + "type": "string", + "description": "Table to which the updated template belongs", + "required": true, + "location": "path" + }, + "templateId": { + "type": "integer", + "description": "Identifier for the template that is being updated", + "required": true, + "format": "int32", + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "templateId" + ], + "request": { + "$ref": "Template" + }, + "response": { + "$ref": "Template" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + }, + "update": { + "id": "fusiontables.template.update", + "path": "tables/{tableId}/templates/{templateId}", + "httpMethod": "PUT", + "description": "Updates an existing template", + "parameters": { + "tableId": { + "type": "string", + "description": "Table to which the updated template belongs", + "required": true, + "location": "path" + }, + "templateId": { + "type": "integer", + "description": "Identifier for the template that is being updated", + "required": true, + "format": "int32", + "location": "path" + } + }, + "parameterOrder": [ + "tableId", + "templateId" + ], + "request": { + "$ref": "Template" + }, + "response": { + "$ref": "Template" + }, + "scopes": [ + "https://www.googleapis.com/auth/fusiontables" + ] + } + } + } + } +} diff --git a/etc/api/games/v1/games-api.json b/etc/api/games/v1/games-api.json index f3c3449152..32c80aea34 100644 --- a/etc/api/games/v1/games-api.json +++ b/etc/api/games/v1/games-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Lk2G3wqb0mjcAChQC6sL6CdXNgs\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Soc9BuIdg1UUhR3Ukbe4ecZUQoo\"", "discoveryVersion": "v1", "id": "games:v1", "name": "games", "canonicalName": "Games", "version": "v1", - "revision": "20150119", + "revision": "20150309", "title": "Google Play Game Services API", "description": "The API for Google Play Game Services.", "ownerDomain": "google.com", diff --git a/etc/api/gamesconfiguration/v1configuration/gamesconfiguration-api.json b/etc/api/gamesconfiguration/v1configuration/gamesconfiguration-api.json index eb48c0324b..d467b43076 100644 --- a/etc/api/gamesconfiguration/v1configuration/gamesconfiguration-api.json +++ b/etc/api/gamesconfiguration/v1configuration/gamesconfiguration-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Jkr0IKioflJu_aUgxoI27vUdCqY\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Fv79sqkZZdXK3AtpELojoAZFCyU\"", "discoveryVersion": "v1", "id": "gamesConfiguration:v1configuration", "name": "gamesConfiguration", "canonicalName": "Games Configuration", "version": "v1configuration", - "revision": "20150119", + "revision": "20150309", "title": "Google Play Game Services Publishing API", "description": "The Publishing API for Google Play Game Services.", "ownerDomain": "google.com", diff --git a/etc/api/gamesmanagement/v1management/gamesmanagement-api.json b/etc/api/gamesmanagement/v1management/gamesmanagement-api.json index 2dc4549dc9..74070df971 100644 --- a/etc/api/gamesmanagement/v1management/gamesmanagement-api.json +++ b/etc/api/gamesmanagement/v1management/gamesmanagement-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/6aiv7cDwqgyYEVRSZQkoMExBeXA\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/QsARnK2k3zd7e7oR2lxOknCWhTk\"", "discoveryVersion": "v1", "id": "gamesManagement:v1management", "name": "gamesManagement", "canonicalName": "Games Management", "version": "v1management", - "revision": "20150119", + "revision": "20150309", "title": "Google Play Game Services Management API", "description": "The Management API for Google Play Game Services.", "ownerDomain": "google.com", diff --git a/etc/api/gan/v1beta1/gan-api.json b/etc/api/gan/v1beta1/gan-api.json index a66341c800..4b3698860c 100644 --- a/etc/api/gan/v1beta1/gan-api.json +++ b/etc/api/gan/v1beta1/gan-api.json @@ -1,6 +1,6 @@ { "kind": "discovery#restDescription", - "etag": "\"FrPV2U6xXFUq8eRv_PO3IoAURkc/sUp2RhXMaDQQQ4TJDISV0wjpOdU\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/sUp2RhXMaDQQQ4TJDISV0wjpOdU\"", "discoveryVersion": "v1", "id": "gan:v1beta1", "name": "gan", diff --git a/etc/api/genomics/v1beta2/genomics-api.json b/etc/api/genomics/v1beta2/genomics-api.json index c9803e7319..5571e2526d 100644 --- a/etc/api/genomics/v1beta2/genomics-api.json +++ b/etc/api/genomics/v1beta2/genomics-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Rkk_7Yu2BNIHc2z3p4FKuem23zE\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/uftxkEqaj-t-6C93huW22geUJjs\"", "discoveryVersion": "v1", "id": "genomics:v1beta2", "name": "genomics", "version": "v1beta2", - "revision": "20150213", + "revision": "20150307", "title": "Genomics API", "description": "Provides access to Genomics data.", "ownerDomain": "google.com", @@ -238,6 +238,62 @@ } } }, + "BatchAnnotationsResponse": { + "id": "BatchAnnotationsResponse", + "type": "object", + "properties": { + "entries": { + "type": "array", + "description": "The resulting per-annotation entries, ordered consistently with the original request.", + "items": { + "$ref": "BatchAnnotationsResponseEntry" + } + } + } + }, + "BatchAnnotationsResponseEntry": { + "id": "BatchAnnotationsResponseEntry", + "type": "object", + "properties": { + "annotation": { + "$ref": "Annotation", + "description": "The annotation, if any." + }, + "status": { + "$ref": "BatchAnnotationsResponseEntryStatus", + "description": "The resulting status for this annotation operation." + } + } + }, + "BatchAnnotationsResponseEntryStatus": { + "id": "BatchAnnotationsResponseEntryStatus", + "type": "object", + "description": "", + "properties": { + "code": { + "type": "integer", + "description": "The HTTP status code for this operation.", + "format": "int32" + }, + "message": { + "type": "string", + "description": "Error message for this status, if any." + } + } + }, + "BatchCreateAnnotationsRequest": { + "id": "BatchCreateAnnotationsRequest", + "type": "object", + "properties": { + "annotations": { + "type": "array", + "description": "The annotations to be created. At most 4096 can be specified in a single request.", + "items": { + "$ref": "Annotation" + } + } + } + }, "Call": { "id": "Call", "type": "object", @@ -1428,7 +1484,7 @@ }, "description": { "type": "string", - "description": "Optional free text description of this reference set." + "description": "free text description of this reference set." }, "id": { "type": "string", @@ -2460,6 +2516,21 @@ }, "annotations": { "methods": { + "batchCreate": { + "id": "genomics.annotations.batchCreate", + "path": "annotations:batchCreate", + "httpMethod": "POST", + "description": "Creates one or more new annotations atomically. All annotations must belong to the same annotation set. Caller must have WRITE permission for this annotation set. For optimal performance, batch positionally adjacent annotations together.\n\n\nIf the request has a systemic issue, such as an attempt to write to an inaccessible annotation set, the entire RPC will fail accordingly. For lesser data issues, when possible an error will be isolated to the corresponding batch entry in the response; the remaining well formed annotations will be created normally.", + "request": { + "$ref": "BatchCreateAnnotationsRequest" + }, + "response": { + "$ref": "BatchAnnotationsResponse" + }, + "scopes": [ + "https://www.googleapis.com/auth/genomics" + ] + }, "create": { "id": "genomics.annotations.create", "path": "annotations", @@ -2801,7 +2872,7 @@ }, "projectNumber": { "type": "string", - "description": "Only return datasets which belong to this Google Developers Console project. Only accepts project numbers. Returns all public projects if no project number is specified.", + "description": "The project to list datasets for.", "format": "int64", "location": "query" } @@ -3305,7 +3376,6 @@ "pageSize": { "type": "integer", "description": "Specifies the maximum number of bases to return in a single page.", - "default": "200000", "format": "int32", "location": "query" }, diff --git a/etc/api/gmail/v1/gmail-api.json b/etc/api/gmail/v1/gmail-api.json index c551cac5da..789248bdaa 100644 --- a/etc/api/gmail/v1/gmail-api.json +++ b/etc/api/gmail/v1/gmail-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Z8EmGyPlhp7KjhJWnQbLacCZ3G8\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/u55VLYY4MP7i0aXvJvy-8Bykhic\"", "discoveryVersion": "v1", "id": "gmail:v1", "name": "gmail", "version": "v1", - "revision": "20150218", + "revision": "20150303", "title": "Gmail API", "description": "The Gmail REST API.", "ownerDomain": "google.com", diff --git a/etc/api/groupsmigration/v1/groupsmigration-api.json b/etc/api/groupsmigration/v1/groupsmigration-api.json index 81211bfaf3..98f76ca60a 100644 --- a/etc/api/groupsmigration/v1/groupsmigration-api.json +++ b/etc/api/groupsmigration/v1/groupsmigration-api.json @@ -1,6 +1,6 @@ { "kind": "discovery#restDescription", - "etag": "\"FrPV2U6xXFUq8eRv_PO3IoAURkc/uMvgRqCygYBIh2d3lXb4f8cUWOw\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/uMvgRqCygYBIh2d3lXb4f8cUWOw\"", "discoveryVersion": "v1", "id": "groupsmigration:v1", "name": "groupsmigration", diff --git a/etc/api/groupssettings/v1/groupssettings-api.json b/etc/api/groupssettings/v1/groupssettings-api.json index b8143c56ea..76b5fb6d99 100644 --- a/etc/api/groupssettings/v1/groupssettings-api.json +++ b/etc/api/groupssettings/v1/groupssettings-api.json @@ -1,6 +1,6 @@ { "kind": "discovery#restDescription", - "etag": "\"FrPV2U6xXFUq8eRv_PO3IoAURkc/-WzKihq8ROq_FQdrGtr_UG9N-4Y\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/-WzKihq8ROq_FQdrGtr_UG9N-4Y\"", "discoveryVersion": "v1", "id": "groupssettings:v1", "name": "groupssettings", diff --git a/etc/api/identitytoolkit/v3/identitytoolkit-api.json b/etc/api/identitytoolkit/v3/identitytoolkit-api.json index f146525b7a..0a4e326bf1 100644 --- a/etc/api/identitytoolkit/v3/identitytoolkit-api.json +++ b/etc/api/identitytoolkit/v3/identitytoolkit-api.json @@ -1,6 +1,6 @@ { "kind": "discovery#restDescription", - "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/jfVz2w61e7LPgd-72fW_8rrOqOc\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/jfVz2w61e7LPgd-72fW_8rrOqOc\"", "discoveryVersion": "v1", "id": "identitytoolkit:v3", "name": "identitytoolkit", diff --git a/etc/api/licensing/v1/licensing-api.json b/etc/api/licensing/v1/licensing-api.json index caaa60c045..b1cfd1847a 100644 --- a/etc/api/licensing/v1/licensing-api.json +++ b/etc/api/licensing/v1/licensing-api.json @@ -1,6 +1,6 @@ { "kind": "discovery#restDescription", - "etag": "\"FrPV2U6xXFUq8eRv_PO3IoAURkc/5nv4m0pBrnwpGqw9jwk2yynQNrg\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/chZbfEJA0-TN8tTaZIdtXJErZX4\"", "discoveryVersion": "v1", "id": "licensing:v1", "name": "licensing", @@ -66,6 +66,15 @@ "location": "query" } }, + "auth": { + "oauth2": { + "scopes": { + "https://www.googleapis.com/auth/apps.licensing": { + "description": "View and manage Google Apps licenses for your domain" + } + } + } + }, "schemas": { "LicenseAssignment": { "id": "LicenseAssignment", @@ -190,6 +199,9 @@ "productId", "skuId", "userId" + ], + "scopes": [ + "https://www.googleapis.com/auth/apps.licensing" ] }, "get": { @@ -224,7 +236,10 @@ ], "response": { "$ref": "LicenseAssignment" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/apps.licensing" + ] }, "insert": { "id": "licensing.licenseAssignments.insert", @@ -254,7 +269,10 @@ }, "response": { "$ref": "LicenseAssignment" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/apps.licensing" + ] }, "listForProduct": { "id": "licensing.licenseAssignments.listForProduct", @@ -296,7 +314,10 @@ ], "response": { "$ref": "LicenseAssignmentList" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/apps.licensing" + ] }, "listForProductAndSku": { "id": "licensing.licenseAssignments.listForProductAndSku", @@ -345,7 +366,10 @@ ], "response": { "$ref": "LicenseAssignmentList" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/apps.licensing" + ] }, "patch": { "id": "licensing.licenseAssignments.patch", @@ -382,7 +406,10 @@ }, "response": { "$ref": "LicenseAssignment" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/apps.licensing" + ] }, "update": { "id": "licensing.licenseAssignments.update", @@ -419,7 +446,10 @@ }, "response": { "$ref": "LicenseAssignment" - } + }, + "scopes": [ + "https://www.googleapis.com/auth/apps.licensing" + ] } } } diff --git a/etc/api/manager/v1beta2/manager-api.json b/etc/api/manager/v1beta2/manager-api.json index e767b5ac12..6067731b47 100644 --- a/etc/api/manager/v1beta2/manager-api.json +++ b/etc/api/manager/v1beta2/manager-api.json @@ -1,6 +1,6 @@ { "kind": "discovery#restDescription", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/iGUA1MFJvjag5CPQwb2aT371UTs\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/iGUA1MFJvjag5CPQwb2aT371UTs\"", "discoveryVersion": "v1", "id": "manager:v1beta2", "name": "manager", diff --git a/etc/api/mapsengine/exp2/mapsengine-api.json b/etc/api/mapsengine/exp2/mapsengine-api.json index d0f5b0bd47..8b409cd10c 100644 --- a/etc/api/mapsengine/exp2/mapsengine-api.json +++ b/etc/api/mapsengine/exp2/mapsengine-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/g5gYKe1RsGYlNs6bEqweIHyXDHA\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/_yXcj6wu30wUQF66rzR3e0Lw5jc\"", "discoveryVersion": "v1", "id": "mapsengine:exp2", "name": "mapsengine", "canonicalName": "Maps Engine", "version": "exp2", - "revision": "20150120", + "revision": "20150225", "title": "Google Maps Engine API", "description": "The Google Maps Engine API allows developers to store and query geospatial vector and raster data.", "ownerDomain": "google.com", diff --git a/etc/api/mapsengine/v1/mapsengine-api.json b/etc/api/mapsengine/v1/mapsengine-api.json index 864791d225..598e7d7fd7 100644 --- a/etc/api/mapsengine/v1/mapsengine-api.json +++ b/etc/api/mapsengine/v1/mapsengine-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/xRQmfo4WYHt7ESOziu0ToVNCLZc\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Vg8aif6zALdzKwx32KoUR-kzgwE\"", "discoveryVersion": "v1", "id": "mapsengine:v1", "name": "mapsengine", "canonicalName": "Maps Engine", "version": "v1", - "revision": "20150120", + "revision": "20150225", "title": "Google Maps Engine API", "description": "The Google Maps Engine API allows developers to store and query geospatial vector and raster data.", "ownerDomain": "google.com", diff --git a/etc/api/mirror/v1/mirror-api.json b/etc/api/mirror/v1/mirror-api.json index 221add301b..59524098da 100644 --- a/etc/api/mirror/v1/mirror-api.json +++ b/etc/api/mirror/v1/mirror-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/VW0KvFHTdSFgeNX5qCIVR7JEmkg\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/bzmWA2xIEvQJRAH0k0bKxD0O1Uo\"", "discoveryVersion": "v1", "id": "mirror:v1", "name": "mirror", "version": "v1", - "revision": "20141209", + "revision": "20150220", "title": "Google Mirror API", "description": "API for interacting with Glass users via the timeline.", "ownerDomain": "google.com", diff --git a/etc/api/oauth2/v1/oauth2-api.json b/etc/api/oauth2/v1/oauth2-api.json index 49e6a57999..d472d5b0f7 100644 --- a/etc/api/oauth2/v1/oauth2-api.json +++ b/etc/api/oauth2/v1/oauth2-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/9Yyv0tXok5k5vzXMjMvbTiT4GAM\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/UzMNh5xMx8lADLzI_D2d23o2e3I\"", "discoveryVersion": "v1", "id": "oauth2:v1", "name": "oauth2", "version": "v1", - "revision": "20150120", + "revision": "20150227", "title": "Google OAuth2 API", "description": "Lets you access OAuth2 protocol related APIs.", "ownerDomain": "google.com", @@ -194,7 +194,7 @@ }, "id": { "type": "string", - "description": "The focus obfuscated gaia id of the user." + "description": "The obfuscated ID of the user." }, "link": { "type": "string", diff --git a/etc/api/oauth2/v2/oauth2-api.json b/etc/api/oauth2/v2/oauth2-api.json index e6b6d5c83d..f5112b7c4c 100644 --- a/etc/api/oauth2/v2/oauth2-api.json +++ b/etc/api/oauth2/v2/oauth2-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/x7FThRC1OZmHwbkYbDOWKsWuUA8\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/k4wrBVcVU21kpS62H1uJI58FLS0\"", "discoveryVersion": "v1", "id": "oauth2:v2", "name": "oauth2", "version": "v2", - "revision": "20150120", + "revision": "20150227", "title": "Google OAuth2 API", "description": "Lets you access OAuth2 protocol related APIs.", "ownerDomain": "google.com", @@ -185,7 +185,7 @@ }, "id": { "type": "string", - "description": "The focus obfuscated gaia id of the user." + "description": "The obfuscated ID of the user." }, "link": { "type": "string", diff --git a/etc/api/plus/v1/plus-api.json b/etc/api/plus/v1/plus-api.json index 6619668f53..a20a485006 100644 --- a/etc/api/plus/v1/plus-api.json +++ b/etc/api/plus/v1/plus-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/yIlgMiAhuGzU5ET3NtXZn6hNffI\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/q8dY4UIVNRcK1B68dybhQ1dBwWc\"", "discoveryVersion": "v1", "id": "plus:v1", "name": "plus", "version": "v1", - "revision": "20150105", + "revision": "20150122", "title": "Google+ API", "description": "The Google+ API enables developers to build on top of the Google+ platform.", "ownerDomain": "google.com", diff --git a/etc/api/plusdomains/v1/plusdomains-api.json b/etc/api/plusdomains/v1/plusdomains-api.json index a14c6b6435..4bb265a610 100644 --- a/etc/api/plusdomains/v1/plusdomains-api.json +++ b/etc/api/plusdomains/v1/plusdomains-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Dp57l-pfCxeHpBW5IqweXjCaYQ4\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/D2Y34Y6W4h84dfzmMIBIqWNmCLk\"", "discoveryVersion": "v1", "id": "plusDomains:v1", "name": "plusDomains", "version": "v1", - "revision": "20150105", + "revision": "20150122", "title": "Google+ Domains API", "description": "The Google+ API enables developers to build on top of the Google+ platform.", "ownerDomain": "google.com", diff --git a/etc/api/prediction/v1.2/prediction-api.json b/etc/api/prediction/v1.2/prediction-api.json index 83b7b2d606..e0ae283334 100644 --- a/etc/api/prediction/v1.2/prediction-api.json +++ b/etc/api/prediction/v1.2/prediction-api.json @@ -1,6 +1,6 @@ { "kind": "discovery#restDescription", - "etag": "\"FrPV2U6xXFUq8eRv_PO3IoAURkc/vqbJcfoFrtPpK9W2dvUTdM5aWmI\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/vqbJcfoFrtPpK9W2dvUTdM5aWmI\"", "discoveryVersion": "v1", "id": "prediction:v1.2", "name": "prediction", diff --git a/etc/api/prediction/v1.3/prediction-api.json b/etc/api/prediction/v1.3/prediction-api.json index 612b454397..a65fdf5530 100644 --- a/etc/api/prediction/v1.3/prediction-api.json +++ b/etc/api/prediction/v1.3/prediction-api.json @@ -1,6 +1,6 @@ { "kind": "discovery#restDescription", - "etag": "\"FrPV2U6xXFUq8eRv_PO3IoAURkc/AH0kDxitXVy6ezxE7JaWy7alDdY\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/AH0kDxitXVy6ezxE7JaWy7alDdY\"", "discoveryVersion": "v1", "id": "prediction:v1.3", "name": "prediction", diff --git a/etc/api/prediction/v1.4/prediction-api.json b/etc/api/prediction/v1.4/prediction-api.json index 93dc2e1547..0718d548a5 100644 --- a/etc/api/prediction/v1.4/prediction-api.json +++ b/etc/api/prediction/v1.4/prediction-api.json @@ -1,6 +1,6 @@ { "kind": "discovery#restDescription", - "etag": "\"FrPV2U6xXFUq8eRv_PO3IoAURkc/vTEPhd5Iea8_7PtKnWKo1lkHwg8\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/vTEPhd5Iea8_7PtKnWKo1lkHwg8\"", "discoveryVersion": "v1", "id": "prediction:v1.4", "name": "prediction", diff --git a/etc/api/prediction/v1.5/prediction-api.json b/etc/api/prediction/v1.5/prediction-api.json index 9708d939c8..be8656733c 100644 --- a/etc/api/prediction/v1.5/prediction-api.json +++ b/etc/api/prediction/v1.5/prediction-api.json @@ -1,6 +1,6 @@ { "kind": "discovery#restDescription", - "etag": "\"FrPV2U6xXFUq8eRv_PO3IoAURkc/07rbeW7QivPtt7IIYTOaHuwiDFw\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/07rbeW7QivPtt7IIYTOaHuwiDFw\"", "discoveryVersion": "v1", "id": "prediction:v1.5", "name": "prediction", diff --git a/etc/api/qpxexpress/v1/qpxexpress-api.json b/etc/api/qpxexpress/v1/qpxexpress-api.json index c863e0f5e2..9cb33ce0c1 100644 --- a/etc/api/qpxexpress/v1/qpxexpress-api.json +++ b/etc/api/qpxexpress/v1/qpxexpress-api.json @@ -1,6 +1,6 @@ { "kind": "discovery#restDescription", - "etag": "\"FrPV2U6xXFUq8eRv_PO3IoAURkc/oRXkfQJbU2CyvfsUv40EHopWGd0\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/oRXkfQJbU2CyvfsUv40EHopWGd0\"", "discoveryVersion": "v1", "id": "qpxExpress:v1", "name": "qpxExpress", diff --git a/etc/api/replicapool/v1beta1/replicapool-api.json b/etc/api/replicapool/v1beta1/replicapool-api.json index f001ebcfb2..811a8ad802 100644 --- a/etc/api/replicapool/v1beta1/replicapool-api.json +++ b/etc/api/replicapool/v1beta1/replicapool-api.json @@ -1,6 +1,6 @@ { "kind": "discovery#restDescription", - "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/OCNWVpxMyrgI9AhJbRIevULm13s\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/OCNWVpxMyrgI9AhJbRIevULm13s\"", "discoveryVersion": "v1", "id": "replicapool:v1beta1", "name": "replicapool", diff --git a/etc/api/replicapool/v1beta2/replicapool-api.json b/etc/api/replicapool/v1beta2/replicapool-api.json index b44e0149cf..fab913a4b2 100644 --- a/etc/api/replicapool/v1beta2/replicapool-api.json +++ b/etc/api/replicapool/v1beta2/replicapool-api.json @@ -1,6 +1,6 @@ { "kind": "discovery#restDescription", - "etag": "\"l66ggWbucbkBw9Lpos72oziyefE/o8KVD2TZK8SqQA452IHtm6GW-J8\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/o8KVD2TZK8SqQA452IHtm6GW-J8\"", "discoveryVersion": "v1", "id": "replicapool:v1beta2", "name": "replicapool", diff --git a/etc/api/replicapoolupdater/v1beta1/replicapoolupdater-api.json b/etc/api/replicapoolupdater/v1beta1/replicapoolupdater-api.json index 51ec80cdc4..9c0098eede 100644 --- a/etc/api/replicapoolupdater/v1beta1/replicapoolupdater-api.json +++ b/etc/api/replicapoolupdater/v1beta1/replicapoolupdater-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/eJNOa2VAnZWx5ALy5y9ejkM9EKI\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/IuZy-huEI4odldDxlxCkfd4i7iE\"", "discoveryVersion": "v1", "id": "replicapoolupdater:v1beta1", "name": "replicapoolupdater", "version": "v1beta1", - "revision": "20150216", + "revision": "20150129", "title": "Google Compute Engine Instance Group Updater API", "description": "The Google Compute Engine Instance Group Updater API provides services for updating groups of Compute Engine Instances.", "ownerDomain": "google.com", @@ -306,7 +306,7 @@ "properties": { "actionType": { "type": "string", - "description": "Specifies the action to take for each instance within the instance group. This can be RECREATE which will recreate each instance and is only available for managed instance groups. It can also be REBOOT which performs a soft reboot for each instance and is only available for regular (non-managed) instance groups." + "description": "Specifies the action to take for each instance within the instance group. This can be RECREATE which will recreate each instance and is only available for managed instance groups. It can also be REBOOT which performs a soft reboot for each instance and is only available for regular (non-managed) instance groups and explicit lists of instances." }, "creationTimestamp": { "type": "string", @@ -349,16 +349,23 @@ }, "instanceGroup": { "type": "string", - "description": "Fully-qualified URL of an instance group being updated. Exactly one of instanceGroupManager and instanceGroup must be set." + "description": "Fully-qualified URL of an instance group being updated. Exactly one of instanceGroupManager, instanceGroup and instance list must be set." }, "instanceGroupManager": { "type": "string", - "description": "Fully-qualified URL of an instance group manager being updated. Exactly one of instanceGroupManager and instanceGroup must be set." + "description": "Fully-qualified URL of an instance group manager being updated. Exactly one of instanceGroupManager, instanceGroup and instance list must be set." }, "instanceTemplate": { "type": "string", "description": "Fully-qualified URL of an instance template to apply." }, + "instances": { + "type": "array", + "description": "List of fully-qualified URLs of instances to be updated. Exactly one of instanceGroupManager, instanceGroup and instance list must be set.", + "items": { + "type": "string" + } + }, "kind": { "type": "string", "description": "[Output Only] Type of the resource.", @@ -373,17 +380,6 @@ "description": "Number of instances updated before the update gets automatically paused.", "format": "int32" }, - "canary": { - "type": "object", - "description": "Parameters of a canary phase. If absent, canary will NOT be performed.", - "properties": { - "numInstances": { - "type": "integer", - "description": "Number of instances updated as a part of canary phase. If absent, the default number of instances will be used.", - "format": "int32" - } - } - }, "instanceStartupTimeoutSec": { "type": "integer", "description": "Maximum amount of time we will wait after finishing all steps until we receive HEALTHY state for instance. If this deadline is exceeded instance update is considered as failed.", diff --git a/etc/api/resourceviews/v1beta1/resourceviews-api.json b/etc/api/resourceviews/v1beta1/resourceviews-api.json index fbc523b73b..c7ea7d894a 100644 --- a/etc/api/resourceviews/v1beta1/resourceviews-api.json +++ b/etc/api/resourceviews/v1beta1/resourceviews-api.json @@ -1,6 +1,6 @@ { "kind": "discovery#restDescription", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/2oa8SMSfpFS6UKNS3wRm4F3v1wQ\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/2oa8SMSfpFS6UKNS3wRm4F3v1wQ\"", "discoveryVersion": "v1", "id": "resourceviews:v1beta1", "name": "resourceviews", diff --git a/etc/api/resourceviews/v1beta2/resourceviews-api.json b/etc/api/resourceviews/v1beta2/resourceviews-api.json index 1ab4624fe1..04ee95678b 100644 --- a/etc/api/resourceviews/v1beta2/resourceviews-api.json +++ b/etc/api/resourceviews/v1beta2/resourceviews-api.json @@ -1,6 +1,6 @@ { "kind": "discovery#restDescription", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/h07P0KWaqrcoR1sKo_9XnasKmIs\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/h07P0KWaqrcoR1sKo_9XnasKmIs\"", "discoveryVersion": "v1", "id": "resourceviews:v1beta2", "name": "resourceviews", diff --git a/etc/api/siteverification/v1/siteverification-api.json b/etc/api/siteverification/v1/siteverification-api.json index af2132e675..69f87cae94 100644 --- a/etc/api/siteverification/v1/siteverification-api.json +++ b/etc/api/siteverification/v1/siteverification-api.json @@ -1,6 +1,6 @@ { "kind": "discovery#restDescription", - "etag": "\"FrPV2U6xXFUq8eRv_PO3IoAURkc/RwYHc_wr_RI-M8LU9rCXtGC2FOg\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/RwYHc_wr_RI-M8LU9rCXtGC2FOg\"", "discoveryVersion": "v1", "id": "siteVerification:v1", "name": "siteVerification", diff --git a/etc/api/storage/v1/storage-api.json b/etc/api/storage/v1/storage-api.json index adbe20e939..b51af93a24 100644 --- a/etc/api/storage/v1/storage-api.json +++ b/etc/api/storage/v1/storage-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/_1g57dSUpbId-W-VlfiwZJYq_Tc\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/WtTf6ro2iQev4qTGU1TluezVrLo\"", "discoveryVersion": "v1", "id": "storage:v1", "name": "storage", "version": "v1", - "revision": "20141112", + "revision": "20150213", "title": "Cloud Storage API", "description": "Lets you store and retrieve potentially-large, immutable data objects.", "ownerDomain": "google.com", diff --git a/etc/api/storage/v1beta1/storage-api.json b/etc/api/storage/v1beta1/storage-api.json index b0319e319e..f25445b3e8 100644 --- a/etc/api/storage/v1beta1/storage-api.json +++ b/etc/api/storage/v1beta1/storage-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/--kbHbD1ylfgYf5jjY5PzcBb6t4\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/FFuVN6zcTRK4eumdj4BGzUuM_8U\"", "discoveryVersion": "v1", "id": "storage:v1beta1", "name": "storage", "version": "v1beta1", - "revision": "20141229", + "revision": "20150213", "title": "Cloud Storage API", "description": "Lets you store and retrieve potentially-large, immutable data objects.", "ownerDomain": "google.com", diff --git a/etc/api/storage/v1beta2/storage-api.json b/etc/api/storage/v1beta2/storage-api.json index b552bed41c..2603c5c279 100644 --- a/etc/api/storage/v1beta2/storage-api.json +++ b/etc/api/storage/v1beta2/storage-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/15LYn2He35ZdsKeqcXSKVIUDAPY\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/MzqqLpuNzYlU_ce6acHZ6SSx7l0\"", "discoveryVersion": "v1", "id": "storage:v1beta2", "name": "storage", "version": "v1beta2", - "revision": "20141229", + "revision": "20150213", "title": "Cloud Storage API", "description": "Lets you store and retrieve potentially-large, immutable data objects.", "ownerDomain": "google.com", diff --git a/etc/api/urlshortener/v1/urlshortener-api.json b/etc/api/urlshortener/v1/urlshortener-api.json index 4d0502796d..f08eb3f84b 100644 --- a/etc/api/urlshortener/v1/urlshortener-api.json +++ b/etc/api/urlshortener/v1/urlshortener-api.json @@ -1,11 +1,11 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/0cbm1ejxCEt_jSRBcXxhj-fnxEs\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/1C30NWlxHwCp4oEi0Zm2pnP1A5E\"", "discoveryVersion": "v1", "id": "urlshortener:v1", "name": "urlshortener", "version": "v1", - "revision": "20141210", + "revision": "20150219", "title": "URL Shortener API", "description": "Lets you create, inspect, and manage goo.gl short URLs", "ownerDomain": "google.com", diff --git a/etc/api/webfonts/v1/webfonts-api.json b/etc/api/webfonts/v1/webfonts-api.json index fc0fe8c3dc..93a7bf3029 100644 --- a/etc/api/webfonts/v1/webfonts-api.json +++ b/etc/api/webfonts/v1/webfonts-api.json @@ -1,6 +1,6 @@ { "kind": "discovery#restDescription", - "etag": "\"FrPV2U6xXFUq8eRv_PO3IoAURkc/uRZcMEbTVS9rWZxqJQOe5kJsXfo\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/uRZcMEbTVS9rWZxqJQOe5kJsXfo\"", "discoveryVersion": "v1", "id": "webfonts:v1", "name": "webfonts", diff --git a/etc/api/webmasters/v3/webmasters-api.json b/etc/api/webmasters/v3/webmasters-api.json index d3cb4dc13c..1dc73c3903 100644 --- a/etc/api/webmasters/v3/webmasters-api.json +++ b/etc/api/webmasters/v3/webmasters-api.json @@ -1,6 +1,6 @@ { "kind": "discovery#restDescription", - "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/sCAxuVQJb4ynjZxsnsm28T2muEw\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/sCAxuVQJb4ynjZxsnsm28T2muEw\"", "discoveryVersion": "v1", "id": "webmasters:v3", "name": "webmasters", diff --git a/etc/api/youtube/v3/youtube-api.json b/etc/api/youtube/v3/youtube-api.json index 61e44cf0e8..c3ddaee26a 100644 --- a/etc/api/youtube/v3/youtube-api.json +++ b/etc/api/youtube/v3/youtube-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/e9llQCBHLfl4GdN8_SFJWpjcLpU\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/HVk1_aaqWFJChNS_pb8qXf9T_6g\"", "discoveryVersion": "v1", "id": "youtube:v3", "name": "youtube", "canonicalName": "YouTube", "version": "v3", - "revision": "20150218", + "revision": "20150309", "title": "YouTube Data API", "description": "Programmatic access to YouTube features.", "ownerDomain": "google.com", @@ -73,6 +73,9 @@ "https://www.googleapis.com/auth/youtube": { "description": "Manage your YouTube account" }, + "https://www.googleapis.com/auth/youtube.force-ssl": { + "description": "Manage your YouTube account" + }, "https://www.googleapis.com/auth/youtube.readonly": { "description": "View your YouTube account" }, @@ -5551,7 +5554,8 @@ "$ref": "Activity" }, "scopes": [ - "https://www.googleapis.com/auth/youtube" + "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl" ] }, "list": { @@ -5621,6 +5625,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly" ] } @@ -5648,6 +5653,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.upload" ], "supportsMediaUpload": true, @@ -5697,6 +5703,7 @@ ], "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ] }, @@ -5734,6 +5741,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ] }, @@ -5778,6 +5786,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner" ] @@ -5811,6 +5820,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ] } @@ -5888,6 +5898,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner", "https://www.googleapis.com/auth/youtubepartner-channel-audit" @@ -5922,6 +5933,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ] } @@ -5966,6 +5978,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner" ] @@ -6001,6 +6014,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner" ] @@ -6036,6 +6050,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner" ] @@ -6086,7 +6101,8 @@ "$ref": "LiveBroadcast" }, "scopes": [ - "https://www.googleapis.com/auth/youtube" + "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl" ] }, "control": { @@ -6143,7 +6159,8 @@ "$ref": "LiveBroadcast" }, "scopes": [ - "https://www.googleapis.com/auth/youtube" + "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl" ] }, "delete": { @@ -6173,7 +6190,8 @@ "id" ], "scopes": [ - "https://www.googleapis.com/auth/youtube" + "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl" ] }, "insert": { @@ -6209,7 +6227,8 @@ "$ref": "LiveBroadcast" }, "scopes": [ - "https://www.googleapis.com/auth/youtube" + "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl" ] }, "list": { @@ -6284,6 +6303,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly" ] }, @@ -6341,7 +6361,8 @@ "$ref": "LiveBroadcast" }, "scopes": [ - "https://www.googleapis.com/auth/youtube" + "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl" ] }, "update": { @@ -6377,7 +6398,8 @@ "$ref": "LiveBroadcast" }, "scopes": [ - "https://www.googleapis.com/auth/youtube" + "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl" ] } } @@ -6411,7 +6433,8 @@ "id" ], "scopes": [ - "https://www.googleapis.com/auth/youtube" + "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl" ] }, "insert": { @@ -6447,7 +6470,8 @@ "$ref": "LiveStream" }, "scopes": [ - "https://www.googleapis.com/auth/youtube" + "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl" ] }, "list": { @@ -6505,6 +6529,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly" ] }, @@ -6541,7 +6566,8 @@ "$ref": "LiveStream" }, "scopes": [ - "https://www.googleapis.com/auth/youtube" + "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl" ] } } @@ -6566,6 +6592,7 @@ ], "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ] }, @@ -6598,6 +6625,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ] }, @@ -6656,6 +6684,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner" ], @@ -6685,6 +6714,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ] } @@ -6715,6 +6745,7 @@ ], "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ] }, @@ -6752,6 +6783,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ] }, @@ -6815,6 +6847,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner" ] @@ -6848,6 +6881,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ] } @@ -7151,6 +7185,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner" ] @@ -7177,6 +7212,7 @@ ], "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ] }, @@ -7204,6 +7240,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ] }, @@ -7293,6 +7330,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner" ] @@ -7327,6 +7365,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.upload", "https://www.googleapis.com/auth/youtubepartner" ], @@ -7391,6 +7430,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner" ] @@ -7422,6 +7462,7 @@ ], "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ] }, @@ -7451,6 +7492,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ] }, @@ -7504,6 +7546,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.upload", "https://www.googleapis.com/auth/youtubepartner" ], @@ -7616,6 +7659,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.readonly", "https://www.googleapis.com/auth/youtubepartner" ] @@ -7660,6 +7704,7 @@ ], "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ] }, @@ -7692,6 +7737,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ] } @@ -7725,6 +7771,7 @@ }, "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtube.upload", "https://www.googleapis.com/auth/youtubepartner" ], @@ -7771,6 +7818,7 @@ ], "scopes": [ "https://www.googleapis.com/auth/youtube", + "https://www.googleapis.com/auth/youtube.force-ssl", "https://www.googleapis.com/auth/youtubepartner" ] } diff --git a/etc/api/youtubeanalytics/v1/youtubeanalytics-api.json b/etc/api/youtubeanalytics/v1/youtubeanalytics-api.json index b2be6cbc0a..dc29e59a51 100644 --- a/etc/api/youtubeanalytics/v1/youtubeanalytics-api.json +++ b/etc/api/youtubeanalytics/v1/youtubeanalytics-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/mgPC2o6emzAE7yocMVmScgLphrM\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Zoj2QNc62Iq34KyKgNb23b-JnD8\"", "discoveryVersion": "v1", "id": "youtubeAnalytics:v1", "name": "youtubeAnalytics", "canonicalName": "YouTube Analytics", "version": "v1", - "revision": "20150213", + "revision": "20150227", "title": "YouTube Analytics API", "description": "Retrieve your YouTube Analytics reports.", "ownerDomain": "google.com", diff --git a/etc/api/youtubeanalytics/v1beta1/youtubeanalytics-api.json b/etc/api/youtubeanalytics/v1beta1/youtubeanalytics-api.json index c84bd6e5c0..8d32a159a4 100644 --- a/etc/api/youtubeanalytics/v1beta1/youtubeanalytics-api.json +++ b/etc/api/youtubeanalytics/v1beta1/youtubeanalytics-api.json @@ -1,12 +1,12 @@ { "kind": "discovery#restDescription", - "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/qYnCbO50tBJQh7cxSXJ680n-meg\"", + "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/OA1845UIyhDx4Pbq_uwDYxxJabA\"", "discoveryVersion": "v1", "id": "youtubeAnalytics:v1beta1", "name": "youtubeAnalytics", "canonicalName": "YouTube Analytics", "version": "v1beta1", - "revision": "20150213", + "revision": "20150227", "title": "YouTube Analytics API", "description": "Retrieve your YouTube Analytics reports.", "ownerDomain": "google.com", diff --git a/etc/bin/update-json.sh b/etc/bin/update-json.sh deleted file mode 100755 index ecd247dd11..0000000000 --- a/etc/bin/update-json.sh +++ /dev/null @@ -1,12 +0,0 @@ -#!/bin/bash - -repo_path=${1:?First argument must be the part to the google go API clients repository} -api_base=${2:?Second argument must be the destination path to which to copy the APIs} - -(cd ${repo_path} && git pull --ff-only) || exit $? - -for json_path in `cd ${repo_path} && find . -type f -name "*-api.json" -or -name "*-gen.go"`; do - dest=${api_base}/`dirname ${json_path}` - mkdir -p ${dest} || exit $? - cp ${repo_path}/${json_path} ${dest} || exit $? -done \ No newline at end of file diff --git a/gen/youtube3/src/lib.rs b/gen/youtube3/src/lib.rs index 9d56406da0..4315378e9c 100644 --- a/gen/youtube3/src/lib.rs +++ b/gen/youtube3/src/lib.rs @@ -215,6 +215,9 @@ pub enum Scope { /// Manage your YouTube account Full, + /// Manage your YouTube account + ForceSsl, + /// View and manage your assets and associated content on YouTube Partner, @@ -228,6 +231,7 @@ impl Str for Scope { Scope::PartnerChannelAudit => "https://www.googleapis.com/auth/youtubepartner-channel-audit", Scope::Readonly => "https://www.googleapis.com/auth/youtube.readonly", Scope::Full => "https://www.googleapis.com/auth/youtube", + Scope::ForceSsl => "https://www.googleapis.com/auth/youtube.force-ssl", Scope::Partner => "https://www.googleapis.com/auth/youtubepartner", Scope::Upload => "https://www.googleapis.com/auth/youtube.upload", } @@ -6659,6 +6663,7 @@ impl<'a, C, NC, A> ActivityMethodsBuilder<'a, C, NC, A> { /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtube.readonly* /// * *https://www.googleapis.com/auth/youtubepartner* /// @@ -7020,6 +7025,7 @@ impl<'a, C, NC, A> ChannelBannerInsertMethodBuilder<'a, C, NC, A> where NC: hype /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtube.readonly* /// * *https://www.googleapis.com/auth/youtubepartner* /// @@ -7233,6 +7239,7 @@ impl<'a, C, NC, A> ChannelSectionListMethodBuilder<'a, C, NC, A> where NC: hyper /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtubepartner* /// /// # Example @@ -7604,6 +7611,7 @@ impl<'a, C, NC, A> ChannelSectionDeleteMethodBuilder<'a, C, NC, A> where NC: hyp /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtubepartner* /// /// # Example @@ -7805,6 +7813,7 @@ impl<'a, C, NC, A> ChannelSectionUpdateMethodBuilder<'a, C, NC, A> where NC: hyp /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtube.readonly* /// * *https://www.googleapis.com/auth/youtubepartner* /// @@ -8002,6 +8011,7 @@ impl<'a, C, NC, A> GuideCategoryListMethodBuilder<'a, C, NC, A> where NC: hyper: /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtubepartner* /// /// # Example @@ -8222,6 +8232,7 @@ impl<'a, C, NC, A> PlaylistInsertMethodBuilder<'a, C, NC, A> where NC: hyper::ne /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtube.readonly* /// * *https://www.googleapis.com/auth/youtubepartner* /// @@ -8632,6 +8643,7 @@ impl<'a, C, NC, A> PlaylistDeleteMethodBuilder<'a, C, NC, A> where NC: hyper::ne /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtubepartner* /// /// # Example @@ -9027,6 +9039,7 @@ impl<'a, C, NC, A> ThumbnailSetMethodBuilder<'a, C, NC, A> where NC: hyper::net: /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtube.readonly* /// * *https://www.googleapis.com/auth/youtubepartner* /// @@ -9813,6 +9826,7 @@ impl<'a, C, NC, A> VideoDeleteMethodBuilder<'a, C, NC, A> where NC: hyper::net:: /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtubepartner* /// /// # Example @@ -10058,6 +10072,7 @@ impl<'a, C, NC, A> VideoUpdateMethodBuilder<'a, C, NC, A> where NC: hyper::net:: /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtube.upload* /// * *https://www.googleapis.com/auth/youtubepartner* /// @@ -10376,6 +10391,7 @@ impl<'a, C, NC, A> VideoInsertMethodBuilder<'a, C, NC, A> where NC: hyper::net:: /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtubepartner* /// /// # Example @@ -10563,6 +10579,7 @@ impl<'a, C, NC, A> SubscriptionInsertMethodBuilder<'a, C, NC, A> where NC: hyper /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtube.readonly* /// * *https://www.googleapis.com/auth/youtubepartner* /// @@ -10996,6 +11013,7 @@ impl<'a, C, NC, A> SubscriptionDeleteMethodBuilder<'a, C, NC, A> where NC: hyper /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtube.readonly* /// * *https://www.googleapis.com/auth/youtubepartner* /// @@ -11535,6 +11553,7 @@ impl<'a, C, NC, A> SearchListMethodBuilder<'a, C, NC, A> where NC: hyper::net::N /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtube.readonly* /// * *https://www.googleapis.com/auth/youtubepartner* /// @@ -11703,7 +11722,10 @@ impl<'a, C, NC, A> I18nRegionListMethodBuilder<'a, C, NC, A> where NC: hyper::ne /// /// # Scopes /// -/// You will need authorization for the *https://www.googleapis.com/auth/youtube* scope to make a valid call. +/// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: +/// +/// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// /// # Example /// @@ -12101,6 +12123,7 @@ impl<'a, C, NC, A> LiveStreamDeleteMethodBuilder<'a, C, NC, A> where NC: hyper:: /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtube.readonly* /// /// # Example @@ -12341,7 +12364,10 @@ impl<'a, C, NC, A> LiveStreamListMethodBuilder<'a, C, NC, A> where NC: hyper::ne /// /// # Scopes /// -/// You will need authorization for the *https://www.googleapis.com/auth/youtube* scope to make a valid call. +/// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: +/// +/// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// /// # Example /// @@ -12565,6 +12591,7 @@ impl<'a, C, NC, A> LiveStreamInsertMethodBuilder<'a, C, NC, A> where NC: hyper:: /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtubepartner* /// /// # Example @@ -12770,6 +12797,7 @@ impl<'a, C, NC, A> ChannelUpdateMethodBuilder<'a, C, NC, A> where NC: hyper::net /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtube.readonly* /// * *https://www.googleapis.com/auth/youtubepartner* /// * *https://www.googleapis.com/auth/youtubepartner-channel-audit* @@ -13190,6 +13218,7 @@ impl<'a, C, NC, A> PlaylistItemDeleteMethodBuilder<'a, C, NC, A> where NC: hyper /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtube.readonly* /// * *https://www.googleapis.com/auth/youtubepartner* /// @@ -13431,6 +13460,7 @@ impl<'a, C, NC, A> PlaylistItemListMethodBuilder<'a, C, NC, A> where NC: hyper:: /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtubepartner* /// /// # Example @@ -13636,6 +13666,7 @@ impl<'a, C, NC, A> PlaylistItemInsertMethodBuilder<'a, C, NC, A> where NC: hyper /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtubepartner* /// /// # Example @@ -14174,7 +14205,10 @@ impl<'a, C, NC, A> WatermarkUnsetMethodBuilder<'a, C, NC, A> where NC: hyper::ne /// /// # Scopes /// -/// You will need authorization for the *https://www.googleapis.com/auth/youtube* scope to make a valid call. +/// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: +/// +/// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// /// # Example /// @@ -14417,7 +14451,10 @@ impl<'a, C, NC, A> LiveBroadcastControlMethodBuilder<'a, C, NC, A> where NC: hyp /// /// # Scopes /// -/// You will need authorization for the *https://www.googleapis.com/auth/youtube* scope to make a valid call. +/// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: +/// +/// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// /// # Example /// @@ -14642,7 +14679,10 @@ impl<'a, C, NC, A> LiveBroadcastUpdateMethodBuilder<'a, C, NC, A> where NC: hype /// /// # Scopes /// -/// You will need authorization for the *https://www.googleapis.com/auth/youtube* scope to make a valid call. +/// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: +/// +/// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// /// # Example /// @@ -14865,7 +14905,10 @@ impl<'a, C, NC, A> LiveBroadcastInsertMethodBuilder<'a, C, NC, A> where NC: hype /// /// # Scopes /// -/// You will need authorization for the *https://www.googleapis.com/auth/youtube* scope to make a valid call. +/// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: +/// +/// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// /// # Example /// @@ -15081,6 +15124,7 @@ impl<'a, C, NC, A> LiveBroadcastBindMethodBuilder<'a, C, NC, A> where NC: hyper: /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtube.readonly* /// /// # Example @@ -15504,7 +15548,10 @@ impl<'a, C, NC, A> LiveBroadcastDeleteMethodBuilder<'a, C, NC, A> where NC: hype /// /// # Scopes /// -/// You will need authorization for the *https://www.googleapis.com/auth/youtube* scope to make a valid call. +/// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: +/// +/// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// /// # Example /// @@ -15717,6 +15764,7 @@ impl<'a, C, NC, A> LiveBroadcastTransitionMethodBuilder<'a, C, NC, A> where NC: /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtube.readonly* /// * *https://www.googleapis.com/auth/youtubepartner* /// @@ -15913,6 +15961,7 @@ impl<'a, C, NC, A> VideoCategoryListMethodBuilder<'a, C, NC, A> where NC: hyper: /// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: /// /// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// * *https://www.googleapis.com/auth/youtube.readonly* /// /// # Example @@ -16174,7 +16223,10 @@ impl<'a, C, NC, A> ActivityListMethodBuilder<'a, C, NC, A> where NC: hyper::net: /// /// # Scopes /// -/// You will need authorization for the *https://www.googleapis.com/auth/youtube* scope to make a valid call. +/// You will need authorization for at least one of the following scopes to make a valid call, possibly depending on *parts*: +/// +/// * *https://www.googleapis.com/auth/youtube* +/// * *https://www.googleapis.com/auth/youtube.force-ssl* /// /// # Example /// diff --git a/src/mako/deps.mako b/src/mako/deps.mako index 1caab53972..1dbcf727ed 100644 --- a/src/mako/deps.mako +++ b/src/mako/deps.mako @@ -4,13 +4,19 @@ <% import os + import urllib2 + import json - api_info=[] + api_info = [] doc_root = directories.output + '/doc' doc_index = doc_root + '/index.html' to_doc_root = lambda gen_root, api_name: gen_root + '/target/doc/' + api_name central_api_index = lambda api_name: doc_root + '/' + api_name + '/index.html' + + discovery_url = 'https://www.googleapis.com/discovery/v1/' + apis = json.loads(urllib2.urlopen(discovery_url + "apis").read()) + json_api_targets = [] %>\ % for an, versions in api.list.iteritems(): % if an in api.get('blacklist', list()): @@ -82,12 +88,14 @@ ${doc_index}: ${' '.join(central_api_index(a[0]) for a in api_info)} $(MAKO_STAN docs: ${doc_index} docs-clean: - rm -Rf ${doc_root} + rm -Rf ${doc_root} github-pages: | docs-clean docs - ghp-import -n -p ${doc_root} + ghp-import -n ${doc_root} + ## Have to force-push - I think it resets the branch, thus not keeping history (?) + git push origin +gh-pages -.PHONY += $(.PHONY) github-pages help-api clean-apis cargo apis docs docs-clean ${space_join(0)} ${space_join(1)} ${space_join(2)} ${space_join(3)} +.PHONY += update-json github-pages help-api clean-apis cargo apis docs docs-clean ${space_join(0)} ${space_join(1)} ${space_join(2)} ${space_join(3)} help-api: $(info apis - make all APIs) @@ -96,4 +104,20 @@ help-api: $(info ${a[1]} - clean all generated files of the ${a[0]} api) $(info ${a[2]} - run cargo on the ${a[0]} api, using given ARGS="arg1 ...") $(info ${a[3]} - run cargo doc on the ${a[0]}") -% endfor \ No newline at end of file +% endfor + +% for info in apis['items']: +<% + target_dir = directories.api_base + '/' + info['name'] + '/' + info['version'] + target = target_dir + '/' + info['name'] + '-api.json' + ## assure the target never actually exists to force him to wget whenver we ask ! + fake_target = target + '-force' + json_api_targets.append(fake_target) +%>\ +${fake_target}: + @mkdir -p ${target_dir} + @wget -nv ${discovery_url + info['discoveryLink']} -O ${target} +% endfor + +update-json: ${' '.join(json_api_targets)} + $(API_VERSION_GEN) etc/api $(API_LIST) $(API_LIST)