| OLD | NEW |
| 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 Loading... |
| 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\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).", | 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 64KB.\n\nThis method requires the `servicemanagement.service
s.check` permission\non the specified service. For more information, see\n[Googl
e 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, |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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": "20161205", | 179 "revision": "20170117", |
| 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", |
| 190 "NOT_FOUND", | 190 "NOT_FOUND", |
| 191 "PERMISSION_DENIED", | 191 "PERMISSION_DENIED", |
| 192 "RESOURCE_EXHAUSTED", | 192 "RESOURCE_EXHAUSTED", |
| 193 "SERVICE_NOT_ACTIVATED", | 193 "SERVICE_NOT_ACTIVATED", |
| 194 "BILLING_DISABLED", | 194 "BILLING_DISABLED", |
| 195 "PROJECT_DELETED", | 195 "PROJECT_DELETED", |
| 196 "PROJECT_INVALID", | 196 "PROJECT_INVALID", |
| 197 "IP_ADDRESS_BLOCKED", | 197 "IP_ADDRESS_BLOCKED", |
| 198 "REFERER_BLOCKED", | 198 "REFERER_BLOCKED", |
| 199 "CLIENT_APP_BLOCKED", | 199 "CLIENT_APP_BLOCKED", |
| 200 "API_TARGET_BLOCKED", |
| 200 "API_KEY_INVALID", | 201 "API_KEY_INVALID", |
| 201 "API_KEY_EXPIRED", | 202 "API_KEY_EXPIRED", |
| 202 "API_KEY_NOT_FOUND", | 203 "API_KEY_NOT_FOUND", |
| 203 "NAMESPACE_LOOKUP_UNAVAILABLE", | 204 "NAMESPACE_LOOKUP_UNAVAILABLE", |
| 204 "SERVICE_STATUS_UNAVAILABLE", | 205 "SERVICE_STATUS_UNAVAILABLE", |
| 205 "BILLING_STATUS_UNAVAILABLE" | 206 "BILLING_STATUS_UNAVAILABLE" |
| 206 ], | 207 ], |
| 207 "enumDescriptions": [ | 208 "enumDescriptions": [ |
| 208 "This is never used in `CheckResponse`.", | 209 "This is never used in `CheckResponse`.", |
| 209 "The consumer's project id was not found.\nSame as googl
e.rpc.Code.NOT_FOUND.", | 210 "The consumer's project id was not found.\nSame as googl
e.rpc.Code.NOT_FOUND.", |
| 210 "The consumer doesn't have access to the specified resou
rce.\nSame as google.rpc.Code.PERMISSION_DENIED.", | 211 "The consumer doesn't have access to the specified resou
rce.\nSame as google.rpc.Code.PERMISSION_DENIED.", |
| 211 "Quota check failed. Same as google.rpc.Code.RESOURCE_EX
HAUSTED.", | 212 "Quota check failed. Same as google.rpc.Code.RESOURCE_EX
HAUSTED.", |
| 212 "The consumer hasn't activated the service.", | 213 "The consumer hasn't activated the service.", |
| 213 "The consumer cannot access the service because billing
is disabled.", | 214 "The consumer cannot access the service because billing
is disabled.", |
| 214 "The consumer's project has been marked as deleted (soft
deletion).", | 215 "The consumer's project has been marked as deleted (soft
deletion).", |
| 215 "The consumer's project number or id does not represent
a valid project.", | 216 "The consumer's project number or id does not represent
a valid project.", |
| 216 "The IP address of the consumer is invalid for the speci
fic consumer\nproject.", | 217 "The IP address of the consumer is invalid for the speci
fic consumer\nproject.", |
| 217 "The referer address of the consumer request is invalid
for the specific\nconsumer project.", | 218 "The referer address of the consumer request is invalid
for the specific\nconsumer project.", |
| 218 "The client application of the consumer request is inval
id for the\nspecific consumer project.", | 219 "The client application of the consumer request is inval
id for the\nspecific consumer project.", |
| 220 "The API targeted by this request is invalid for the spe
cified consumer\nproject.", |
| 219 "The consumer's API key is invalid.", | 221 "The consumer's API key is invalid.", |
| 220 "The consumer's API Key has expired.", | 222 "The consumer's API Key has expired.", |
| 221 "The consumer's API Key was not found in config record."
, | 223 "The consumer's API Key was not found in config record."
, |
| 222 "The backend server for looking up project id/number is
unavailable.", | 224 "The backend server for looking up project id/number is
unavailable.", |
| 223 "The backend server for checking service status is unava
ilable.", | 225 "The backend server for checking service status is unava
ilable.", |
| 224 "The backend server for checking billing status is unava
ilable." | 226 "The backend server for checking billing status is unava
ilable." |
| 225 ], | 227 ], |
| 226 "type": "string" | 228 "type": "string" |
| 227 }, | 229 }, |
| 228 "detail": { | 230 "detail": { |
| (...skipping 426 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 "type": "string" | 657 "type": "string" |
| 656 } | 658 } |
| 657 }, | 659 }, |
| 658 "type": "object" | 660 "type": "object" |
| 659 } | 661 } |
| 660 }, | 662 }, |
| 661 "servicePath": "", | 663 "servicePath": "", |
| 662 "title": "Google Service Control API", | 664 "title": "Google Service Control API", |
| 663 "version": "v1" | 665 "version": "v1" |
| 664 } | 666 } |
| OLD | NEW |