Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(194)

Side by Side Diff: discovery/googleapis/servicecontrol__v1.json

Issue 2485703002: Api-roll 42: 2016-11-08 (Closed)
Patch Set: Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 }, 7 },
8 "https://www.googleapis.com/auth/servicecontrol": { 8 "https://www.googleapis.com/auth/servicecontrol": {
9 "description": "Manage your Google Service Control data" 9 "description": "Manage your Google Service Control data"
10 } 10 }
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 113 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
114 "location": "query", 114 "location": "query",
115 "type": "string" 115 "type": "string"
116 } 116 }
117 }, 117 },
118 "protocol": "rest", 118 "protocol": "rest",
119 "resources": { 119 "resources": {
120 "services": { 120 "services": {
121 "methods": { 121 "methods": {
122 "check": { 122 "check": {
123 "description": "Checks an operation with Google Service Cont rol to decide whether\nthe given operation should proceed. It should be called b efore the\noperation is executed.\n\nThis method requires the `servicemanagement .services.check` permission\non the specified service. For more information, see \n[Google Cloud IAM](https://cloud.google.com/iam).", 123 "description": "Checks an operation with Google Service Cont rol to decide whether\nthe given operation should proceed. It should be called b efore the\noperation is executed.\n\nIf feasible, the client should cache the ch eck results and reuse them for\nup to 60s. In case of server errors, the client may rely on the cached\nresults for longer time.\n\nThis method requires the `se rvicemanagement.services.check` permission\non the specified service. For more i nformation, see\n[Google Cloud IAM](https://cloud.google.com/iam).",
124 "httpMethod": "POST", 124 "httpMethod": "POST",
125 "id": "servicecontrol.services.check", 125 "id": "servicecontrol.services.check",
126 "parameterOrder": [ 126 "parameterOrder": [
127 "serviceName" 127 "serviceName"
128 ], 128 ],
129 "parameters": { 129 "parameters": {
130 "serviceName": { 130 "serviceName": {
131 "description": "The service name as specified in its service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee google .api.Service for the definition of a service name.", 131 "description": "The service name as specified in its service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee google .api.Service for the definition of a service name.",
132 "location": "path", 132 "location": "path",
133 "required": true, 133 "required": true,
134 "type": "string" 134 "type": "string"
135 } 135 }
136 }, 136 },
137 "path": "v1/services/{serviceName}:check", 137 "path": "v1/services/{serviceName}:check",
138 "request": { 138 "request": {
139 "$ref": "CheckRequest" 139 "$ref": "CheckRequest"
140 }, 140 },
141 "response": { 141 "response": {
142 "$ref": "CheckResponse" 142 "$ref": "CheckResponse"
143 }, 143 },
144 "scopes": [ 144 "scopes": [
145 "https://www.googleapis.com/auth/cloud-platform", 145 "https://www.googleapis.com/auth/cloud-platform",
146 "https://www.googleapis.com/auth/servicecontrol" 146 "https://www.googleapis.com/auth/servicecontrol"
147 ] 147 ]
148 }, 148 },
149 "report": { 149 "report": {
150 "description": "Reports operations to Google Service Control . It should be called\nafter the operation is completed.\n\nThis method requires the `servicemanagement.services.report` permission\non the specified service. F or more information, see\n[Google Cloud IAM](https://cloud.google.com/iam).", 150 "description": "Reports operations to Google Service Control . It should be called\nafter the operation is completed.\n\nIf feasible, the cli ent should aggregate reporting data for up to 5s to\nreduce API traffic. Limitin g aggregation to 5s is to reduce data loss\nduring client crashes. Clients shoul d carefully choose the aggregation\nwindow to avoid data loss risk more than 0.0 1% for business and\ncompliance reasons.\n\nThis method requires the `serviceman agement.services.report` permission\non the specified service. For more informat ion, see\n[Google Cloud IAM](https://cloud.google.com/iam).",
151 "httpMethod": "POST", 151 "httpMethod": "POST",
152 "id": "servicecontrol.services.report", 152 "id": "servicecontrol.services.report",
153 "parameterOrder": [ 153 "parameterOrder": [
154 "serviceName" 154 "serviceName"
155 ], 155 ],
156 "parameters": { 156 "parameters": {
157 "serviceName": { 157 "serviceName": {
158 "description": "The service name as specified in its service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee google .api.Service for the definition of a service name.", 158 "description": "The service name as specified in its service configuration. For example,\n`\"pubsub.googleapis.com\"`.\n\nSee google .api.Service for the definition of a service name.",
159 "location": "path", 159 "location": "path",
160 "required": true, 160 "required": true,
161 "type": "string" 161 "type": "string"
162 } 162 }
163 }, 163 },
164 "path": "v1/services/{serviceName}:report", 164 "path": "v1/services/{serviceName}:report",
165 "request": { 165 "request": {
166 "$ref": "ReportRequest" 166 "$ref": "ReportRequest"
167 }, 167 },
168 "response": { 168 "response": {
169 "$ref": "ReportResponse" 169 "$ref": "ReportResponse"
170 }, 170 },
171 "scopes": [ 171 "scopes": [
172 "https://www.googleapis.com/auth/cloud-platform", 172 "https://www.googleapis.com/auth/cloud-platform",
173 "https://www.googleapis.com/auth/servicecontrol" 173 "https://www.googleapis.com/auth/servicecontrol"
174 ] 174 ]
175 } 175 }
176 } 176 }
177 } 177 }
178 }, 178 },
179 "revision": "20160815", 179 "revision": "20161031",
180 "rootUrl": "https://servicecontrol.googleapis.com/", 180 "rootUrl": "https://servicecontrol.googleapis.com/",
181 "schemas": { 181 "schemas": {
182 "CheckError": { 182 "CheckError": {
183 "description": "Defines the errors to be returned in\ngoogle.api.ser vicecontrol.v1.CheckResponse.check_errors.", 183 "description": "Defines the errors to be returned in\ngoogle.api.ser vicecontrol.v1.CheckResponse.check_errors.",
184 "id": "CheckError", 184 "id": "CheckError",
185 "properties": { 185 "properties": {
186 "code": { 186 "code": {
187 "description": "The error code.", 187 "description": "The error code.",
188 "enum": [ 188 "enum": [
189 "ERROR_CODE_UNSPECIFIED", 189 "ERROR_CODE_UNSPECIFIED",
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 }, 358 },
359 "type": "object" 359 "type": "object"
360 }, 360 },
361 "CheckRequest": { 361 "CheckRequest": {
362 "description": "Request message for the Check method.", 362 "description": "Request message for the Check method.",
363 "id": "CheckRequest", 363 "id": "CheckRequest",
364 "properties": { 364 "properties": {
365 "operation": { 365 "operation": {
366 "$ref": "Operation", 366 "$ref": "Operation",
367 "description": "The operation to be checked." 367 "description": "The operation to be checked."
368 },
369 "serviceConfigId": {
370 "description": "Specifies which version of service configura tion should be used to process\nthe request.\n\nIf unspecified or no matching ve rsion can be found, the\nlatest one will be used.",
371 "type": "string"
368 } 372 }
369 }, 373 },
370 "type": "object" 374 "type": "object"
371 }, 375 },
372 "LogEntry": { 376 "LogEntry": {
373 "description": "An individual log entry.", 377 "description": "An individual log entry.",
374 "id": "LogEntry", 378 "id": "LogEntry",
375 "properties": { 379 "properties": {
376 "textPayload": { 380 "textPayload": {
377 "description": "The log entry payload, represented as a Unic ode string (UTF-8).", 381 "description": "The log entry payload, represented as a Unic ode string (UTF-8).",
(...skipping 21 matching lines...) Expand all
399 "DEBUG", 403 "DEBUG",
400 "INFO", 404 "INFO",
401 "NOTICE", 405 "NOTICE",
402 "WARNING", 406 "WARNING",
403 "ERROR", 407 "ERROR",
404 "CRITICAL", 408 "CRITICAL",
405 "ALERT", 409 "ALERT",
406 "EMERGENCY" 410 "EMERGENCY"
407 ], 411 ],
408 "enumDescriptions": [ 412 "enumDescriptions": [
409 "The log entry has no assigned severity level.", 413 "(0) The log entry has no assigned severity level.",
410 "Debug or trace information.", 414 "(100) Debug or trace information.",
411 "Routine information, such as ongoing status or performa nce.", 415 "(200) Routine information, such as ongoing status or pe rformance.",
412 "Normal but significant events, such as start up, shut d own, or\nconfiguration.", 416 "(300) Normal but significant events, such as start up, shut down, or\na configuration change.",
413 "Warning events might cause problems.", 417 "(400) Warning events might cause problems.",
414 "Error events are likely to cause problems.", 418 "(500) Error events are likely to cause problems.",
415 "Critical events cause more severe problems or brief out ages.", 419 "(600) Critical events cause more severe problems or out ages.",
416 "A person must take an action immediately.", 420 "(700) A person must take an action immediately.",
417 "One or more systems are unusable." 421 "(800) One or more systems are unusable."
418 ], 422 ],
419 "type": "string" 423 "type": "string"
420 }, 424 },
421 "name": { 425 "name": {
422 "description": "Required. The log to which this log entry be longs. Examples: `\"syslog\"`,\n`\"book_log\"`.", 426 "description": "Required. The log to which this log entry be longs. Examples: `\"syslog\"`,\n`\"book_log\"`.",
423 "type": "string" 427 "type": "string"
424 }, 428 },
425 "protoPayload": { 429 "protoPayload": {
426 "additionalProperties": { 430 "additionalProperties": {
427 "description": "Properties of the object. Contains field @type with type URL.", 431 "description": "Properties of the object. Contains field @type with type URL.",
(...skipping 17 matching lines...) Expand all
445 "ReportRequest": { 449 "ReportRequest": {
446 "description": "Request message for the Report method.", 450 "description": "Request message for the Report method.",
447 "id": "ReportRequest", 451 "id": "ReportRequest",
448 "properties": { 452 "properties": {
449 "operations": { 453 "operations": {
450 "description": "Operations to be reported.\n\nTypically the service should report one operation per request.\nPutting multiple operations in to a single request is allowed, but should\nbe used only when multiple operation s are natually available at the time\nof the report.\n\nIf multiple operations a re in a single request, the total request size\nshould be no larger than 1MB. Se e ReportResponse.report_errors for\npartial failure behavior.", 454 "description": "Operations to be reported.\n\nTypically the service should report one operation per request.\nPutting multiple operations in to a single request is allowed, but should\nbe used only when multiple operation s are natually available at the time\nof the report.\n\nIf multiple operations a re in a single request, the total request size\nshould be no larger than 1MB. Se e ReportResponse.report_errors for\npartial failure behavior.",
451 "items": { 455 "items": {
452 "$ref": "Operation" 456 "$ref": "Operation"
453 }, 457 },
454 "type": "array" 458 "type": "array"
459 },
460 "serviceConfigId": {
461 "description": "Specifies which version of service config sh ould be used to process the\nrequest.\n\nIf unspecified or no matching version c an be found, the\nlatest one will be used.",
462 "type": "string"
455 } 463 }
456 }, 464 },
457 "type": "object" 465 "type": "object"
458 }, 466 },
459 "MetricValueSet": { 467 "MetricValueSet": {
460 "description": "Represents a set of metric values in the same metric .\nEach metric value in the set should have a unique combination of start time,\ nend time, and label values.", 468 "description": "Represents a set of metric values in the same metric .\nEach metric value in the set should have a unique combination of start time,\ nend time, and label values.",
461 "id": "MetricValueSet", 469 "id": "MetricValueSet",
462 "properties": { 470 "properties": {
463 "metricName": { 471 "metricName": {
464 "description": "The metric name defined in the service confi guration.", 472 "description": "The metric name defined in the service confi guration.",
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
516 "type": "string" 524 "type": "string"
517 } 525 }
518 }, 526 },
519 "type": "object" 527 "type": "object"
520 }, 528 },
521 "ReportResponse": { 529 "ReportResponse": {
522 "description": "Response message for the Report method.", 530 "description": "Response message for the Report method.",
523 "id": "ReportResponse", 531 "id": "ReportResponse",
524 "properties": { 532 "properties": {
525 "reportErrors": { 533 "reportErrors": {
526 "description": "Partial failures, one for each `Operation` i n the request that failed\nprocessing. There are three possible combinations of the RPC status:\n\n1. The combination of a successful RPC status and an empty `r eport_errors`\n list indicates a complete success where all `Operations` in th e\n request are processed successfully.\n2. The combination of a successful RP C status and a non-empty\n `report_errors` list indicates a partial success wh ere some\n `Operations` in the request succeeded. Each\n `Operation` that fa iled processing has a corresponding item\n in this list.\n3. A failed RPC stat us indicates a complete failure where none of the\n `Operations` in the reques t succeeded.", 534 "description": "Partial failures, one for each `Operation` i n the request that failed\nprocessing. There are three possible combinations of the RPC status:\n\n1. The combination of a successful RPC status and an empty `r eport_errors`\n list indicates a complete success where all `Operations` in th e\n request are processed successfully.\n2. The combination of a successful RP C status and a non-empty\n `report_errors` list indicates a partial success wh ere some\n `Operations` in the request succeeded. Each\n `Operation` that fa iled processing has a corresponding item\n in this list.\n3. A failed RPC stat us indicates a general non-deterministic failure.\n When this happens, it's im possible to know which of the\n 'Operations' in the request succeeded or faile d.",
527 "items": { 535 "items": {
528 "$ref": "ReportError" 536 "$ref": "ReportError"
529 }, 537 },
530 "type": "array" 538 "type": "array"
531 }, 539 },
532 "serviceConfigId": { 540 "serviceConfigId": {
533 "description": "The actual config id used to process the req uest.", 541 "description": "The actual config id used to process the req uest.",
534 "type": "string" 542 "type": "string"
535 } 543 }
536 }, 544 },
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
647 "type": "string" 655 "type": "string"
648 } 656 }
649 }, 657 },
650 "type": "object" 658 "type": "object"
651 } 659 }
652 }, 660 },
653 "servicePath": "", 661 "servicePath": "",
654 "title": "Google Service Control API", 662 "title": "Google Service Control API",
655 "version": "v1" 663 "version": "v1"
656 } 664 }
OLDNEW
« no previous file with comments | « discovery/googleapis/runtimeconfig__v1.json ('k') | discovery/googleapis/servicemanagement__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698