Skip to content

Commit

Permalink
fix(json-up): update json files from discovery API
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Mar 23, 2015
1 parent 4bfdc9f commit fca1b24
Show file tree
Hide file tree
Showing 25 changed files with 169 additions and 143 deletions.
4 changes: 2 additions & 2 deletions etc/api/adexchangeseller/v1.1/adexchangeseller-api.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/aZqXglKYhHRY6tGe90wBk2vmheM\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/y2tMEEkujb5LT8DLkEGoW5HkbsM\"",
"discoveryVersion": "v1",
"id": "adexchangeseller:v1.1",
"name": "adexchangeseller",
"canonicalName": "Ad Exchange Seller",
"version": "v1.1",
"revision": "20150313",
"revision": "20150309",
"title": "Ad Exchange Seller API",
"description": "Gives Ad Exchange seller users access to their inventory and the ability to generate reports",
"ownerDomain": "google.com",
Expand Down
4 changes: 2 additions & 2 deletions etc/api/adexchangeseller/v1/adexchangeseller-api.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/gjjXjsHj8UTCjwoWB0KNSdU5LXw\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Zj_ph7MjMyK1JOe_cD70ADx5fWU\"",
"discoveryVersion": "v1",
"id": "adexchangeseller:v1",
"name": "adexchangeseller",
"canonicalName": "Ad Exchange Seller",
"version": "v1",
"revision": "20150313",
"revision": "20150309",
"title": "Ad Exchange Seller API",
"description": "Gives Ad Exchange seller users access to their inventory and the ability to generate reports",
"ownerDomain": "google.com",
Expand Down
4 changes: 2 additions & 2 deletions etc/api/adexchangeseller/v2.0/adexchangeseller-api.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/eWJUNKoCWvcmB-gqHTIWg1zs684\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/H8WDg0Nur5h_1Q2BX364s1LPs3I\"",
"discoveryVersion": "v1",
"id": "adexchangeseller:v2.0",
"name": "adexchangeseller",
"canonicalName": "Ad Exchange Seller",
"version": "v2.0",
"revision": "20150313",
"revision": "20150309",
"title": "Ad Exchange Seller API",
"description": "Gives Ad Exchange seller users access to their inventory and the ability to generate reports",
"ownerDomain": "google.com",
Expand Down
4 changes: 2 additions & 2 deletions etc/api/adsense/v1.2/adsense-api.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/_i2OsA9ICnxLuGp5SQSlE-RCl-A\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/-FrqC-jIxvy2sc9AlNC0ZccFTRk\"",
"discoveryVersion": "v1",
"id": "adsense:v1.2",
"name": "adsense",
"canonicalName": "AdSense",
"version": "v1.2",
"revision": "20150312",
"revision": "20150303",
"title": "AdSense Management API",
"description": "Gives AdSense publishers access to their inventory and the ability to generate reports",
"ownerDomain": "google.com",
Expand Down
4 changes: 2 additions & 2 deletions etc/api/adsense/v1.3/adsense-api.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Y1tUkFc0QQNBtKHfd75UEcFQizo\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/FNJ61jujsZ7ohdEz4dCcNtaBYmU\"",
"discoveryVersion": "v1",
"id": "adsense:v1.3",
"name": "adsense",
"canonicalName": "AdSense",
"version": "v1.3",
"revision": "20150312",
"revision": "20150303",
"title": "AdSense Management API",
"description": "Gives AdSense publishers access to their inventory and the ability to generate reports",
"ownerDomain": "google.com",
Expand Down
4 changes: 2 additions & 2 deletions etc/api/adsense/v1.4/adsense-api.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/WPPN58Hu3NNElRYylPbHwGhmbWg\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/pFmAR2Afn5zZPQSMHiuFnVoYOlo\"",
"discoveryVersion": "v1",
"id": "adsense:v1.4",
"name": "adsense",
"canonicalName": "AdSense",
"version": "v1.4",
"revision": "20150312",
"revision": "20150303",
"title": "AdSense Management API",
"description": "Gives AdSense publishers access to their inventory and the ability to generate reports",
"ownerDomain": "google.com",
Expand Down
4 changes: 2 additions & 2 deletions etc/api/adsensehost/v4.1/adsensehost-api.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/VI6vr1MPx9avVWB1RXoHKqps2IQ\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/zD5lcdBnLu86dXD5zTlV2_SuDvw\"",
"discoveryVersion": "v1",
"id": "adsensehost:v4.1",
"name": "adsensehost",
"canonicalName": "AdSense Host",
"version": "v4.1",
"revision": "20150302",
"revision": "20150309",
"title": "AdSense Host API",
"description": "Gives AdSense Hosts access to report generation, ad code generation, and publisher management capabilities.",
"ownerDomain": "google.com",
Expand Down
5 changes: 2 additions & 3 deletions etc/api/androidenterprise/v1/androidenterprise-api.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/9BMK5_o_n_N_P1hnt8lUE8D0PAc\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/xO3KylrQCbUrcOq8RnL7dFXtEdE\"",
"discoveryVersion": "v1",
"id": "androidenterprise:v1",
"name": "androidenterprise",
"canonicalName": "Android Enterprise",
"version": "v1",
"revision": "20150218",
"revision": "20141112",
"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",
Expand All @@ -15,7 +15,6 @@
"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/",
Expand Down
4 changes: 2 additions & 2 deletions etc/api/appstate/v1/appstate-api.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/wF6a9fy-tMHnLuTi-jt8Kr-pBko\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/V7spaXfIE6n16q8EZ-6hNZAvPE8\"",
"discoveryVersion": "v1",
"id": "appstate:v1",
"name": "appstate",
"canonicalName": "App State",
"version": "v1",
"revision": "20150309",
"revision": "20150316",
"title": "Google App State API",
"description": "The Google App State API.",
"ownerDomain": "google.com",
Expand Down
4 changes: 2 additions & 2 deletions etc/api/bigquery/v2/bigquery-api.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/QxG7oirHrzfDxJoQseQwOqPzaG0\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/kj3eqmT8Off2g0tmMTVlF1gcsUY\"",
"discoveryVersion": "v1",
"id": "bigquery:v2",
"name": "bigquery",
"version": "v2",
"revision": "20141112",
"revision": "20150303",
"title": "BigQuery API",
"description": "A data platform for customers to create, manage, share and query data.",
"ownerDomain": "google.com",
Expand Down
4 changes: 2 additions & 2 deletions etc/api/calendar/v3/calendar-api.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/chLcvyYPKZ3ZS_IQi224D9BXunY\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/0tpC9BbaQPK_TZmlZK5cHsIr_JY\"",
"discoveryVersion": "v1",
"id": "calendar:v3",
"name": "calendar",
"version": "v3",
"revision": "20141123",
"revision": "20150303",
"title": "Calendar API",
"description": "Lets you manipulate events and other calendar data.",
"ownerDomain": "google.com",
Expand Down
4 changes: 2 additions & 2 deletions etc/api/container/v1beta1/container-api.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/wCeuMXXipTCS576X35guh0r20IE\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/3N05SjqVUed3uHTISW29X_-aqcI\"",
"discoveryVersion": "v1",
"id": "container:v1beta1",
"name": "container",
"version": "v1beta1",
"revision": "20150223",
"revision": "20150316",
"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",
Expand Down
32 changes: 28 additions & 4 deletions etc/api/content/v2/content-api.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/zR3ABmOvk7fZqleULAj42NskVkA\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/Jg5IFKTqCcIBJROG8QNmsXQ1iso\"",
"discoveryVersion": "v1",
"id": "content:v2",
"name": "content",
"canonicalName": "Shopping Content",
"version": "v2",
"revision": "20150311",
"revision": "20150317",
"title": "Content API for Shopping",
"description": "Manage product items, inventory, and Merchant Center accounts for Google Shopping.",
"ownerDomain": "google.com",
Expand Down Expand Up @@ -157,7 +157,6 @@
"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",
Expand Down Expand Up @@ -699,7 +698,7 @@
"properties": {
"accountIdentifiers": {
"type": "array",
"description": "The account identifiers corresponding to the authenticated user.",
"description": "The account identifiers 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.",
"items": {
"$ref": "AccountIdentifier"
}
Expand Down Expand Up @@ -1823,6 +1822,13 @@
"type": "string",
"description": "Target age group of the item."
},
"aspects": {
"type": "array",
"description": "Specifies the intended aspects for the product.",
"items": {
"$ref": "ProductAspect"
}
},
"availability": {
"type": "string",
"description": "Availability status of the item."
Expand Down Expand Up @@ -2123,6 +2129,24 @@
}
}
},
"ProductAspect": {
"id": "ProductAspect",
"type": "object",
"properties": {
"aspectName": {
"type": "string",
"description": "The name of the aspect."
},
"destinationName": {
"type": "string",
"description": "The name of the destination. Leave out to apply to all destinations."
},
"intention": {
"type": "string",
"description": "Whether the aspect is required, excluded or should be validated."
}
}
},
"ProductCustomAttribute": {
"id": "ProductCustomAttribute",
"type": "object",
Expand Down
27 changes: 14 additions & 13 deletions etc/api/fusiontables/v1/fusiontables-api.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
{
"kind": "discovery#restDescription",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/SYuz2YU3ZsxTEiZdfXCeGmNn9r0\"",
"etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/_HDQvvrmU1Cf0bBIzjf-H39NJ10\"",
"discoveryVersion": "v1",
"id": "fusiontables:v1",
"name": "fusiontables",
"version": "v1",
"revision": "20141113",
"revision": "20150226",
"title": "Fusion Tables API",
"description": "API for working with Fusion Tables data.",
"ownerDomain": "google.com",
Expand Down Expand Up @@ -194,7 +194,7 @@
},
"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."
"description": "Token used to access the next page of this result. No token is displayed if there are no more pages left."
},
"totalItems": {
"type": "integer",
Expand Down Expand Up @@ -543,7 +543,7 @@
},
"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."
"description": "Token used to access the next page of this result. No token is displayed if there are no more pages left."
},
"totalItems": {
"type": "integer",
Expand Down Expand Up @@ -643,18 +643,18 @@
},
"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."
"description": "Token used to access the next page of this result. No token is displayed if there are no more pages left."
}
}
},
"Task": {
"id": "Task",
"type": "object",
"description": "Specifies the id, name and type of a task in a table.",
"description": "Specifies the identifier, name, and type of a task in a table.",
"properties": {
"kind": {
"type": "string",
"description": "Type name: a template for an individual task.",
"description": "Type of the resource. This is always \"fusiontables#task\".",
"default": "fusiontables#task"
},
"progress": {
Expand All @@ -663,22 +663,23 @@
},
"started": {
"type": "boolean",
"description": "False while the table is busy with some other task."
"description": "false while the table is busy with some other task. true if this background task is currently running."
},
"taskId": {
"type": "string",
"description": "Identifier for the task.",
"format": "int64"
},
"type": {
"type": "string"
"type": "string",
"description": "Type of background task. One of DELETE_ROWS Deletes one or more rows from the table. ADD_ROWS \"Adds one or more rows to a table. Includes importing data into a new table and importing more rows into an existing table. ADD_COLUMN Adds a new column to the table. CHANGE_TYPE Changes the type of a column."
}
}
},
"TaskList": {
"id": "TaskList",
"type": "object",
"description": "Represents a list of tasks in a table.",
"description": "Represents a list of tasks for a table.",
"properties": {
"items": {
"type": "array",
Expand All @@ -689,12 +690,12 @@
},
"kind": {
"type": "string",
"description": "Type name: a list of all tasks.",
"description": "Type of the resource. This is always \"fusiontables#taskList\".",
"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."
"description": "Token used to access the next page of this result. No token is displayed if there are no more pages left."
},
"totalItems": {
"type": "integer",
Expand Down Expand Up @@ -758,7 +759,7 @@
},
"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."
"description": "Token used to access the next page of this result. No token is displayed if there are no more pages left."
},
"totalItems": {
"type": "integer",
Expand Down
Loading

0 comments on commit fca1b24

Please sign in to comment.