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

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

Issue 2571553005: Api-roll 43: 2016-12-13 (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « discovery/googleapis/script__v1.json ('k') | discovery/googleapis/servicemanagement__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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\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).", 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\n60 seconds. In case of server errors, the client can rely on the cached\nresults for longer time.\n\nNOTE: the `CheckRequest` ha s the size limit of 1MB.\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).",
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\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).", 150 "description": "Reports operation results to Google Service Control, such as logs and\nmetrics. It should be called after an operation is co mpleted.\n\nIf feasible, the client should aggregate reporting data for up to 5\ nseconds to reduce API traffic. Limiting aggregation to 5 seconds is to\nreduce data loss during client crashes. Clients should carefully choose\nthe aggregatio n time window to avoid data loss risk more than 0.01%\nfor business and complian ce reasons.\n\nNOTE: the `ReportRequest` has the size limit of 1MB.\n\nThis meth od requires the `servicemanagement.services.report` permission\non the specified service. For more information, 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": "20161031", 179 "revision": "20161205",
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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after
655 "type": "string" 655 "type": "string"
656 } 656 }
657 }, 657 },
658 "type": "object" 658 "type": "object"
659 } 659 }
660 }, 660 },
661 "servicePath": "", 661 "servicePath": "",
662 "title": "Google Service Control API", 662 "title": "Google Service Control API",
663 "version": "v1" 663 "version": "v1"
664 } 664 }
OLDNEW
« no previous file with comments | « discovery/googleapis/script__v1.json ('k') | discovery/googleapis/servicemanagement__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698