| 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 } |
| 11 } | 11 } |
| 12 } | 12 } |
| 13 }, | 13 }, |
| 14 "basePath": "", | 14 "basePath": "", |
| 15 "baseUrl": "https://servicecontrol.googleapis.com/", | 15 "baseUrl": "https://servicecontrol.googleapis.com/", |
| 16 "batchPath": "batch", | 16 "batchPath": "batch", |
| 17 "canonicalName": "Service Control", | 17 "canonicalName": "Service Control", |
| 18 "description": "The Service Control API", | 18 "description": "Google Service Control provides control plane functionality
to managed services, such as logging, monitoring, and status checks.", |
| 19 "discoveryVersion": "v1", | 19 "discoveryVersion": "v1", |
| 20 "documentationLink": "https://cloud.google.com/service-control/", | 20 "documentationLink": "https://cloud.google.com/service-control/", |
| 21 "icons": { | 21 "icons": { |
| 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 22 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 23 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 24 }, | 24 }, |
| 25 "id": "servicecontrol:v1", | 25 "id": "servicecontrol:v1", |
| 26 "kind": "discovery#restDescription", | 26 "kind": "discovery#restDescription", |
| 27 "name": "servicecontrol", | 27 "name": "servicecontrol", |
| 28 "ownerDomain": "google.com", | 28 "ownerDomain": "google.com", |
| (...skipping 140 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": "20160801", | 179 "revision": "20160815", |
| 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 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 "type": "string" | 314 "type": "string" |
| 315 }, | 315 }, |
| 316 "labels": { | 316 "labels": { |
| 317 "additionalProperties": { | 317 "additionalProperties": { |
| 318 "type": "string" | 318 "type": "string" |
| 319 }, | 319 }, |
| 320 "description": "Labels describing the operation. Only the fo
llowing labels are allowed:\n\n- Labels describing monitored resources as define
d in\n the service configuration.\n- Default labels of metric values. When spec
ified, labels defined in the\n metric value override these default.\n- The foll
owing labels defined by Google Cloud Platform:\n - `cloud.googleapis.com/loca
tion` describing the location where the\n operation happened,\n - `serv
icecontrol.googleapis.com/user_agent` describing the user agent\n of the A
PI request,\n - `servicecontrol.googleapis.com/service_agent` describing the
service\n used to handle the API request (e.g. ESP),\n - `servicecontro
l.googleapis.com/platform` describing the platform\n where the API is serv
ed (e.g. GAE, GCE, GKE).", | 320 "description": "Labels describing the operation. Only the fo
llowing labels are allowed:\n\n- Labels describing monitored resources as define
d in\n the service configuration.\n- Default labels of metric values. When spec
ified, labels defined in the\n metric value override these default.\n- The foll
owing labels defined by Google Cloud Platform:\n - `cloud.googleapis.com/loca
tion` describing the location where the\n operation happened,\n - `serv
icecontrol.googleapis.com/user_agent` describing the user agent\n of the A
PI request,\n - `servicecontrol.googleapis.com/service_agent` describing the
service\n used to handle the API request (e.g. ESP),\n - `servicecontro
l.googleapis.com/platform` describing the platform\n where the API is serv
ed (e.g. GAE, GCE, GKE).", |
| 321 "type": "object" | 321 "type": "object" |
| 322 }, | 322 }, |
| 323 "importance": { | 323 "importance": { |
| 324 "description": "The importance of the data contained in the
operation.", | 324 "description": "DO NOT USE. This is an experimental field.", |
| 325 "enum": [ | 325 "enum": [ |
| 326 "LOW", | 326 "LOW", |
| 327 "HIGH" | 327 "HIGH" |
| 328 ], | 328 ], |
| 329 "enumDescriptions": [ | 329 "enumDescriptions": [ |
| 330 "The operation doesn't contain significant monetary valu
e or audit\ntrail. The API implementation may cache and aggregate the data.\nThe
re is no deduplication based on `operation_id`. The data\nmay be lost when rare
and unexpected system failures occur.", | 330 "The API implementation may cache and aggregate the data
.\nThe data may be lost when rare and unexpected system failures occur.", |
| 331 "The operation contains significant monetary value or au
dit trail.\nThe API implementation doesn't cache and aggregate the data.\nDedupl
ication based on `operation_id` is performed for monetary\nvalues. If the method
returns successfully, it's guaranteed that\nthe data are persisted in durable s
torage." | 331 "The API implementation doesn't cache and aggregate the
data.\nIf the method returns successfully, it's guaranteed that the data has\nbe
en persisted in durable storage." |
| 332 ], | 332 ], |
| 333 "type": "string" | 333 "type": "string" |
| 334 }, | 334 }, |
| 335 "consumerId": { | 335 "consumerId": { |
| 336 "description": "Identity of the consumer who is using the se
rvice.\nThis field should be filled in for the operations initiated by a\nconsum
er, but not for service-initiated operations that are\nnot related to a specific
consumer.\n\nThis can be in one of the following formats:\n project:<project_i
d>,\n project_number:<project_number>,\n api_key:<api_key>.", | 336 "description": "Identity of the consumer who is using the se
rvice.\nThis field should be filled in for the operations initiated by a\nconsum
er, but not for service-initiated operations that are\nnot related to a specific
consumer.\n\nThis can be in one of the following formats:\n project:<project_i
d>,\n project_number:<project_number>,\n api_key:<api_key>.", |
| 337 "type": "string" | 337 "type": "string" |
| 338 }, | 338 }, |
| 339 "startTime": { | 339 "startTime": { |
| 340 "description": "Required. Start time of the operation.", | 340 "description": "Required. Start time of the operation.", |
| 341 "format": "google-datetime", | 341 "format": "google-datetime", |
| (...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 503 "checkErrors": { | 503 "checkErrors": { |
| 504 "description": "Indicate the decision of the check.\n\nIf no
check errors are present, the service should process the operation.\nOtherwise
the service should use the list of errors to determine the\nappropriate action."
, | 504 "description": "Indicate the decision of the check.\n\nIf no
check errors are present, the service should process the operation.\nOtherwise
the service should use the list of errors to determine the\nappropriate action."
, |
| 505 "items": { | 505 "items": { |
| 506 "$ref": "CheckError" | 506 "$ref": "CheckError" |
| 507 }, | 507 }, |
| 508 "type": "array" | 508 "type": "array" |
| 509 }, | 509 }, |
| 510 "operationId": { | 510 "operationId": { |
| 511 "description": "The same operation_id value used in the Chec
kRequest.\nUsed for logging and diagnostics purposes.", | 511 "description": "The same operation_id value used in the Chec
kRequest.\nUsed for logging and diagnostics purposes.", |
| 512 "type": "string" | 512 "type": "string" |
| 513 }, |
| 514 "serviceConfigId": { |
| 515 "description": "The actual config id used to process the req
uest.", |
| 516 "type": "string" |
| 513 } | 517 } |
| 514 }, | 518 }, |
| 515 "type": "object" | 519 "type": "object" |
| 516 }, | 520 }, |
| 517 "ReportResponse": { | 521 "ReportResponse": { |
| 518 "description": "Response message for the Report method.", | 522 "description": "Response message for the Report method.", |
| 519 "id": "ReportResponse", | 523 "id": "ReportResponse", |
| 520 "properties": { | 524 "properties": { |
| 521 "reportErrors": { | 525 "reportErrors": { |
| 522 "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.", | 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.", |
| 523 "items": { | 527 "items": { |
| 524 "$ref": "ReportError" | 528 "$ref": "ReportError" |
| 525 }, | 529 }, |
| 526 "type": "array" | 530 "type": "array" |
| 531 }, |
| 532 "serviceConfigId": { |
| 533 "description": "The actual config id used to process the req
uest.", |
| 534 "type": "string" |
| 527 } | 535 } |
| 528 }, | 536 }, |
| 529 "type": "object" | 537 "type": "object" |
| 530 }, | 538 }, |
| 531 "Distribution": { | 539 "Distribution": { |
| 532 "description": "Distribution represents a frequency distribution of
double-valued sample\npoints. It contains the size of the population of sample p
oints plus\nadditional optional information:\n\n - the arithmetic mean of the s
amples\n - the minimum and maximum of the samples\n - the sum-squared-deviatio
n of the samples, used to compute variance\n - a histogram of the values of the
sample points", | 540 "description": "Distribution represents a frequency distribution of
double-valued sample\npoints. It contains the size of the population of sample p
oints plus\nadditional optional information:\n\n - the arithmetic mean of the s
amples\n - the minimum and maximum of the samples\n - the sum-squared-deviatio
n of the samples, used to compute variance\n - a histogram of the values of the
sample points", |
| 533 "id": "Distribution", | 541 "id": "Distribution", |
| 534 "properties": { | 542 "properties": { |
| 535 "bucketCounts": { | 543 "bucketCounts": { |
| 536 "description": "The number of samples in each histogram buck
et. `bucket_counts` are\noptional. If present, they must sum to the `count` valu
e.\n\nThe buckets are defined below in `bucket_option`. There are N buckets.\n`b
ucket_counts[0]` is the number of samples in the underflow bucket.\n`bucket_coun
ts[1]` to `bucket_counts[N-1]` are the numbers of samples\nin each of the finite
buckets. And `bucket_counts[N] is the number\nof samples in the overflow bucket
. See the comments of `bucket_option`\nbelow for more details.\n\nAny suffix of
trailing zeros may be omitted.", | 544 "description": "The number of samples in each histogram buck
et. `bucket_counts` are\noptional. If present, they must sum to the `count` valu
e.\n\nThe buckets are defined below in `bucket_option`. There are N buckets.\n`b
ucket_counts[0]` is the number of samples in the underflow bucket.\n`bucket_coun
ts[1]` to `bucket_counts[N-1]` are the numbers of samples\nin each of the finite
buckets. And `bucket_counts[N] is the number\nof samples in the overflow bucket
. See the comments of `bucket_option`\nbelow for more details.\n\nAny suffix of
trailing zeros may be omitted.", |
| (...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 639 "type": "string" | 647 "type": "string" |
| 640 } | 648 } |
| 641 }, | 649 }, |
| 642 "type": "object" | 650 "type": "object" |
| 643 } | 651 } |
| 644 }, | 652 }, |
| 645 "servicePath": "", | 653 "servicePath": "", |
| 646 "title": "Google Service Control API", | 654 "title": "Google Service Control API", |
| 647 "version": "v1" | 655 "version": "v1" |
| 648 } | 656 } |
| OLD | NEW |