| OLD | NEW |
| 1 { | 1 { |
| 2 "auth": { | 2 "auth": { |
| 3 "oauth2": { | 3 "oauth2": { |
| 4 "scopes": { | 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/consumersurveys": { | 5 "https://www.googleapis.com/auth/surveys": { |
| 6 "description": "View and edit your surveys and results" | 6 "description": "View and manage your surveys and results" |
| 7 }, | 7 }, |
| 8 "https://www.googleapis.com/auth/consumersurveys.readonly": { | 8 "https://www.googleapis.com/auth/surveys.readonly": { |
| 9 "description": "View the results for your surveys" | 9 "description": "View your surveys and survey results" |
| 10 }, | 10 }, |
| 11 "https://www.googleapis.com/auth/userinfo.email": { | 11 "https://www.googleapis.com/auth/userinfo.email": { |
| 12 "description": "View your email address" | 12 "description": "View your email address" |
| 13 } | 13 } |
| 14 } | 14 } |
| 15 } | 15 } |
| 16 }, | 16 }, |
| 17 "basePath": "/consumersurveys/v2/", | 17 "basePath": "/surveys/v2/", |
| 18 "baseUrl": "https://www.googleapis.com/consumersurveys/v2/", | 18 "baseUrl": "https://www.googleapis.com/surveys/v2/", |
| 19 "batchPath": "batch", | 19 "batchPath": "batch", |
| 20 "canonicalName": "Consumer Surveys", | 20 "canonicalName": "Surveys", |
| 21 "description": "Creates and conducts surveys, lists the surveys that an auth
enticated user owns, and retrieves survey results and information about specifie
d surveys.", | 21 "description": "Creates and conducts surveys, lists the surveys that an auth
enticated user owns, and retrieves survey results and information about specifie
d surveys.", |
| 22 "discoveryVersion": "v1", | 22 "discoveryVersion": "v1", |
| 23 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/r9HedtrzUW2pbu5XQ5oErnzKmxQ\"", | 23 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/6fZP85KIl1fykMUO-HK10xFnDKI\"", |
| 24 "icons": { | 24 "icons": { |
| 25 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 25 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 26 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 26 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 27 }, | 27 }, |
| 28 "id": "consumersurveys:v2", | 28 "id": "surveys:v2", |
| 29 "kind": "discovery#restDescription", | 29 "kind": "discovery#restDescription", |
| 30 "name": "consumersurveys", | 30 "name": "surveys", |
| 31 "ownerDomain": "google.com", | 31 "ownerDomain": "google.com", |
| 32 "ownerName": "Google", | 32 "ownerName": "Google", |
| 33 "parameters": { | 33 "parameters": { |
| 34 "alt": { | 34 "alt": { |
| 35 "default": "json", | 35 "default": "json", |
| 36 "description": "Data format for the response.", | 36 "description": "Data format for the response.", |
| 37 "enum": [ | 37 "enum": [ |
| 38 "json" | 38 "json" |
| 39 ], | 39 ], |
| 40 "enumDescriptions": [ | 40 "enumDescriptions": [ |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 "type": "string" | 75 "type": "string" |
| 76 } | 76 } |
| 77 }, | 77 }, |
| 78 "protocol": "rest", | 78 "protocol": "rest", |
| 79 "resources": { | 79 "resources": { |
| 80 "mobileapppanels": { | 80 "mobileapppanels": { |
| 81 "methods": { | 81 "methods": { |
| 82 "get": { | 82 "get": { |
| 83 "description": "Retrieves a MobileAppPanel that is available
to the authenticated user.", | 83 "description": "Retrieves a MobileAppPanel that is available
to the authenticated user.", |
| 84 "httpMethod": "GET", | 84 "httpMethod": "GET", |
| 85 "id": "consumersurveys.mobileapppanels.get", | 85 "id": "surveys.mobileapppanels.get", |
| 86 "parameterOrder": [ | 86 "parameterOrder": [ |
| 87 "panelId" | 87 "panelId" |
| 88 ], | 88 ], |
| 89 "parameters": { | 89 "parameters": { |
| 90 "panelId": { | 90 "panelId": { |
| 91 "description": "External URL ID for the panel.", | 91 "description": "External URL ID for the panel.", |
| 92 "location": "path", | 92 "location": "path", |
| 93 "required": true, | 93 "required": true, |
| 94 "type": "string" | 94 "type": "string" |
| 95 } | 95 } |
| 96 }, | 96 }, |
| 97 "path": "mobileAppPanels/{panelId}", | 97 "path": "mobileAppPanels/{panelId}", |
| 98 "response": { | 98 "response": { |
| 99 "$ref": "MobileAppPanel" | 99 "$ref": "MobileAppPanel" |
| 100 }, | 100 }, |
| 101 "scopes": [ | 101 "scopes": [ |
| 102 "https://www.googleapis.com/auth/consumersurveys", | 102 "https://www.googleapis.com/auth/surveys", |
| 103 "https://www.googleapis.com/auth/consumersurveys.readonl
y", | 103 "https://www.googleapis.com/auth/surveys.readonly", |
| 104 "https://www.googleapis.com/auth/userinfo.email" | 104 "https://www.googleapis.com/auth/userinfo.email" |
| 105 ] | 105 ] |
| 106 }, | 106 }, |
| 107 "list": { | 107 "list": { |
| 108 "description": "Lists the MobileAppPanels available to the a
uthenticated user.", | 108 "description": "Lists the MobileAppPanels available to the a
uthenticated user.", |
| 109 "httpMethod": "GET", | 109 "httpMethod": "GET", |
| 110 "id": "consumersurveys.mobileapppanels.list", | 110 "id": "surveys.mobileapppanels.list", |
| 111 "parameters": { | 111 "parameters": { |
| 112 "maxResults": { | 112 "maxResults": { |
| 113 "format": "uint32", | 113 "format": "uint32", |
| 114 "location": "query", | 114 "location": "query", |
| 115 "type": "integer" | 115 "type": "integer" |
| 116 }, | 116 }, |
| 117 "startIndex": { | 117 "startIndex": { |
| 118 "format": "uint32", | 118 "format": "uint32", |
| 119 "location": "query", | 119 "location": "query", |
| 120 "type": "integer" | 120 "type": "integer" |
| 121 }, | 121 }, |
| 122 "token": { | 122 "token": { |
| 123 "location": "query", | 123 "location": "query", |
| 124 "type": "string" | 124 "type": "string" |
| 125 } | 125 } |
| 126 }, | 126 }, |
| 127 "path": "mobileAppPanels", | 127 "path": "mobileAppPanels", |
| 128 "response": { | 128 "response": { |
| 129 "$ref": "MobileAppPanelsListResponse" | 129 "$ref": "MobileAppPanelsListResponse" |
| 130 }, | 130 }, |
| 131 "scopes": [ | 131 "scopes": [ |
| 132 "https://www.googleapis.com/auth/consumersurveys", | 132 "https://www.googleapis.com/auth/surveys", |
| 133 "https://www.googleapis.com/auth/consumersurveys.readonl
y", | 133 "https://www.googleapis.com/auth/surveys.readonly", |
| 134 "https://www.googleapis.com/auth/userinfo.email" | 134 "https://www.googleapis.com/auth/userinfo.email" |
| 135 ] | 135 ] |
| 136 }, | 136 }, |
| 137 "update": { | 137 "update": { |
| 138 "description": "Updates a MobileAppPanel. Currently the only
property that can be updated is the owners property.", | 138 "description": "Updates a MobileAppPanel. Currently the only
property that can be updated is the owners property.", |
| 139 "httpMethod": "PUT", | 139 "httpMethod": "PUT", |
| 140 "id": "consumersurveys.mobileapppanels.update", | 140 "id": "surveys.mobileapppanels.update", |
| 141 "parameterOrder": [ | 141 "parameterOrder": [ |
| 142 "panelId" | 142 "panelId" |
| 143 ], | 143 ], |
| 144 "parameters": { | 144 "parameters": { |
| 145 "panelId": { | 145 "panelId": { |
| 146 "description": "External URL ID for the panel.", | 146 "description": "External URL ID for the panel.", |
| 147 "location": "path", | 147 "location": "path", |
| 148 "required": true, | 148 "required": true, |
| 149 "type": "string" | 149 "type": "string" |
| 150 } | 150 } |
| 151 }, | 151 }, |
| 152 "path": "mobileAppPanels/{panelId}", | 152 "path": "mobileAppPanels/{panelId}", |
| 153 "request": { | 153 "request": { |
| 154 "$ref": "MobileAppPanel" | 154 "$ref": "MobileAppPanel" |
| 155 }, | 155 }, |
| 156 "response": { | 156 "response": { |
| 157 "$ref": "MobileAppPanel" | 157 "$ref": "MobileAppPanel" |
| 158 }, | 158 }, |
| 159 "scopes": [ | 159 "scopes": [ |
| 160 "https://www.googleapis.com/auth/consumersurveys", | 160 "https://www.googleapis.com/auth/surveys", |
| 161 "https://www.googleapis.com/auth/userinfo.email" | 161 "https://www.googleapis.com/auth/userinfo.email" |
| 162 ] | 162 ] |
| 163 } | 163 } |
| 164 } | 164 } |
| 165 }, | 165 }, |
| 166 "results": { | 166 "results": { |
| 167 "methods": { | 167 "methods": { |
| 168 "get": { | 168 "get": { |
| 169 "description": "Retrieves any survey results that have been
produced so far. Results are formatted as an Excel file.", | 169 "description": "Retrieves any survey results that have been
produced so far. Results are formatted as an Excel file. You must add \"?alt=med
ia\" to the URL as an argument to get results.", |
| 170 "httpMethod": "GET", | 170 "httpMethod": "GET", |
| 171 "id": "consumersurveys.results.get", | 171 "id": "surveys.results.get", |
| 172 "parameterOrder": [ | 172 "parameterOrder": [ |
| 173 "surveyUrlId" | 173 "surveyUrlId" |
| 174 ], | 174 ], |
| 175 "parameters": { | 175 "parameters": { |
| 176 "surveyUrlId": { | 176 "surveyUrlId": { |
| 177 "description": "External URL ID for the survey.", | 177 "description": "External URL ID for the survey.", |
| 178 "location": "path", | 178 "location": "path", |
| 179 "required": true, | 179 "required": true, |
| 180 "type": "string" | 180 "type": "string" |
| 181 } | 181 } |
| 182 }, | 182 }, |
| 183 "path": "surveys/{surveyUrlId}/results", | 183 "path": "surveys/{surveyUrlId}/results", |
| 184 "request": { | 184 "request": { |
| 185 "$ref": "ResultsGetRequest" | 185 "$ref": "ResultsGetRequest" |
| 186 }, | 186 }, |
| 187 "response": { | 187 "response": { |
| 188 "$ref": "SurveyResults" | 188 "$ref": "SurveyResults" |
| 189 }, | 189 }, |
| 190 "scopes": [ | 190 "scopes": [ |
| 191 "https://www.googleapis.com/auth/consumersurveys", | 191 "https://www.googleapis.com/auth/surveys", |
| 192 "https://www.googleapis.com/auth/consumersurveys.readonl
y", | 192 "https://www.googleapis.com/auth/surveys.readonly", |
| 193 "https://www.googleapis.com/auth/userinfo.email" | 193 "https://www.googleapis.com/auth/userinfo.email" |
| 194 ], | 194 ], |
| 195 "supportsMediaDownload": true | 195 "supportsMediaDownload": true |
| 196 } | 196 } |
| 197 } | 197 } |
| 198 }, | 198 }, |
| 199 "surveys": { | 199 "surveys": { |
| 200 "methods": { | 200 "methods": { |
| 201 "delete": { | 201 "delete": { |
| 202 "description": "Removes a survey from view in all user GET r
equests.", | 202 "description": "Removes a survey from view in all user GET r
equests.", |
| 203 "httpMethod": "DELETE", | 203 "httpMethod": "DELETE", |
| 204 "id": "consumersurveys.surveys.delete", | 204 "id": "surveys.surveys.delete", |
| 205 "parameterOrder": [ | 205 "parameterOrder": [ |
| 206 "surveyUrlId" | 206 "surveyUrlId" |
| 207 ], | 207 ], |
| 208 "parameters": { | 208 "parameters": { |
| 209 "surveyUrlId": { | 209 "surveyUrlId": { |
| 210 "description": "External URL ID for the survey.", | 210 "description": "External URL ID for the survey.", |
| 211 "location": "path", | 211 "location": "path", |
| 212 "required": true, | 212 "required": true, |
| 213 "type": "string" | 213 "type": "string" |
| 214 } | 214 } |
| 215 }, | 215 }, |
| 216 "path": "surveys/{surveyUrlId}", | 216 "path": "surveys/{surveyUrlId}", |
| 217 "response": { | 217 "response": { |
| 218 "$ref": "SurveysDeleteResponse" | 218 "$ref": "SurveysDeleteResponse" |
| 219 }, | 219 }, |
| 220 "scopes": [ | 220 "scopes": [ |
| 221 "https://www.googleapis.com/auth/consumersurveys", | 221 "https://www.googleapis.com/auth/surveys", |
| 222 "https://www.googleapis.com/auth/userinfo.email" | 222 "https://www.googleapis.com/auth/userinfo.email" |
| 223 ] | 223 ] |
| 224 }, | 224 }, |
| 225 "get": { | 225 "get": { |
| 226 "description": "Retrieves information about the specified su
rvey.", | 226 "description": "Retrieves information about the specified su
rvey.", |
| 227 "httpMethod": "GET", | 227 "httpMethod": "GET", |
| 228 "id": "consumersurveys.surveys.get", | 228 "id": "surveys.surveys.get", |
| 229 "parameterOrder": [ | 229 "parameterOrder": [ |
| 230 "surveyUrlId" | 230 "surveyUrlId" |
| 231 ], | 231 ], |
| 232 "parameters": { | 232 "parameters": { |
| 233 "surveyUrlId": { | 233 "surveyUrlId": { |
| 234 "description": "External URL ID for the survey.", | 234 "description": "External URL ID for the survey.", |
| 235 "location": "path", | 235 "location": "path", |
| 236 "required": true, | 236 "required": true, |
| 237 "type": "string" | 237 "type": "string" |
| 238 } | 238 } |
| 239 }, | 239 }, |
| 240 "path": "surveys/{surveyUrlId}", | 240 "path": "surveys/{surveyUrlId}", |
| 241 "response": { | 241 "response": { |
| 242 "$ref": "Survey" | 242 "$ref": "Survey" |
| 243 }, | 243 }, |
| 244 "scopes": [ | 244 "scopes": [ |
| 245 "https://www.googleapis.com/auth/consumersurveys", | 245 "https://www.googleapis.com/auth/surveys", |
| 246 "https://www.googleapis.com/auth/consumersurveys.readonl
y", | 246 "https://www.googleapis.com/auth/surveys.readonly", |
| 247 "https://www.googleapis.com/auth/userinfo.email" | 247 "https://www.googleapis.com/auth/userinfo.email" |
| 248 ] | 248 ] |
| 249 }, | 249 }, |
| 250 "insert": { | 250 "insert": { |
| 251 "description": "Creates a survey.", | 251 "description": "Creates a survey.", |
| 252 "httpMethod": "POST", | 252 "httpMethod": "POST", |
| 253 "id": "consumersurveys.surveys.insert", | 253 "id": "surveys.surveys.insert", |
| 254 "path": "surveys", | 254 "path": "surveys", |
| 255 "request": { | 255 "request": { |
| 256 "$ref": "Survey" | 256 "$ref": "Survey" |
| 257 }, | 257 }, |
| 258 "response": { | 258 "response": { |
| 259 "$ref": "Survey" | 259 "$ref": "Survey" |
| 260 }, | 260 }, |
| 261 "scopes": [ | 261 "scopes": [ |
| 262 "https://www.googleapis.com/auth/consumersurveys", | 262 "https://www.googleapis.com/auth/surveys", |
| 263 "https://www.googleapis.com/auth/userinfo.email" | 263 "https://www.googleapis.com/auth/userinfo.email" |
| 264 ] | 264 ] |
| 265 }, | 265 }, |
| 266 "list": { | 266 "list": { |
| 267 "description": "Lists the surveys owned by the authenticated
user.", | 267 "description": "Lists the surveys owned by the authenticated
user.", |
| 268 "httpMethod": "GET", | 268 "httpMethod": "GET", |
| 269 "id": "consumersurveys.surveys.list", | 269 "id": "surveys.surveys.list", |
| 270 "parameters": { | 270 "parameters": { |
| 271 "maxResults": { | 271 "maxResults": { |
| 272 "format": "uint32", | 272 "format": "uint32", |
| 273 "location": "query", | 273 "location": "query", |
| 274 "type": "integer" | 274 "type": "integer" |
| 275 }, | 275 }, |
| 276 "startIndex": { | 276 "startIndex": { |
| 277 "format": "uint32", | 277 "format": "uint32", |
| 278 "location": "query", | 278 "location": "query", |
| 279 "type": "integer" | 279 "type": "integer" |
| 280 }, | 280 }, |
| 281 "token": { | 281 "token": { |
| 282 "location": "query", | 282 "location": "query", |
| 283 "type": "string" | 283 "type": "string" |
| 284 } | 284 } |
| 285 }, | 285 }, |
| 286 "path": "surveys", | 286 "path": "surveys", |
| 287 "response": { | 287 "response": { |
| 288 "$ref": "SurveysListResponse" | 288 "$ref": "SurveysListResponse" |
| 289 }, | 289 }, |
| 290 "scopes": [ | 290 "scopes": [ |
| 291 "https://www.googleapis.com/auth/consumersurveys", | 291 "https://www.googleapis.com/auth/surveys", |
| 292 "https://www.googleapis.com/auth/consumersurveys.readonl
y", | 292 "https://www.googleapis.com/auth/surveys.readonly", |
| 293 "https://www.googleapis.com/auth/userinfo.email" | 293 "https://www.googleapis.com/auth/userinfo.email" |
| 294 ] | 294 ] |
| 295 }, | 295 }, |
| 296 "start": { | 296 "start": { |
| 297 "description": "Begins running a survey.", | 297 "description": "Begins running a survey.", |
| 298 "httpMethod": "POST", | 298 "httpMethod": "POST", |
| 299 "id": "consumersurveys.surveys.start", | 299 "id": "surveys.surveys.start", |
| 300 "parameterOrder": [ | 300 "parameterOrder": [ |
| 301 "resourceId" | 301 "resourceId" |
| 302 ], | 302 ], |
| 303 "parameters": { | 303 "parameters": { |
| 304 "resourceId": { | 304 "resourceId": { |
| 305 "location": "path", | 305 "location": "path", |
| 306 "required": true, | 306 "required": true, |
| 307 "type": "string" | 307 "type": "string" |
| 308 } | 308 } |
| 309 }, | 309 }, |
| 310 "path": "surveys/{resourceId}/start", | 310 "path": "surveys/{resourceId}/start", |
| 311 "request": { | 311 "request": { |
| 312 "$ref": "SurveysStartRequest" | 312 "$ref": "SurveysStartRequest" |
| 313 }, | 313 }, |
| 314 "response": { | 314 "response": { |
| 315 "$ref": "SurveysStartResponse" | 315 "$ref": "SurveysStartResponse" |
| 316 }, | 316 }, |
| 317 "scopes": [ | 317 "scopes": [ |
| 318 "https://www.googleapis.com/auth/consumersurveys", | 318 "https://www.googleapis.com/auth/surveys", |
| 319 "https://www.googleapis.com/auth/userinfo.email" | 319 "https://www.googleapis.com/auth/userinfo.email" |
| 320 ] | 320 ] |
| 321 }, | 321 }, |
| 322 "stop": { | 322 "stop": { |
| 323 "description": "Stops a running survey.", | 323 "description": "Stops a running survey.", |
| 324 "httpMethod": "POST", | 324 "httpMethod": "POST", |
| 325 "id": "consumersurveys.surveys.stop", | 325 "id": "surveys.surveys.stop", |
| 326 "parameterOrder": [ | 326 "parameterOrder": [ |
| 327 "resourceId" | 327 "resourceId" |
| 328 ], | 328 ], |
| 329 "parameters": { | 329 "parameters": { |
| 330 "resourceId": { | 330 "resourceId": { |
| 331 "location": "path", | 331 "location": "path", |
| 332 "required": true, | 332 "required": true, |
| 333 "type": "string" | 333 "type": "string" |
| 334 } | 334 } |
| 335 }, | 335 }, |
| 336 "path": "surveys/{resourceId}/stop", | 336 "path": "surveys/{resourceId}/stop", |
| 337 "response": { | 337 "response": { |
| 338 "$ref": "SurveysStopResponse" | 338 "$ref": "SurveysStopResponse" |
| 339 }, | 339 }, |
| 340 "scopes": [ | 340 "scopes": [ |
| 341 "https://www.googleapis.com/auth/consumersurveys", | 341 "https://www.googleapis.com/auth/surveys", |
| 342 "https://www.googleapis.com/auth/userinfo.email" | 342 "https://www.googleapis.com/auth/userinfo.email" |
| 343 ] | 343 ] |
| 344 }, | 344 }, |
| 345 "update": { | 345 "update": { |
| 346 "description": "Updates a survey. Currently the only propert
y that can be updated is the owners property.", | 346 "description": "Updates a survey. Currently the only propert
y that can be updated is the owners property.", |
| 347 "httpMethod": "PUT", | 347 "httpMethod": "PUT", |
| 348 "id": "consumersurveys.surveys.update", | 348 "id": "surveys.surveys.update", |
| 349 "parameterOrder": [ | 349 "parameterOrder": [ |
| 350 "surveyUrlId" | 350 "surveyUrlId" |
| 351 ], | 351 ], |
| 352 "parameters": { | 352 "parameters": { |
| 353 "surveyUrlId": { | 353 "surveyUrlId": { |
| 354 "description": "External URL ID for the survey.", | 354 "description": "External URL ID for the survey.", |
| 355 "location": "path", | 355 "location": "path", |
| 356 "required": true, | 356 "required": true, |
| 357 "type": "string" | 357 "type": "string" |
| 358 } | 358 } |
| 359 }, | 359 }, |
| 360 "path": "surveys/{surveyUrlId}", | 360 "path": "surveys/{surveyUrlId}", |
| 361 "request": { | 361 "request": { |
| 362 "$ref": "Survey" | 362 "$ref": "Survey" |
| 363 }, | 363 }, |
| 364 "response": { | 364 "response": { |
| 365 "$ref": "Survey" | 365 "$ref": "Survey" |
| 366 }, | 366 }, |
| 367 "scopes": [ | 367 "scopes": [ |
| 368 "https://www.googleapis.com/auth/consumersurveys", | 368 "https://www.googleapis.com/auth/surveys", |
| 369 "https://www.googleapis.com/auth/userinfo.email" | 369 "https://www.googleapis.com/auth/userinfo.email" |
| 370 ] | 370 ] |
| 371 } | 371 } |
| 372 } | 372 } |
| 373 } | 373 } |
| 374 }, | 374 }, |
| 375 "revision": "20160718", | 375 "revision": "20161103", |
| 376 "rootUrl": "https://www.googleapis.com/", | 376 "rootUrl": "https://www.googleapis.com/", |
| 377 "schemas": { | 377 "schemas": { |
| 378 "FieldMask": { | 378 "FieldMask": { |
| 379 "id": "FieldMask", | 379 "id": "FieldMask", |
| 380 "properties": { | 380 "properties": { |
| 381 "fields": { | 381 "fields": { |
| 382 "items": { | 382 "items": { |
| 383 "$ref": "FieldMask" | 383 "$ref": "FieldMask" |
| 384 }, | 384 }, |
| 385 "type": "array" | 385 "type": "array" |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 507 "format": "byte", | 507 "format": "byte", |
| 508 "type": "string" | 508 "type": "string" |
| 509 }, | 509 }, |
| 510 "description": { | 510 "description": { |
| 511 "description": "Text description of the survey.", | 511 "description": "Text description of the survey.", |
| 512 "type": "string" | 512 "type": "string" |
| 513 }, | 513 }, |
| 514 "owners": { | 514 "owners": { |
| 515 "annotations": { | 515 "annotations": { |
| 516 "required": [ | 516 "required": [ |
| 517 "consumersurveys.surveys.insert" | 517 "surveys.surveys.insert" |
| 518 ] | 518 ] |
| 519 }, | 519 }, |
| 520 "description": "List of email addresses for survey owners. M
ust contain at least the address of the user making the API call.", | 520 "description": "List of email addresses for survey owners. M
ust contain at least the address of the user making the API call.", |
| 521 "items": { | 521 "items": { |
| 522 "type": "string" | 522 "type": "string" |
| 523 }, | 523 }, |
| 524 "type": "array" | 524 "type": "array" |
| 525 }, | 525 }, |
| 526 "questions": { | 526 "questions": { |
| 527 "annotations": { | 527 "annotations": { |
| 528 "required": [ | 528 "required": [ |
| 529 "consumersurveys.surveys.insert" | 529 "surveys.surveys.insert" |
| 530 ] | 530 ] |
| 531 }, | 531 }, |
| 532 "description": "List of questions defining the survey.", | 532 "description": "List of questions defining the survey.", |
| 533 "items": { | 533 "items": { |
| 534 "$ref": "SurveyQuestion" | 534 "$ref": "SurveyQuestion" |
| 535 }, | 535 }, |
| 536 "type": "array" | 536 "type": "array" |
| 537 }, | 537 }, |
| 538 "rejectionReason": { |
| 539 "$ref": "SurveyRejection", |
| 540 "description": "Reason for the survey being rejected. Only p
resent if the survey state is rejected." |
| 541 }, |
| 538 "state": { | 542 "state": { |
| 539 "description": "State that the survey is in.", | 543 "description": "State that the survey is in.", |
| 540 "type": "string" | 544 "type": "string" |
| 541 }, | 545 }, |
| 542 "surveyUrlId": { | 546 "surveyUrlId": { |
| 543 "description": "Unique survey ID, that is viewable in the UR
L of the Survey Creator UI", | 547 "description": "Unique survey ID, that is viewable in the UR
L of the Survey Creator UI", |
| 544 "type": "string" | 548 "type": "string" |
| 545 }, | 549 }, |
| 546 "title": { | 550 "title": { |
| 547 "description": "Optional name that will be given to the surv
ey.", | 551 "description": "Optional name that will be given to the surv
ey.", |
| (...skipping 14 matching lines...) Expand all Loading... |
| 562 "ages": { | 566 "ages": { |
| 563 "description": "Optional list of age buckets to target. Supp
orted age buckets are: ['18-24', '25-34', '35-44', '45-54', '55-64', '65+']", | 567 "description": "Optional list of age buckets to target. Supp
orted age buckets are: ['18-24', '25-34', '35-44', '45-54', '55-64', '65+']", |
| 564 "items": { | 568 "items": { |
| 565 "type": "string" | 569 "type": "string" |
| 566 }, | 570 }, |
| 567 "type": "array" | 571 "type": "array" |
| 568 }, | 572 }, |
| 569 "country": { | 573 "country": { |
| 570 "annotations": { | 574 "annotations": { |
| 571 "required": [ | 575 "required": [ |
| 572 "consumersurveys.surveys.insert" | 576 "surveys.surveys.insert" |
| 573 ] | 577 ] |
| 574 }, | 578 }, |
| 575 "description": "Required country code that surveys should be
targeted to. Accepts standard ISO 3166-1 2 character language codes. For instan
ce, 'US' for the United States, and 'GB' for the United Kingdom.", | 579 "description": "Required country code that surveys should be
targeted to. Accepts standard ISO 3166-1 2 character language codes. For instan
ce, 'US' for the United States, and 'GB' for the United Kingdom.", |
| 576 "type": "string" | 580 "type": "string" |
| 577 }, | 581 }, |
| 578 "countrySubdivision": { | 582 "countrySubdivision": { |
| 579 "description": "Country subdivision (states/provinces/etc) t
hat surveys should be targeted to. For all countries except GB, ISO-3166-2 subdi
vision code is required (eg. 'US-OH' for Ohio, United States). For GB, NUTS 1 st
atistical region codes for the United Kingdom is required (eg. 'UK-UKC' for Nort
h East England).", | 583 "description": "Country subdivision (states/provinces/etc) t
hat surveys should be targeted to. For all countries except GB, ISO-3166-2 subdi
vision code is required (eg. 'US-OH' for Ohio, United States). For GB, NUTS 1 st
atistical region codes for the United Kingdom is required (eg. 'UK-UKC' for Nort
h East England).", |
| 580 "type": "string" | 584 "type": "string" |
| 581 }, | 585 }, |
| 582 "gender": { | 586 "gender": { |
| 583 "description": "Optional gender to target.", | 587 "description": "Optional gender to target.", |
| 584 "type": "string" | 588 "type": "string" |
| 585 }, | 589 }, |
| 586 "languages": { | 590 "languages": { |
| 587 "annotations": { | 591 "annotations": { |
| 588 "required": [ | 592 "required": [ |
| 589 "consumersurveys.surveys.insert" | 593 "surveys.surveys.insert" |
| 590 ] | 594 ] |
| 591 }, | 595 }, |
| 592 "description": "Language code that surveys should be targete
d 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 langua
ges will be used for targeting users but the survey content (which is displayed)
must match the first language listed. Accepts standard BCP47 language codes. Se
e specification.", | 596 "description": "Language code that surveys should be targete
d 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 langua
ges will be used for targeting users but the survey content (which is displayed)
must match the first language listed. Accepts standard BCP47 language codes. Se
e specification.", |
| 593 "items": { | 597 "items": { |
| 594 "type": "string" | 598 "type": "string" |
| 595 }, | 599 }, |
| 596 "type": "array" | 600 "type": "array" |
| 597 }, | 601 }, |
| 598 "mobileAppPanelId": { | 602 "mobileAppPanelId": { |
| 599 "description": "Key for predefined panel that causes survey
to be sent to a predefined set of Opinion Rewards App users. You must set Popula
tionSource to ANDROID_APP_PANEL to use this field.", | 603 "description": "Key for predefined panel that causes survey
to be sent to a predefined set of Opinion Rewards App users. You must set Popula
tionSource to ANDROID_APP_PANEL to use this field.", |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 703 "thresholdAnswers": { | 707 "thresholdAnswers": { |
| 704 "description": "The threshold/screener answer options, which
will screen a user into the rest of the survey. These will be a subset of the a
nswer option strings.", | 708 "description": "The threshold/screener answer options, which
will screen a user into the rest of the survey. These will be a subset of the a
nswer option strings.", |
| 705 "items": { | 709 "items": { |
| 706 "type": "string" | 710 "type": "string" |
| 707 }, | 711 }, |
| 708 "type": "array" | 712 "type": "array" |
| 709 }, | 713 }, |
| 710 "type": { | 714 "type": { |
| 711 "annotations": { | 715 "annotations": { |
| 712 "required": [ | 716 "required": [ |
| 713 "consumersurveys.surveys.insert" | 717 "surveys.surveys.insert" |
| 714 ] | 718 ] |
| 715 }, | 719 }, |
| 716 "description": "Required field defining the question type. F
or details about configuring different type of questions, consult the question c
onfiguration guide.", | 720 "description": "Required field defining the question type. F
or details about configuring different type of questions, consult the question c
onfiguration guide.", |
| 717 "type": "string" | 721 "type": "string" |
| 718 }, | 722 }, |
| 719 "unitOfMeasurementLabel": { | 723 "unitOfMeasurementLabel": { |
| 720 "description": "Optional unit of measurement for display (fo
r example: hours, people, miles).", | 724 "description": "Optional unit of measurement for display (fo
r example: hours, people, miles).", |
| 721 "type": "string" | 725 "type": "string" |
| 722 }, | 726 }, |
| 723 "videoId": { | 727 "videoId": { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 740 "format": "byte", | 744 "format": "byte", |
| 741 "type": "string" | 745 "type": "string" |
| 742 }, | 746 }, |
| 743 "url": { | 747 "url": { |
| 744 "description": "The read-only URL for the hosted images.", | 748 "description": "The read-only URL for the hosted images.", |
| 745 "type": "string" | 749 "type": "string" |
| 746 } | 750 } |
| 747 }, | 751 }, |
| 748 "type": "object" | 752 "type": "object" |
| 749 }, | 753 }, |
| 754 "SurveyRejection": { |
| 755 "description": "Message representing why the survey was rejected fro
m review, if it was.", |
| 756 "id": "SurveyRejection", |
| 757 "properties": { |
| 758 "explanation": { |
| 759 "description": "A human-readable explanation of what was wro
ng with the survey.", |
| 760 "type": "string" |
| 761 }, |
| 762 "type": { |
| 763 "description": "Which category of rejection this was. See th
e Google Surveys Help Center for additional details on each category.", |
| 764 "type": "string" |
| 765 } |
| 766 }, |
| 767 "type": "object" |
| 768 }, |
| 750 "SurveyResults": { | 769 "SurveyResults": { |
| 751 "description": "Reference to the current results for a given survey.
", | 770 "description": "Reference to the current results for a given survey.
", |
| 752 "id": "SurveyResults", | 771 "id": "SurveyResults", |
| 753 "properties": { | 772 "properties": { |
| 754 "status": { | 773 "status": { |
| 755 "description": "Human readable string describing the status
of the request.", | 774 "description": "Human readable string describing the status
of the request.", |
| 756 "type": "string" | 775 "type": "string" |
| 757 }, | 776 }, |
| 758 "surveyUrlId": { | 777 "surveyUrlId": { |
| 759 "description": "External survey ID as viewable by survey own
ers in the editor view.", | 778 "description": "External survey ID as viewable by survey own
ers in the editor view.", |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 840 "nextPageToken": { | 859 "nextPageToken": { |
| 841 "type": "string" | 860 "type": "string" |
| 842 }, | 861 }, |
| 843 "previousPageToken": { | 862 "previousPageToken": { |
| 844 "type": "string" | 863 "type": "string" |
| 845 } | 864 } |
| 846 }, | 865 }, |
| 847 "type": "object" | 866 "type": "object" |
| 848 } | 867 } |
| 849 }, | 868 }, |
| 850 "servicePath": "consumersurveys/v2/", | 869 "servicePath": "surveys/v2/", |
| 851 "title": "Consumer Surveys API", | 870 "title": "Surveys API", |
| 852 "version": "v2" | 871 "version": "v2" |
| 853 } | 872 } |
| OLD | NEW |