@@ -1,19 +1,19 @@
2 "kind": "discovery#restDescription",
2 "kind": "discovery#restDescription",
3− "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/H8XFBmK9nsQJLvg6ILPFKZilzA4\"",
3+ "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/tlViSJX3ylU_pw2F3DxMwdFrJio\"",
4 "discoveryVersion": "v1",
4 "discoveryVersion": "v1",
5 "id": "surveys:v2",
5 "id": "surveys:v2",
6 "name": "surveys",
6 "name": "surveys",
7 "canonicalName": "Surveys",
7 "canonicalName": "Surveys",
8 "version": "v2",
8 "version": "v2",
9− "revision": "20161010",
9+ "revision": "20161103",
10 "title": "Surveys API",
10 "title": "Surveys API",
11 "description": "Creates and conducts surveys, lists the surveys that an authenticated user owns, and retrieves survey results and information about specified surveys.",
11 "description": "Creates and conducts surveys, lists the surveys that an authenticated user owns, and retrieves survey results and information about specified surveys.",
12 "ownerDomain": "google.com",
12 "ownerDomain": "google.com",
13 "ownerName": "Google",
13 "ownerName": "Google",
14 "icons": {
14 "icons": {
15− "x16": "http://www.google.com/images/icons/product/search-16.gif",
15+ "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
16− "x32": "http://www.google.com/images/icons/product/search-32.gif"
16+ "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
18 "protocol": "rest",
18 "protocol": "rest",
19 "baseUrl": "https://www.googleapis.com/surveys/v2/",
19 "baseUrl": "https://www.googleapis.com/surveys/v2/",
@@ -69,11 +69,11 @@
70 "oauth2": {
70 "oauth2": {
71 "scopes": {
71 "scopes": {
72− "https://www.googleapis.com/auth/consumersurveys": {
72+ "https://www.googleapis.com/auth/surveys": {
73− "description": "View and edit your surveys and results"
73+ "description": "View and manage your surveys and results"
75− "https://www.googleapis.com/auth/consumersurveys.readonly": {
75+ "https://www.googleapis.com/auth/surveys.readonly": {
76− "description": "View the results for your surveys"
76+ "description": "View your surveys and survey results"
78 "https://www.googleapis.com/auth/userinfo.email": {
78 "https://www.googleapis.com/auth/userinfo.email": {
79 "description": "View your email address"
79 "description": "View your email address"
@@ -224,6 +224,11 @@
224 "description": "List of email addresses for survey owners. Must contain at least the address of the user making the API call.",
224 "description": "List of email addresses for survey owners. Must contain at least the address of the user making the API call.",
225 "items": {
225 "items": {
226 "type": "string"
226 "type": "string"
230+ "surveys.surveys.insert"
229 "questions": {
234 "questions": {
@@ -231,11 +236,16 @@
231 "description": "List of questions defining the survey.",
236 "description": "List of questions defining the survey.",
232 "items": {
237 "items": {
233 "$ref": "SurveyQuestion"
238 "$ref": "SurveyQuestion"
242+ "surveys.surveys.insert"
236 "rejectionReason": {
246 "rejectionReason": {
237 "$ref": "SurveyRejection",
247 "$ref": "SurveyRejection",
238− "description": "Reason for the survey being rejected. Only present if the survey state is 'rejected'."
248+ "description": "Reason for the survey being rejected. Only present if the survey state is rejected."
240 "state": {
250 "state": {
241 "type": "string",
251 "type": "string",
@@ -270,7 +280,12 @@
271 "country": {
281 "country": {
272 "type": "string",
282 "type": "string",
273− "description": "Required country code that surveys should be targeted to. Accepts standard ISO 3166-1 2 character language codes. For instance, 'US' for the United States, and 'GB' for the United Kingdom."
283+ "description": "Required country code that surveys should be targeted to. Accepts standard ISO 3166-1 2 character language codes. For instance, 'US' for the United States, and 'GB' for the United Kingdom.",
286+ "surveys.surveys.insert"
275 "countrySubdivision": {
290 "countrySubdivision": {
276 "type": "string",
291 "type": "string",
@@ -285,6 +300,11 @@
285 "description": "Language code that surveys should be targeted to. For instance, 'en-US'. Surveys may target bilingual users by specifying a list of language codes (for example, 'de' and 'en-US'). In that case, all languages will be used for targeting users but the survey content (which is displayed) must match the first language listed. Accepts standard BCP47 language codes. See specification.",
300 "description": "Language code that surveys should be targeted to. For instance, 'en-US'. Surveys may target bilingual users by specifying a list of language codes (for example, 'de' and 'en-US'). In that case, all languages will be used for targeting users but the survey content (which is displayed) must match the first language listed. Accepts standard BCP47 language codes. See specification.",
286 "items": {
301 "items": {
287 "type": "string"
302 "type": "string"
306+ "surveys.surveys.insert"
290 "mobileAppPanelId": {
310 "mobileAppPanelId": {
@@ -401,7 +421,12 @@
402 "type": {
422 "type": {
403 "type": "string",
423 "type": "string",
404− "description": "Required field defining the question type. For details about configuring different type of questions, consult the question configuration guide."
424+ "description": "Required field defining the question type. For details about configuring different type of questions, consult the question configuration guide.",
427+ "surveys.surveys.insert"
406 "unitOfMeasurementLabel": {
431 "unitOfMeasurementLabel": {
407 "type": "string",
432 "type": "string",
@@ -444,7 +469,7 @@
445 "type": {
470 "type": {
446 "type": "string",
471 "type": "string",
447− "description": "Which category of rejection this was. See the GCS Help Center for additional details on each category."
472+ "description": "Which category of rejection this was. See the Google Surveys Help Center for additional details on each category."
@@ -571,8 +596,8 @@
571 "$ref": "MobileAppPanel"
596 "$ref": "MobileAppPanel"
573 "scopes": [
598 "scopes": [
574− "https://www.googleapis.com/auth/consumersurveys",
599+ "https://www.googleapis.com/auth/surveys",
575− "https://www.googleapis.com/auth/consumersurveys.readonly",
600+ "https://www.googleapis.com/auth/surveys.readonly",
576 "https://www.googleapis.com/auth/userinfo.email"
601 "https://www.googleapis.com/auth/userinfo.email"
@@ -601,8 +626,8 @@
601 "$ref": "MobileAppPanelsListResponse"
626 "$ref": "MobileAppPanelsListResponse"
603 "scopes": [
628 "scopes": [
604− "https://www.googleapis.com/auth/consumersurveys",
629+ "https://www.googleapis.com/auth/surveys",
605− "https://www.googleapis.com/auth/consumersurveys.readonly",
630+ "https://www.googleapis.com/auth/surveys.readonly",
606 "https://www.googleapis.com/auth/userinfo.email"
631 "https://www.googleapis.com/auth/userinfo.email"
@@ -629,7 +654,7 @@
629 "$ref": "MobileAppPanel"
654 "$ref": "MobileAppPanel"
631 "scopes": [
656 "scopes": [
632− "https://www.googleapis.com/auth/consumersurveys",
657+ "https://www.googleapis.com/auth/surveys",
633 "https://www.googleapis.com/auth/userinfo.email"
658 "https://www.googleapis.com/auth/userinfo.email"
@@ -660,8 +685,8 @@
660 "$ref": "SurveyResults"
685 "$ref": "SurveyResults"
662 "scopes": [
687 "scopes": [
663− "https://www.googleapis.com/auth/consumersurveys",
688+ "https://www.googleapis.com/auth/surveys",
664− "https://www.googleapis.com/auth/consumersurveys.readonly",
689+ "https://www.googleapis.com/auth/surveys.readonly",
665 "https://www.googleapis.com/auth/userinfo.email"
690 "https://www.googleapis.com/auth/userinfo.email"
667 "supportsMediaDownload": true
692 "supportsMediaDownload": true
@@ -690,7 +715,7 @@
690 "$ref": "SurveysDeleteResponse"
715 "$ref": "SurveysDeleteResponse"
692 "scopes": [
717 "scopes": [
693− "https://www.googleapis.com/auth/consumersurveys",
718+ "https://www.googleapis.com/auth/surveys",
694 "https://www.googleapis.com/auth/userinfo.email"
719 "https://www.googleapis.com/auth/userinfo.email"
@@ -714,8 +739,8 @@
714 "$ref": "Survey"
739 "$ref": "Survey"
716 "scopes": [
741 "scopes": [
717− "https://www.googleapis.com/auth/consumersurveys",
742+ "https://www.googleapis.com/auth/surveys",
718− "https://www.googleapis.com/auth/consumersurveys.readonly",
743+ "https://www.googleapis.com/auth/surveys.readonly",
719 "https://www.googleapis.com/auth/userinfo.email"
744 "https://www.googleapis.com/auth/userinfo.email"
@@ -731,7 +756,7 @@
731 "$ref": "Survey"
756 "$ref": "Survey"
733 "scopes": [
758 "scopes": [
734− "https://www.googleapis.com/auth/consumersurveys",
759+ "https://www.googleapis.com/auth/surveys",
735 "https://www.googleapis.com/auth/userinfo.email"
760 "https://www.googleapis.com/auth/userinfo.email"
@@ -760,8 +785,8 @@
760 "$ref": "SurveysListResponse"
785 "$ref": "SurveysListResponse"
762 "scopes": [
787 "scopes": [
763− "https://www.googleapis.com/auth/consumersurveys",
788+ "https://www.googleapis.com/auth/surveys",
764− "https://www.googleapis.com/auth/consumersurveys.readonly",
789+ "https://www.googleapis.com/auth/surveys.readonly",
765 "https://www.googleapis.com/auth/userinfo.email"
790 "https://www.googleapis.com/auth/userinfo.email"
@@ -787,7 +812,7 @@
787 "$ref": "SurveysStartResponse"
812 "$ref": "SurveysStartResponse"
789 "scopes": [
814 "scopes": [
790− "https://www.googleapis.com/auth/consumersurveys",
815+ "https://www.googleapis.com/auth/surveys",
791 "https://www.googleapis.com/auth/userinfo.email"
816 "https://www.googleapis.com/auth/userinfo.email"
@@ -810,7 +835,7 @@
810 "$ref": "SurveysStopResponse"
835 "$ref": "SurveysStopResponse"
812 "scopes": [
837 "scopes": [
813− "https://www.googleapis.com/auth/consumersurveys",
838+ "https://www.googleapis.com/auth/surveys",
814 "https://www.googleapis.com/auth/userinfo.email"
839 "https://www.googleapis.com/auth/userinfo.email"
@@ -837,7 +862,7 @@
837 "$ref": "Survey"
862 "$ref": "Survey"
839 "scopes": [
864 "scopes": [
840− "https://www.googleapis.com/auth/consumersurveys",
865+ "https://www.googleapis.com/auth/surveys",
841 "https://www.googleapis.com/auth/userinfo.email"
866 "https://www.googleapis.com/auth/userinfo.email"