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

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

Issue 2734843002: Api-roll 46: 2017-03-06 (Closed)
Patch Set: Created 3 years, 9 months 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": {
6 "description": "View and manage your data across Google Clou d Platform services"
7 },
5 "https://www.googleapis.com/auth/servicecontrol": { 8 "https://www.googleapis.com/auth/servicecontrol": {
6 "description": "Manage your Google Service Control data" 9 "description": "Manage your Google Service Control data"
7 },
8 "https://www.googleapis.com/auth/cloud-platform": {
9 "description": "View and manage your data across Google Clou d Platform services"
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": "Google Service Control provides control plane functionality to managed services, such as logging, monitoring, and status checks.", 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",
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
277 "$ref": "AllocateQuotaResponse" 277 "$ref": "AllocateQuotaResponse"
278 }, 278 },
279 "scopes": [ 279 "scopes": [
280 "https://www.googleapis.com/auth/cloud-platform", 280 "https://www.googleapis.com/auth/cloud-platform",
281 "https://www.googleapis.com/auth/servicecontrol" 281 "https://www.googleapis.com/auth/servicecontrol"
282 ] 282 ]
283 } 283 }
284 } 284 }
285 } 285 }
286 }, 286 },
287 "revision": "20170206", 287 "revision": "20170224",
288 "rootUrl": "https://servicecontrol.googleapis.com/", 288 "rootUrl": "https://servicecontrol.googleapis.com/",
289 "schemas": { 289 "schemas": {
290 "EndReconciliationRequest": {
291 "id": "EndReconciliationRequest",
292 "properties": {
293 "reconciliationOperation": {
294 "$ref": "QuotaOperation",
295 "description": "Operation that describes the quota reconcili ation."
296 },
297 "serviceConfigId": {
298 "description": "Specifies which version of service configura tion should be used to process\nthe request. If unspecified or no matching versi on can be found, the latest\none will be used.",
299 "type": "string"
300 }
301 },
302 "type": "object"
303 },
304 "ReportInfo": {
305 "id": "ReportInfo",
306 "properties": {
307 "operationId": {
308 "description": "The Operation.operation_id value from the re quest.",
309 "type": "string"
310 },
311 "quotaInfo": {
312 "$ref": "QuotaInfo",
313 "description": "Quota usage info when processing the `Operat ion`."
314 }
315 },
316 "type": "object"
317 },
318 "ReportResponse": {
319 "description": "Response message for the Report method.",
320 "id": "ReportResponse",
321 "properties": {
322 "reportInfos": {
323 "description": "Quota usage for each quota release `Operatio n` request.\n\nFully or partially failed quota release request may or may not be present\nin `report_quota_info`. For example, a failed quota release request wi ll\nhave the current quota usage info when precise quota library returns the\nin fo. A deadline exceeded quota request will not have quota usage info.\n\nIf ther e is no quota release request, report_quota_info will be empty.\n",
324 "items": {
325 "$ref": "ReportInfo"
326 },
327 "type": "array"
328 },
329 "serviceConfigId": {
330 "description": "The actual config id used to process the req uest.",
331 "type": "string"
332 },
333 "reportErrors": {
334 "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.",
335 "items": {
336 "$ref": "ReportError"
337 },
338 "type": "array"
339 }
340 },
341 "type": "object"
342 },
343 "Operation": {
344 "description": "Represents information regarding an operation.",
345 "id": "Operation",
346 "properties": {
347 "operationName": {
348 "description": "Fully qualified name of the operation. Reser ved for future use.",
349 "type": "string"
350 },
351 "endTime": {
352 "description": "End time of the operation.\nRequired when th e operation is used in ServiceController.Report,\nbut optional when the operatio n is used in ServiceController.Check.",
353 "format": "google-datetime",
354 "type": "string"
355 },
356 "startTime": {
357 "description": "Required. Start time of the operation.",
358 "format": "google-datetime",
359 "type": "string"
360 },
361 "importance": {
362 "description": "DO NOT USE. This is an experimental field.",
363 "enum": [
364 "LOW",
365 "HIGH",
366 "DEBUG"
367 ],
368 "enumDescriptions": [
369 "The API implementation may cache and aggregate the data .\nThe data may be lost when rare and unexpected system failures occur.",
370 "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.",
371 "In addition to the behavior described in HIGH, DEBUG en ables\nadditional validation logic that is only useful during the onboarding\npr ocess. This is only available to Google internal services and\nthe service must be whitelisted by chemist-dev@google.com in order\nto use this level."
372 ],
373 "type": "string"
374 },
375 "resourceContainer": {
376 "description": "The resource name of the parent of a resourc e in the resource hierarchy.\n\nThis can be in one of the following formats:\n - “projects/<project-id or project-number>”\n - “folders/<folder-id>”\n - “organizations/<organization-id>”",
377 "type": "string"
378 },
379 "labels": {
380 "additionalProperties": {
381 "type": "string"
382 },
383 "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).",
384 "type": "object"
385 },
386 "logEntries": {
387 "description": "Represents information to be logged.",
388 "items": {
389 "$ref": "LogEntry"
390 },
391 "type": "array"
392 },
393 "userLabels": {
394 "additionalProperties": {
395 "type": "string"
396 },
397 "description": "User defined labels for the resource that th is operation is associated\nwith.",
398 "type": "object"
399 },
400 "metricValueSets": {
401 "description": "Represents information about this operation. Each MetricValueSet\ncorresponds to a metric defined in the service configurati on.\nThe data type used in the MetricValueSet must agree with\nthe data type spe cified in the metric definition.\n\nWithin a single operation, it is not allowed to have more than one\nMetricValue instances that have the same metric names an d identical\nlabel value combinations. If a request has such duplicated MetricVa lue\ninstances, the entire request is rejected with\nan invalid argument error." ,
402 "items": {
403 "$ref": "MetricValueSet"
404 },
405 "type": "array"
406 },
407 "quotaProperties": {
408 "$ref": "QuotaProperties",
409 "description": "Represents the properties needed for quota c heck. Applicable only if this\noperation is for a quota check request."
410 },
411 "consumerId": {
412 "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>.",
413 "type": "string"
414 },
415 "operationId": {
416 "description": "Identity of the operation. This must be uniq ue within the scope of the\nservice that generated the operation. If the service calls\nCheck() and Report() on the same operation, the two calls should carry\n the same id.\n\nUUID version 4 is recommended, though not required.\nIn scenario s where an operation is computed from existing information\nand an idempotent id is desirable for deduplication purpose, UUID version 5\nis recommended. See RFC 4122 for details.",
417 "type": "string"
418 }
419 },
420 "type": "object"
421 },
422 "CheckResponse": {
423 "description": "Response message for the Check method.",
424 "id": "CheckResponse",
425 "properties": {
426 "operationId": {
427 "description": "The same operation_id value used in the Chec kRequest.\nUsed for logging and diagnostics purposes.",
428 "type": "string"
429 },
430 "checkErrors": {
431 "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." ,
432 "items": {
433 "$ref": "CheckError"
434 },
435 "type": "array"
436 },
437 "checkInfo": {
438 "$ref": "CheckInfo",
439 "description": "Feedback data returned from the server durin g processing a Check request."
440 },
441 "quotaInfo": {
442 "$ref": "QuotaInfo",
443 "description": "Quota information for the check request asso ciated with this response.\n"
444 },
445 "serviceConfigId": {
446 "description": "The actual config id used to process the req uest.",
447 "type": "string"
448 }
449 },
450 "type": "object"
451 },
452 "ReportRequest": {
453 "description": "Request message for the Report method.",
454 "id": "ReportRequest",
455 "properties": {
456 "operations": {
457 "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.",
458 "items": {
459 "$ref": "Operation"
460 },
461 "type": "array"
462 },
463 "serviceConfigId": {
464 "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.",
465 "type": "string"
466 }
467 },
468 "type": "object"
469 },
470 "Status": {
471 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Lan guage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mes sage is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some except ions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\ n\nThe error model and the `Status` message can be used in a variety of\nenviron ments, either with or without APIs, to provide a\nconsistent developer experienc e across different environments.\n\nExample uses of this error model include:\n\ n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operati ons. If a client uses batch request and batch response, the\n `Status` messag e should be used directly inside batch response, one for\n each error sub-res ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio n\n results in its response, the status of those operations should be\n re presented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any s tripping needed for security/privacy reasons.",
472 "id": "Status",
473 "properties": {
474 "details": {
475 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.",
476 "items": {
477 "additionalProperties": {
478 "description": "Properties of the object. Contains f ield @type with type URL.",
479 "type": "any"
480 },
481 "type": "object"
482 },
483 "type": "array"
484 },
485 "code": {
486 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
487 "format": "int32",
488 "type": "integer"
489 },
490 "message": {
491 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
492 "type": "string"
493 }
494 },
495 "type": "object"
496 },
497 "AuditLog": {
498 "description": "Common audit log format for Google Cloud Platform AP I operations.\n\n",
499 "id": "AuditLog",
500 "properties": {
501 "request": {
502 "additionalProperties": {
503 "description": "Properties of the object.",
504 "type": "any"
505 },
506 "description": "The operation request. This may not include all request parameters,\nsuch as those that are too large, privacy-sensitive, or duplicated\nelsewhere in the log record.\nIt should never include user-generate d data, such as file contents.\nWhen the JSON object represented here has a prot o equivalent, the proto\nname will be indicated in the `@type` property.",
507 "type": "object"
508 },
509 "serviceData": {
510 "additionalProperties": {
511 "description": "Properties of the object. Contains field @type with type URL.",
512 "type": "any"
513 },
514 "description": "Other service-specific data about the reques t, response, and other\nactivities.",
515 "type": "object"
516 },
517 "requestMetadata": {
518 "$ref": "RequestMetadata",
519 "description": "Metadata about the operation."
520 },
521 "numResponseItems": {
522 "description": "The number of items returned from a List or Query API method,\nif applicable.",
523 "format": "int64",
524 "type": "string"
525 },
526 "authenticationInfo": {
527 "$ref": "AuthenticationInfo",
528 "description": "Authentication information."
529 },
530 "status": {
531 "$ref": "Status",
532 "description": "The status of the overall operation."
533 },
534 "response": {
535 "additionalProperties": {
536 "description": "Properties of the object.",
537 "type": "any"
538 },
539 "description": "The operation response. This may not include all response elements,\nsuch as those that are too large, privacy-sensitive, or duplicated\nelsewhere in the log record.\nIt should never include user-generate d data, such as file contents.\nWhen the JSON object represented here has a prot o equivalent, the proto\nname will be indicated in the `@type` property.",
540 "type": "object"
541 },
542 "serviceName": {
543 "description": "The name of the API service performing the o peration. For example,\n`\"datastore.googleapis.com\"`.",
544 "type": "string"
545 },
546 "methodName": {
547 "description": "The name of the service method or operation. \nFor API calls, this should be the name of the API method.\nFor example,\n\n \"google.datastore.v1.Datastore.RunQuery\"\n \"google.logging.v1.LoggingServ ice.DeleteLog\"",
548 "type": "string"
549 },
550 "resourceName": {
551 "description": "The resource or collection that is the targe t of the operation.\nThe name is a scheme-less URI, not including the API servic e name.\nFor example:\n\n \"shelves/SHELF_ID/books\"\n \"shelves/SHELF_ID/ books/BOOK_ID\"",
552 "type": "string"
553 },
554 "authorizationInfo": {
555 "description": "Authorization information. If there are mult iple\nresources or permissions involved, then there is\none AuthorizationInfo el ement for each {resource, permission} tuple.",
556 "items": {
557 "$ref": "AuthorizationInfo"
558 },
559 "type": "array"
560 }
561 },
562 "type": "object"
563 },
564 "LogEntry": {
565 "description": "An individual log entry.",
566 "id": "LogEntry",
567 "properties": {
568 "structPayload": {
569 "additionalProperties": {
570 "description": "Properties of the object.",
571 "type": "any"
572 },
573 "description": "The log entry payload, represented as a stru cture that\nis expressed as a JSON object.",
574 "type": "object"
575 },
576 "textPayload": {
577 "description": "The log entry payload, represented as a Unic ode string (UTF-8).",
578 "type": "string"
579 },
580 "protoPayload": {
581 "additionalProperties": {
582 "description": "Properties of the object. Contains field @type with type URL.",
583 "type": "any"
584 },
585 "description": "The log entry payload, represented as a prot ocol buffer that is\nexpressed as a JSON object. You can only pass `protoPayload `\nvalues that belong to a set of approved types.",
586 "type": "object"
587 },
588 "timestamp": {
589 "description": "The time the event described by the log entr y occurred. If\nomitted, defaults to operation start time.",
590 "format": "google-datetime",
591 "type": "string"
592 },
593 "labels": {
594 "additionalProperties": {
595 "type": "string"
596 },
597 "description": "A set of user-defined (key, value) data that provides additional\ninformation about the log entry.",
598 "type": "object"
599 },
600 "severity": {
601 "description": "The severity of the log entry. The default v alue is\n`LogSeverity.DEFAULT`.",
602 "enum": [
603 "DEFAULT",
604 "DEBUG",
605 "INFO",
606 "NOTICE",
607 "WARNING",
608 "ERROR",
609 "CRITICAL",
610 "ALERT",
611 "EMERGENCY"
612 ],
613 "enumDescriptions": [
614 "(0) The log entry has no assigned severity level.",
615 "(100) Debug or trace information.",
616 "(200) Routine information, such as ongoing status or pe rformance.",
617 "(300) Normal but significant events, such as start up, shut down, or\na configuration change.",
618 "(400) Warning events might cause problems.",
619 "(500) Error events are likely to cause problems.",
620 "(600) Critical events cause more severe problems or out ages.",
621 "(700) A person must take an action immediately.",
622 "(800) One or more systems are unusable."
623 ],
624 "type": "string"
625 },
626 "insertId": {
627 "description": "A unique ID for the log entry used for dedup lication. If omitted,\nthe implementation will generate one based on operation_i d.",
628 "type": "string"
629 },
630 "name": {
631 "description": "Required. The log to which this log entry be longs. Examples: `\"syslog\"`,\n`\"book_log\"`.",
632 "type": "string"
633 }
634 },
635 "type": "object"
636 },
637 "MetricValue": {
638 "description": "Represents a single metric value.",
639 "id": "MetricValue",
640 "properties": {
641 "stringValue": {
642 "description": "A text string value.",
643 "type": "string"
644 },
645 "labels": {
646 "additionalProperties": {
647 "type": "string"
648 },
649 "description": "The labels describing the metric value.\nSee comments on google.api.servicecontrol.v1.Operation.labels for\nthe overriding r elationship.",
650 "type": "object"
651 },
652 "doubleValue": {
653 "description": "A double precision floating point value.",
654 "format": "double",
655 "type": "number"
656 },
657 "int64Value": {
658 "description": "A signed 64-bit integer value.",
659 "format": "int64",
660 "type": "string"
661 },
662 "distributionValue": {
663 "$ref": "Distribution",
664 "description": "A distribution value."
665 },
666 "boolValue": {
667 "description": "A boolean value.",
668 "type": "boolean"
669 },
670 "endTime": {
671 "description": "The end of the time period over which this m etric value's measurement\napplies.",
672 "format": "google-datetime",
673 "type": "string"
674 },
675 "startTime": {
676 "description": "The start of the time period over which this metric value's measurement\napplies. The time period has different semantics fo r different metric\ntypes (cumulative, delta, and gauge). See the metric definit ion\ndocumentation in the service configuration for details.",
677 "format": "google-datetime",
678 "type": "string"
679 },
680 "moneyValue": {
681 "$ref": "Money",
682 "description": "A money value."
683 }
684 },
685 "type": "object"
686 },
687 "EndReconciliationResponse": {
688 "id": "EndReconciliationResponse",
689 "properties": {
690 "quotaMetrics": {
691 "description": "Metric values as tracked by One Platform bef ore the adjustment was made.",
692 "items": {
693 "$ref": "MetricValueSet"
694 },
695 "type": "array"
696 },
697 "operationId": {
698 "description": "The same operation_id value used in the EndR econciliationRequest. Used for\nlogging and diagnostics purposes.",
699 "type": "string"
700 },
701 "reconciliationErrors": {
702 "description": "Indicates the decision of the reconciliation end.",
703 "items": {
704 "$ref": "QuotaError"
705 },
706 "type": "array"
707 },
708 "serviceConfigId": {
709 "description": "ID of the actual config used to process the request.",
710 "type": "string"
711 }
712 },
713 "type": "object"
714 },
715 "Money": {
716 "description": "Represents an amount of money with its currency type .",
717 "id": "Money",
718 "properties": {
719 "currencyCode": {
720 "description": "The 3-letter currency code defined in ISO 42 17.",
721 "type": "string"
722 },
723 "nanos": {
724 "description": "Number of nano (10^-9) units of the amount.\ nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nanos` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negativ e or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`=-750,000 ,000.",
725 "format": "int32",
726 "type": "integer"
727 },
728 "units": {
729 "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
730 "format": "int64",
731 "type": "string"
732 }
733 },
734 "type": "object"
735 },
736 "ExplicitBuckets": {
737 "description": "Describing buckets with arbitrary user-provided widt h.",
738 "id": "ExplicitBuckets",
739 "properties": {
740 "bounds": {
741 "description": "'bound' is a list of strictly increasing bou ndaries between\nbuckets. Note that a list of length N-1 defines N buckets becau se\nof fenceposting. See comments on `bucket_options` for details.\n\nThe i'th f inite bucket covers the interval\n [bound[i-1], bound[i])\nwhere i ranges from 1 to bound_size() - 1. Note that there are no\nfinite buckets at all if 'bound' only contains a single element; in\nthat special case the single bound defines t he boundary between the\nunderflow and overflow buckets.\n\nbucket number lower bound upper bound\n i == 0 (underflow) -inf bound[i]\n 0 < i < bound_size() bound[i-1] bound[i]\n i = = bound_size() (overflow) bound[i-1] +inf",
742 "items": {
743 "format": "double",
744 "type": "number"
745 },
746 "type": "array"
747 }
748 },
749 "type": "object"
750 },
751 "Distribution": {
752 "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",
753 "id": "Distribution",
754 "properties": {
755 "explicitBuckets": {
756 "$ref": "ExplicitBuckets",
757 "description": "Buckets with arbitrary user-provided width."
758 },
759 "maximum": {
760 "description": "The maximum of the population of values. Ign ored if `count` is zero.",
761 "format": "double",
762 "type": "number"
763 },
764 "sumOfSquaredDeviation": {
765 "description": "The sum of squared deviations from the mean: \n Sum[i=1..count]((x_i - mean)^2)\nwhere each x_i is a sample values. If `coun t` is zero then this field\nmust be zero, otherwise validation of the request fa ils.",
766 "format": "double",
767 "type": "number"
768 },
769 "exponentialBuckets": {
770 "$ref": "ExponentialBuckets",
771 "description": "Buckets with exponentially growing width."
772 },
773 "minimum": {
774 "description": "The minimum of the population of values. Ign ored if `count` is zero.",
775 "format": "double",
776 "type": "number"
777 },
778 "linearBuckets": {
779 "$ref": "LinearBuckets",
780 "description": "Buckets with constant width."
781 },
782 "mean": {
783 "description": "The arithmetic mean of the samples in the di stribution. If `count` is\nzero then this field must be zero.",
784 "format": "double",
785 "type": "number"
786 },
787 "count": {
788 "description": "The total number of samples in the distribut ion. Must be >= 0.",
789 "format": "int64",
790 "type": "string"
791 },
792 "bucketCounts": {
793 "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.",
794 "items": {
795 "format": "int64",
796 "type": "string"
797 },
798 "type": "array"
799 }
800 },
801 "type": "object"
802 },
803 "ExponentialBuckets": { 290 "ExponentialBuckets": {
804 "description": "Describing buckets with exponentially growing width. ", 291 "description": "Describing buckets with exponentially growing width. ",
805 "id": "ExponentialBuckets", 292 "id": "ExponentialBuckets",
806 "properties": { 293 "properties": {
294 "scale": {
295 "description": "The i'th exponential bucket covers the inter val\n [scale * growth_factor^(i-1), scale * growth_factor^i)\nwhere i ranges fr om 1 to num_finite_buckets inclusive.\nMust be > 0.",
296 "format": "double",
297 "type": "number"
298 },
299 "numFiniteBuckets": {
300 "description": "The number of finite buckets. With the under flow and overflow buckets,\nthe total number of buckets is `num_finite_buckets` + 2.\nSee comments on `bucket_options` for details.",
301 "format": "int32",
302 "type": "integer"
303 },
807 "growthFactor": { 304 "growthFactor": {
808 "description": "The i'th exponential bucket covers the inter val\n [scale * growth_factor^(i-1), scale * growth_factor^i)\nwhere i ranges fr om 1 to num_finite_buckets inclusive.\nMust be larger than 1.0.", 305 "description": "The i'th exponential bucket covers the inter val\n [scale * growth_factor^(i-1), scale * growth_factor^i)\nwhere i ranges fr om 1 to num_finite_buckets inclusive.\nMust be larger than 1.0.",
809 "format": "double", 306 "format": "double",
810 "type": "number" 307 "type": "number"
811 },
812 "scale": {
813 "description": "The i'th exponential bucket covers the inter val\n [scale * growth_factor^(i-1), scale * growth_factor^i)\nwhere i ranges fr om 1 to num_finite_buckets inclusive.\nMust be > 0.",
814 "format": "double",
815 "type": "number"
816 },
817 "numFiniteBuckets": {
818 "description": "The number of finite buckets. With the under flow and overflow buckets,\nthe total number of buckets is `num_finite_buckets` + 2.\nSee comments on `bucket_options` for details.",
819 "format": "int32",
820 "type": "integer"
821 } 308 }
822 }, 309 },
823 "type": "object" 310 "type": "object"
824 }, 311 },
825 "AuthorizationInfo": { 312 "AuthorizationInfo": {
826 "description": "Authorization information for the operation.", 313 "description": "Authorization information for the operation.",
827 "id": "AuthorizationInfo", 314 "id": "AuthorizationInfo",
828 "properties": { 315 "properties": {
829 "resource": {
830 "description": "The resource being accessed, as a REST-style string. For example:\n\n bigquery.googlapis.com/projects/PROJECTID/datasets/ DATASETID",
831 "type": "string"
832 },
833 "granted": { 316 "granted": {
834 "description": "Whether or not authorization for `resource` and `permission`\nwas granted.", 317 "description": "Whether or not authorization for `resource` and `permission`\nwas granted.",
835 "type": "boolean" 318 "type": "boolean"
836 }, 319 },
837 "permission": { 320 "permission": {
838 "description": "The required IAM permission.", 321 "description": "The required IAM permission.",
839 "type": "string" 322 "type": "string"
323 },
324 "resource": {
325 "description": "The resource being accessed, as a REST-style string. For example:\n\n bigquery.googlapis.com/projects/PROJECTID/datasets/ DATASETID",
326 "type": "string"
840 } 327 }
841 }, 328 },
842 "type": "object" 329 "type": "object"
843 }, 330 },
844 "StartReconciliationResponse": { 331 "StartReconciliationResponse": {
845 "id": "StartReconciliationResponse", 332 "id": "StartReconciliationResponse",
846 "properties": { 333 "properties": {
847 "quotaMetrics": { 334 "quotaMetrics": {
848 "description": "Metric values as tracked by One Platform bef ore the start of\nreconciliation.", 335 "description": "Metric values as tracked by One Platform bef ore the start of\nreconciliation.",
849 "items": { 336 "items": {
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
896 ], 383 ],
897 "type": "string" 384 "type": "string"
898 } 385 }
899 }, 386 },
900 "type": "object" 387 "type": "object"
901 }, 388 },
902 "LinearBuckets": { 389 "LinearBuckets": {
903 "description": "Describing buckets with constant width.", 390 "description": "Describing buckets with constant width.",
904 "id": "LinearBuckets", 391 "id": "LinearBuckets",
905 "properties": { 392 "properties": {
393 "numFiniteBuckets": {
394 "description": "The number of finite buckets. With the under flow and overflow buckets,\nthe total number of buckets is `num_finite_buckets` + 2.\nSee comments on `bucket_options` for details.",
395 "format": "int32",
396 "type": "integer"
397 },
398 "width": {
399 "description": "The i'th linear bucket covers the interval\n [offset + (i-1) * width, offset + i * width)\nwhere i ranges from 1 to num_fin ite_buckets, inclusive.\nMust be strictly positive.",
400 "format": "double",
401 "type": "number"
402 },
906 "offset": { 403 "offset": {
907 "description": "The i'th linear bucket covers the interval\n [offset + (i-1) * width, offset + i * width)\nwhere i ranges from 1 to num_fin ite_buckets, inclusive.", 404 "description": "The i'th linear bucket covers the interval\n [offset + (i-1) * width, offset + i * width)\nwhere i ranges from 1 to num_fin ite_buckets, inclusive.",
908 "format": "double", 405 "format": "double",
909 "type": "number" 406 "type": "number"
910 },
911 "numFiniteBuckets": {
912 "description": "The number of finite buckets. With the under flow and overflow buckets,\nthe total number of buckets is `num_finite_buckets` + 2.\nSee comments on `bucket_options` for details.",
913 "format": "int32",
914 "type": "integer"
915 },
916 "width": {
917 "description": "The i'th linear bucket covers the interval\n [offset + (i-1) * width, offset + i * width)\nwhere i ranges from 1 to num_fin ite_buckets, inclusive.\nMust be strictly positive.",
918 "format": "double",
919 "type": "number"
920 } 407 }
921 }, 408 },
922 "type": "object" 409 "type": "object"
923 }, 410 },
924 "AuthenticationInfo": { 411 "AuthenticationInfo": {
925 "description": "Authentication information for the operation.", 412 "description": "Authentication information for the operation.",
926 "id": "AuthenticationInfo", 413 "id": "AuthenticationInfo",
927 "properties": { 414 "properties": {
415 "authoritySelector": {
416 "description": "The authority selector specified by the requ estor, if any.\nIt is not guaranteed that the principal was allowed to use this authority.",
417 "type": "string"
418 },
928 "principalEmail": { 419 "principalEmail": {
929 "description": "The email address of the authenticated user making the request.", 420 "description": "The email address of the authenticated user making the request.",
930 "type": "string" 421 "type": "string"
931 },
932 "authoritySelector": {
933 "description": "The authority selector specified by the requ estor, if any.\nIt is not guaranteed that the principal was allowed to use this authority.",
934 "type": "string"
935 } 422 }
936 }, 423 },
937 "type": "object" 424 "type": "object"
938 }, 425 },
939 "AllocateQuotaResponse": { 426 "AllocateQuotaResponse": {
940 "description": "Response message for the AllocateQuota method.", 427 "description": "Response message for the AllocateQuota method.",
941 "id": "AllocateQuotaResponse", 428 "id": "AllocateQuotaResponse",
942 "properties": { 429 "properties": {
430 "allocateErrors": {
431 "description": "Indicates the decision of the allocate.",
432 "items": {
433 "$ref": "QuotaError"
434 },
435 "type": "array"
436 },
943 "quotaMetrics": { 437 "quotaMetrics": {
944 "description": "Quota metrics to indicate the result of allo cation. Depending on the\nrequest, one or more of the following metrics will be included:\n\n1. For rate quota, per quota group or per quota metric incremental usage\nwill be specified using the following delta metric:\n \"serviceruntime.g oogleapis.com/api/consumer/quota_used_count\"\n\n2. For allocation quota, per qu ota metric total usage will be specified\nusing the following gauge metric:\n \ "serviceruntime.googleapis.com/allocation/consumer/quota_used_count\"\n\n3. For both rate quota and allocation quota, the quota limit reached\ncondition will be specified using the following boolean metric:\n \"serviceruntime.googleapis.co m/quota/exceeded\"", 438 "description": "Quota metrics to indicate the result of allo cation. Depending on the\nrequest, one or more of the following metrics will be included:\n\n1. For rate quota, per quota group or per quota metric incremental usage\nwill be specified using the following delta metric:\n \"serviceruntime.g oogleapis.com/api/consumer/quota_used_count\"\n\n2. For allocation quota, per qu ota metric total usage will be specified\nusing the following gauge metric:\n \ "serviceruntime.googleapis.com/allocation/consumer/quota_used_count\"\n\n3. For both rate quota and allocation quota, the quota limit reached\ncondition will be specified using the following boolean metric:\n \"serviceruntime.googleapis.co m/quota/exceeded\"",
945 "items": { 439 "items": {
946 "$ref": "MetricValueSet" 440 "$ref": "MetricValueSet"
947 }, 441 },
948 "type": "array" 442 "type": "array"
949 }, 443 },
950 "operationId": { 444 "operationId": {
951 "description": "The same operation_id value used in the Allo cateQuotaRequest. Used for\nlogging and diagnostics purposes.", 445 "description": "The same operation_id value used in the Allo cateQuotaRequest. Used for\nlogging and diagnostics purposes.",
952 "type": "string" 446 "type": "string"
953 }, 447 },
954 "serviceConfigId": { 448 "serviceConfigId": {
955 "description": "ID of the actual config used to process the request.", 449 "description": "ID of the actual config used to process the request.",
956 "type": "string" 450 "type": "string"
957 },
958 "allocateErrors": {
959 "description": "Indicates the decision of the allocate.",
960 "items": {
961 "$ref": "QuotaError"
962 },
963 "type": "array"
964 } 451 }
965 }, 452 },
966 "type": "object" 453 "type": "object"
967 }, 454 },
968 "ReleaseQuotaRequest": { 455 "ReleaseQuotaRequest": {
969 "description": "Request message for the ReleaseQuota method.", 456 "description": "Request message for the ReleaseQuota method.",
970 "id": "ReleaseQuotaRequest", 457 "id": "ReleaseQuotaRequest",
971 "properties": { 458 "properties": {
972 "serviceConfigId": { 459 "serviceConfigId": {
973 "description": "Specifies which version of service configura tion should be used to process\nthe request. If unspecified or no matching versi on can be found, the latest\none will be used.", 460 "description": "Specifies which version of service configura tion should be used to process\nthe request. If unspecified or no matching versi on can be found, the latest\none will be used.",
974 "type": "string" 461 "type": "string"
975 }, 462 },
976 "releaseOperation": { 463 "releaseOperation": {
977 "$ref": "QuotaOperation", 464 "$ref": "QuotaOperation",
978 "description": "Operation that describes the quota release." 465 "description": "Operation that describes the quota release."
979 } 466 }
980 }, 467 },
981 "type": "object" 468 "type": "object"
982 }, 469 },
983 "RequestMetadata": {
984 "description": "Metadata about the request.",
985 "id": "RequestMetadata",
986 "properties": {
987 "callerIp": {
988 "description": "The IP address of the caller.",
989 "type": "string"
990 },
991 "callerSuppliedUserAgent": {
992 "description": "The user agent of the caller.\nThis informat ion is not authenticated and should be treated accordingly.\nFor example:\n\n+ `google-api-python-client/1.4.0`:\n The request was made by the Google API c lient for Python.\n+ `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0 .9.62`:\n The request was made by the Google Cloud SDK CLI (gcloud).\n+ `Ap pEngine-Google; (+http://code.google.com/appengine; appid: s~my-project`:\n T he request was made from the `my-project` App Engine app.",
993 "type": "string"
994 }
995 },
996 "type": "object"
997 },
998 "QuotaError": { 470 "QuotaError": {
999 "id": "QuotaError", 471 "id": "QuotaError",
1000 "properties": { 472 "properties": {
1001 "subject": { 473 "subject": {
1002 "description": "Subject to whom this error applies. See the specific enum for more details\non this field. For example, \"clientip:<ip addre ss of client>\" or\n\"project:<Google developer project id>\".", 474 "description": "Subject to whom this error applies. See the specific enum for more details\non this field. For example, \"clientip:<ip addre ss of client>\" or\n\"project:<Google developer project id>\".",
1003 "type": "string" 475 "type": "string"
1004 }, 476 },
1005 "description": { 477 "description": {
1006 "description": "Free-form text that provides details on the cause of the error.", 478 "description": "Free-form text that provides details on the cause of the error.",
1007 "type": "string" 479 "type": "string"
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
1048 "The backend server for looking up project id/number is unavailable.", 520 "The backend server for looking up project id/number is unavailable.",
1049 "The backend server for checking service status is unava ilable.", 521 "The backend server for checking service status is unava ilable.",
1050 "The backend server for checking billing status is unava ilable.", 522 "The backend server for checking billing status is unava ilable.",
1051 "The backend server for checking quota limits is unavail able." 523 "The backend server for checking quota limits is unavail able."
1052 ], 524 ],
1053 "type": "string" 525 "type": "string"
1054 } 526 }
1055 }, 527 },
1056 "type": "object" 528 "type": "object"
1057 }, 529 },
530 "RequestMetadata": {
531 "description": "Metadata about the request.",
532 "id": "RequestMetadata",
533 "properties": {
534 "callerIp": {
535 "description": "The IP address of the caller.",
536 "type": "string"
537 },
538 "callerSuppliedUserAgent": {
539 "description": "The user agent of the caller.\nThis informat ion is not authenticated and should be treated accordingly.\nFor example:\n\n+ `google-api-python-client/1.4.0`:\n The request was made by the Google API c lient for Python.\n+ `Cloud SDK Command Line Tool apitools-client/1.0 gcloud/0 .9.62`:\n The request was made by the Google Cloud SDK CLI (gcloud).\n+ `Ap pEngine-Google; (+http://code.google.com/appengine; appid: s~my-project`:\n T he request was made from the `my-project` App Engine app.",
540 "type": "string"
541 }
542 },
543 "type": "object"
544 },
1058 "CheckInfo": { 545 "CheckInfo": {
1059 "id": "CheckInfo", 546 "id": "CheckInfo",
1060 "properties": { 547 "properties": {
1061 "unusedArguments": { 548 "unusedArguments": {
1062 "description": "A list of fields and label keys that are ign ored by the server.\nThe client doesn't need to send them for following requests to improve\nperformance and allow better aggregation.", 549 "description": "A list of fields and label keys that are ign ored by the server.\nThe client doesn't need to send them for following requests to improve\nperformance and allow better aggregation.",
1063 "items": { 550 "items": {
1064 "type": "string" 551 "type": "string"
1065 }, 552 },
1066 "type": "array" 553 "type": "array"
1067 } 554 }
1068 }, 555 },
1069 "type": "object" 556 "type": "object"
1070 }, 557 },
1071 "ReleaseQuotaResponse": {
1072 "description": "Response message for the ReleaseQuota method.",
1073 "id": "ReleaseQuotaResponse",
1074 "properties": {
1075 "operationId": {
1076 "description": "The same operation_id value used in the Rele aseQuotaRequest. Used for\nlogging and diagnostics purposes.",
1077 "type": "string"
1078 },
1079 "serviceConfigId": {
1080 "description": "ID of the actual config used to process the request.",
1081 "type": "string"
1082 },
1083 "releaseErrors": {
1084 "description": "Indicates the decision of the release.",
1085 "items": {
1086 "$ref": "QuotaError"
1087 },
1088 "type": "array"
1089 },
1090 "quotaMetrics": {
1091 "description": "Quota metrics to indicate the result of rele ase. Depending on the\nrequest, one or more of the following metrics will be inc luded:\n\n1. For rate quota, per quota group or per quota metric released amount \nwill be specified using the following delta metric:\n \"serviceruntime.google apis.com/api/consumer/quota_refund_count\"\n\n2. For allocation quota, per quota metric total usage will be specified\nusing the following gauge metric:\n \"se rviceruntime.googleapis.com/allocation/consumer/quota_used_count\"",
1092 "items": {
1093 "$ref": "MetricValueSet"
1094 },
1095 "type": "array"
1096 }
1097 },
1098 "type": "object"
1099 },
1100 "AllocateQuotaRequest": { 558 "AllocateQuotaRequest": {
1101 "description": "Request message for the AllocateQuota method.", 559 "description": "Request message for the AllocateQuota method.",
1102 "id": "AllocateQuotaRequest", 560 "id": "AllocateQuotaRequest",
1103 "properties": { 561 "properties": {
1104 "serviceConfigId": { 562 "serviceConfigId": {
1105 "description": "Specifies which version of service configura tion should be used to process\nthe request. If unspecified or no matching versi on can be found, the latest\none will be used.", 563 "description": "Specifies which version of service configura tion should be used to process\nthe request. If unspecified or no matching versi on can be found, the latest\none will be used.",
1106 "type": "string" 564 "type": "string"
1107 }, 565 },
1108 "allocateOperation": { 566 "allocateOperation": {
1109 "$ref": "QuotaOperation", 567 "$ref": "QuotaOperation",
(...skipping 11 matching lines...) Expand all
1121 "", 579 "",
1122 "Allocates quota for the amount specified in the service configuration or\nspecified using the quota_metrics. If the amount is higher th an the\navailable quota, allocation error will be returned and no quota will be\ nallocated.", 580 "Allocates quota for the amount specified in the service configuration or\nspecified using the quota_metrics. If the amount is higher th an the\navailable quota, allocation error will be returned and no quota will be\ nallocated.",
1123 "Allocates quota for the amount specified in the service configuration or\nspecified using the quota_metrics. If the amount is higher th an the\navailable quota, request does not fail but all available quota will be\n allocated.", 581 "Allocates quota for the amount specified in the service configuration or\nspecified using the quota_metrics. If the amount is higher th an the\navailable quota, request does not fail but all available quota will be\n allocated.",
1124 "Only checks if there is enough quota available and does not change the\navailable quota. No lock is placed on the available quota eithe r." 582 "Only checks if there is enough quota available and does not change the\navailable quota. No lock is placed on the available quota eithe r."
1125 ], 583 ],
1126 "type": "string" 584 "type": "string"
1127 } 585 }
1128 }, 586 },
1129 "type": "object" 587 "type": "object"
1130 }, 588 },
589 "ReleaseQuotaResponse": {
590 "description": "Response message for the ReleaseQuota method.",
591 "id": "ReleaseQuotaResponse",
592 "properties": {
593 "operationId": {
594 "description": "The same operation_id value used in the Rele aseQuotaRequest. Used for\nlogging and diagnostics purposes.",
595 "type": "string"
596 },
597 "serviceConfigId": {
598 "description": "ID of the actual config used to process the request.",
599 "type": "string"
600 },
601 "releaseErrors": {
602 "description": "Indicates the decision of the release.",
603 "items": {
604 "$ref": "QuotaError"
605 },
606 "type": "array"
607 },
608 "quotaMetrics": {
609 "description": "Quota metrics to indicate the result of rele ase. Depending on the\nrequest, one or more of the following metrics will be inc luded:\n\n1. For rate quota, per quota group or per quota metric released amount \nwill be specified using the following delta metric:\n \"serviceruntime.google apis.com/api/consumer/quota_refund_count\"\n\n2. For allocation quota, per quota metric total usage will be specified\nusing the following gauge metric:\n \"se rviceruntime.googleapis.com/allocation/consumer/quota_used_count\"",
610 "items": {
611 "$ref": "MetricValueSet"
612 },
613 "type": "array"
614 }
615 },
616 "type": "object"
617 },
1131 "MetricValueSet": { 618 "MetricValueSet": {
1132 "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.", 619 "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.",
1133 "id": "MetricValueSet", 620 "id": "MetricValueSet",
1134 "properties": { 621 "properties": {
622 "metricName": {
623 "description": "The metric name defined in the service confi guration.",
624 "type": "string"
625 },
1135 "metricValues": { 626 "metricValues": {
1136 "description": "The values in this metric.", 627 "description": "The values in this metric.",
1137 "items": { 628 "items": {
1138 "$ref": "MetricValue" 629 "$ref": "MetricValue"
1139 }, 630 },
1140 "type": "array" 631 "type": "array"
1141 },
1142 "metricName": {
1143 "description": "The metric name defined in the service confi guration.",
1144 "type": "string"
1145 } 632 }
1146 }, 633 },
1147 "type": "object" 634 "type": "object"
1148 }, 635 },
1149 "ReportError": { 636 "ReportError": {
1150 "description": "Represents the processing error of one `Operation` i n the request.", 637 "description": "Represents the processing error of one `Operation` i n the request.",
1151 "id": "ReportError", 638 "id": "ReportError",
1152 "properties": { 639 "properties": {
1153 "operationId": {
1154 "description": "The Operation.operation_id value from the re quest.",
1155 "type": "string"
1156 },
1157 "status": { 640 "status": {
1158 "$ref": "Status", 641 "$ref": "Status",
1159 "description": "Details of the error when processing the `Op eration`." 642 "description": "Details of the error when processing the `Op eration`."
643 },
644 "operationId": {
645 "description": "The Operation.operation_id value from the re quest.",
646 "type": "string"
647 }
648 },
649 "type": "object"
650 },
651 "StartReconciliationRequest": {
652 "id": "StartReconciliationRequest",
653 "properties": {
654 "reconciliationOperation": {
655 "$ref": "QuotaOperation",
656 "description": "Operation that describes the quota reconcili ation."
657 },
658 "serviceConfigId": {
659 "description": "Specifies which version of service configura tion should be used to process\nthe request. If unspecified or no matching versi on can be found, the latest\none will be used.",
660 "type": "string"
1160 } 661 }
1161 }, 662 },
1162 "type": "object" 663 "type": "object"
1163 }, 664 },
1164 "CheckError": { 665 "CheckError": {
1165 "description": "Defines the errors to be returned in\ngoogle.api.ser vicecontrol.v1.CheckResponse.check_errors.", 666 "description": "Defines the errors to be returned in\ngoogle.api.ser vicecontrol.v1.CheckResponse.check_errors.",
1166 "id": "CheckError", 667 "id": "CheckError",
1167 "properties": { 668 "properties": {
1168 "detail": {
1169 "description": "Free-form text providing details on the erro r cause of the error.",
1170 "type": "string"
1171 },
1172 "code": { 669 "code": {
1173 "description": "The error code.", 670 "description": "The error code.",
1174 "enum": [ 671 "enum": [
1175 "ERROR_CODE_UNSPECIFIED", 672 "ERROR_CODE_UNSPECIFIED",
1176 "NOT_FOUND", 673 "NOT_FOUND",
1177 "PERMISSION_DENIED", 674 "PERMISSION_DENIED",
1178 "RESOURCE_EXHAUSTED", 675 "RESOURCE_EXHAUSTED",
1179 "BUDGET_EXCEEDED", 676 "BUDGET_EXCEEDED",
1180 "DENIAL_OF_SERVICE_DETECTED", 677 "DENIAL_OF_SERVICE_DETECTED",
1181 "LOAD_SHEDDING", 678 "LOAD_SHEDDING",
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
1233 "Request is not allowed as per security policies defined in Org Policy.", 730 "Request is not allowed as per security policies defined in Org Policy.",
1234 "The backend server for looking up project id/number is unavailable.", 731 "The backend server for looking up project id/number is unavailable.",
1235 "The backend server for checking service status is unava ilable.", 732 "The backend server for checking service status is unava ilable.",
1236 "The backend server for checking billing status is unava ilable.", 733 "The backend server for checking billing status is unava ilable.",
1237 "The backend server for checking quota limits is unavail able.", 734 "The backend server for checking quota limits is unavail able.",
1238 "The Spanner for looking up LOAS project is unavailable. ", 735 "The Spanner for looking up LOAS project is unavailable. ",
1239 "Cloud Resource Manager backend server is unavailable.", 736 "Cloud Resource Manager backend server is unavailable.",
1240 "Backend server for evaluating security policy is unavai lable." 737 "Backend server for evaluating security policy is unavai lable."
1241 ], 738 ],
1242 "type": "string" 739 "type": "string"
1243 } 740 },
1244 }, 741 "detail": {
1245 "type": "object" 742 "description": "Free-form text providing details on the erro r cause of the error.",
1246 },
1247 "StartReconciliationRequest": {
1248 "id": "StartReconciliationRequest",
1249 "properties": {
1250 "reconciliationOperation": {
1251 "$ref": "QuotaOperation",
1252 "description": "Operation that describes the quota reconcili ation."
1253 },
1254 "serviceConfigId": {
1255 "description": "Specifies which version of service configura tion should be used to process\nthe request. If unspecified or no matching versi on can be found, the latest\none will be used.",
1256 "type": "string" 743 "type": "string"
1257 } 744 }
1258 }, 745 },
1259 "type": "object" 746 "type": "object"
1260 }, 747 },
1261 "QuotaInfo": { 748 "QuotaInfo": {
1262 "description": "Contains the quota information for a quota check res ponse.", 749 "description": "Contains the quota information for a quota check res ponse.",
1263 "id": "QuotaInfo", 750 "id": "QuotaInfo",
1264 "properties": { 751 "properties": {
1265 "limitExceeded": { 752 "limitExceeded": {
(...skipping 18 matching lines...) Expand all
1284 }, 771 },
1285 "type": "array" 772 "type": "array"
1286 } 773 }
1287 }, 774 },
1288 "type": "object" 775 "type": "object"
1289 }, 776 },
1290 "CheckRequest": { 777 "CheckRequest": {
1291 "description": "Request message for the Check method.", 778 "description": "Request message for the Check method.",
1292 "id": "CheckRequest", 779 "id": "CheckRequest",
1293 "properties": { 780 "properties": {
1294 "serviceConfigId": {
1295 "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.",
1296 "type": "string"
1297 },
1298 "skipActivationCheck": { 781 "skipActivationCheck": {
1299 "description": "Indicates if service activation check should be skipped for this request.\nDefault behavior is to perform the check and appl y relevant quota.", 782 "description": "Indicates if service activation check should be skipped for this request.\nDefault behavior is to perform the check and appl y relevant quota.",
1300 "type": "boolean" 783 "type": "boolean"
1301 }, 784 },
1302 "operation": { 785 "operation": {
1303 "$ref": "Operation", 786 "$ref": "Operation",
1304 "description": "The operation to be checked." 787 "description": "The operation to be checked."
1305 }, 788 },
1306 "requestProjectSettings": { 789 "requestProjectSettings": {
1307 "description": "Requests the project settings to be returned as part of the check response.", 790 "description": "Requests the project settings to be returned as part of the check response.",
1308 "type": "boolean" 791 "type": "boolean"
792 },
793 "serviceConfigId": {
794 "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.",
795 "type": "string"
1309 } 796 }
1310 }, 797 },
1311 "type": "object" 798 "type": "object"
1312 }, 799 },
1313 "QuotaOperation": { 800 "QuotaOperation": {
1314 "description": "Represents information regarding a quota operation." , 801 "description": "Represents information regarding a quota operation." ,
1315 "id": "QuotaOperation", 802 "id": "QuotaOperation",
1316 "properties": { 803 "properties": {
1317 "quotaMetrics": {
1318 "description": "Represents information about this operation. Each MetricValueSet\ncorresponds to a metric defined in the service configurati on.\nThe data type used in the MetricValueSet must agree with\nthe data type spe cified in the metric definition.\n\nWithin a single operation, it is not allowed to have more than one\nMetricValue instances that have the same metric names an d identical\nlabel value combinations. If a request has such duplicated MetricVa lue\ninstances, the entire request is rejected with\nan invalid argument error." ,
1319 "items": {
1320 "$ref": "MetricValueSet"
1321 },
1322 "type": "array"
1323 },
1324 "labels": {
1325 "additionalProperties": {
1326 "type": "string"
1327 },
1328 "description": "Labels describing the operation.",
1329 "type": "object"
1330 },
1331 "consumerId": {
1332 "description": "Identity of the consumer for whom this quota operation is being performed.\n\nThis can be in one of the following formats:\n project:<project_id>,\n project_number:<project_number>,\n api_key:<api_key> .",
1333 "type": "string"
1334 },
1335 "operationId": {
1336 "description": "Identity of the operation. This must be uniq ue within the scope of the\nservice that generated the operation. If the service calls AllocateQuota\nand ReleaseQuota on the same operation, the two calls shou ld carry the\nsame ID.\n\nUUID version 4 is recommended, though not required. In scenarios where an\noperation is computed from existing information and an idem potent id is\ndesirable for deduplication purpose, UUID version 5 is recommended . See\nRFC 4122 for details.",
1337 "type": "string"
1338 },
1339 "quotaMode": { 804 "quotaMode": {
1340 "description": "Quota mode for this operation.", 805 "description": "Quota mode for this operation.",
1341 "enum": [ 806 "enum": [
1342 "UNSPECIFIED", 807 "UNSPECIFIED",
1343 "NORMAL", 808 "NORMAL",
1344 "BEST_EFFORT", 809 "BEST_EFFORT",
1345 "CHECK_ONLY" 810 "CHECK_ONLY"
1346 ], 811 ],
1347 "enumDescriptions": [ 812 "enumDescriptions": [
1348 "", 813 "",
1349 "For AllocateQuota request, allocates quota for the amou nt specified in\nthe service configuration or specified using the quota metrics. If the\namount is higher than the available quota, allocation error will be\nre turned and no quota will be allocated.\nFor ReleaseQuota request, this mode is s upported only for precise quota\nlimits. In this case, this operation releases q uota for the amount\nspecified in the service configuration or specified using t he quota\nmetrics. If the release can make available quota negative, release err or\nwill be returned and no quota will be released.", 814 "For AllocateQuota request, allocates quota for the amou nt specified in\nthe service configuration or specified using the quota metrics. If the\namount is higher than the available quota, allocation error will be\nre turned and no quota will be allocated.\nFor ReleaseQuota request, this mode is s upported only for precise quota\nlimits. In this case, this operation releases q uota for the amount\nspecified in the service configuration or specified using t he quota\nmetrics. If the release can make available quota negative, release err or\nwill be returned and no quota will be released.",
1350 "For AllocateQuota request, this mode is supported only for imprecise\nquota limits. In this case, the operation allocates quota for the amount\nspecified in the service configuration or specified using the quota\nme trics. If the amount is higher than the available quota, request does\nnot fail but all available quota will be allocated.\nFor ReleaseQuota request, this mode is supported for both precise quota\nlimits and imprecise quota limits. In this case, this operation releases\nquota for the amount specified in the service con figuration or specified\nusing the quota metrics. If the release can make availa ble quota\nnegative, request does not fail but only the available quota will be\ nreleased. After the ReleaseQuota request completes, the available quota\nwill b e 0, and never goes to negative.", 815 "For AllocateQuota request, this mode is supported only for imprecise\nquota limits. In this case, the operation allocates quota for the amount\nspecified in the service configuration or specified using the quota\nme trics. If the amount is higher than the available quota, request does\nnot fail but all available quota will be allocated.\nFor ReleaseQuota request, this mode is supported for both precise quota\nlimits and imprecise quota limits. In this case, this operation releases\nquota for the amount specified in the service con figuration or specified\nusing the quota metrics. If the release can make availa ble quota\nnegative, request does not fail but only the available quota will be\ nreleased. After the ReleaseQuota request completes, the available quota\nwill b e 0, and never goes to negative.",
1351 "For AllocateQuota request, only checks if there is enou gh quota\navailable and does not change the available quota. No lock is placed o n\nthe available quota either. Not supported for ReleaseQuota request." 816 "For AllocateQuota request, only checks if there is enou gh quota\navailable and does not change the available quota. No lock is placed o n\nthe available quota either. Not supported for ReleaseQuota request."
1352 ], 817 ],
1353 "type": "string" 818 "type": "string"
1354 }, 819 },
1355 "methodName": { 820 "methodName": {
1356 "description": "Fully qualified name of the API method for w hich this quota operation is\nrequested. This name is used for matching quota ru les or metric rules and\nbilling status rules defined in service configuration. This field is not\nrequired if the quota operation is performed on non-API resou rces.\n\nExample of an RPC method name:\n google.example.library.v1.LibrarySe rvice.CreateShelf", 821 "description": "Fully qualified name of the API method for w hich this quota operation is\nrequested. This name is used for matching quota ru les or metric rules and\nbilling status rules defined in service configuration. This field is not\nrequired if the quota operation is performed on non-API resou rces.\n\nExample of an RPC method name:\n google.example.library.v1.LibrarySe rvice.CreateShelf",
1357 "type": "string" 822 "type": "string"
1358 } 823 },
1359 }, 824 "quotaMetrics": {
1360 "type": "object" 825 "description": "Represents information about this operation. Each MetricValueSet\ncorresponds to a metric defined in the service configurati on.\nThe data type used in the MetricValueSet must agree with\nthe data type spe cified in the metric definition.\n\nWithin a single operation, it is not allowed to have more than one\nMetricValue instances that have the same metric names an d identical\nlabel value combinations. If a request has such duplicated MetricVa lue\ninstances, the entire request is rejected with\nan invalid argument error." ,
826 "items": {
827 "$ref": "MetricValueSet"
828 },
829 "type": "array"
830 },
831 "labels": {
832 "additionalProperties": {
833 "type": "string"
834 },
835 "description": "Labels describing the operation.",
836 "type": "object"
837 },
838 "consumerId": {
839 "description": "Identity of the consumer for whom this quota operation is being performed.\n\nThis can be in one of the following formats:\n project:<project_id>,\n project_number:<project_number>,\n api_key:<api_key> .",
840 "type": "string"
841 },
842 "operationId": {
843 "description": "Identity of the operation. This must be uniq ue within the scope of the\nservice that generated the operation. If the service calls AllocateQuota\nand ReleaseQuota on the same operation, the two calls shou ld carry the\nsame ID.\n\nUUID version 4 is recommended, though not required. In scenarios where an\noperation is computed from existing information and an idem potent id is\ndesirable for deduplication purpose, UUID version 5 is recommended . See\nRFC 4122 for details.",
844 "type": "string"
845 }
846 },
847 "type": "object"
848 },
849 "EndReconciliationRequest": {
850 "id": "EndReconciliationRequest",
851 "properties": {
852 "reconciliationOperation": {
853 "$ref": "QuotaOperation",
854 "description": "Operation that describes the quota reconcili ation."
855 },
856 "serviceConfigId": {
857 "description": "Specifies which version of service configura tion should be used to process\nthe request. If unspecified or no matching versi on can be found, the latest\none will be used.",
858 "type": "string"
859 }
860 },
861 "type": "object"
862 },
863 "ReportInfo": {
864 "id": "ReportInfo",
865 "properties": {
866 "operationId": {
867 "description": "The Operation.operation_id value from the re quest.",
868 "type": "string"
869 },
870 "quotaInfo": {
871 "$ref": "QuotaInfo",
872 "description": "Quota usage info when processing the `Operat ion`."
873 }
874 },
875 "type": "object"
876 },
877 "Operation": {
878 "description": "Represents information regarding an operation.",
879 "id": "Operation",
880 "properties": {
881 "quotaProperties": {
882 "$ref": "QuotaProperties",
883 "description": "Represents the properties needed for quota c heck. Applicable only if this\noperation is for a quota check request."
884 },
885 "consumerId": {
886 "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>.",
887 "type": "string"
888 },
889 "operationId": {
890 "description": "Identity of the operation. This must be uniq ue within the scope of the\nservice that generated the operation. If the service calls\nCheck() and Report() on the same operation, the two calls should carry\n the same id.\n\nUUID version 4 is recommended, though not required.\nIn scenario s where an operation is computed from existing information\nand an idempotent id is desirable for deduplication purpose, UUID version 5\nis recommended. See RFC 4122 for details.",
891 "type": "string"
892 },
893 "endTime": {
894 "description": "End time of the operation.\nRequired when th e operation is used in ServiceController.Report,\nbut optional when the operatio n is used in ServiceController.Check.",
895 "format": "google-datetime",
896 "type": "string"
897 },
898 "operationName": {
899 "description": "Fully qualified name of the operation. Reser ved for future use.",
900 "type": "string"
901 },
902 "startTime": {
903 "description": "Required. Start time of the operation.",
904 "format": "google-datetime",
905 "type": "string"
906 },
907 "importance": {
908 "description": "DO NOT USE. This is an experimental field.",
909 "enum": [
910 "LOW",
911 "HIGH",
912 "DEBUG"
913 ],
914 "enumDescriptions": [
915 "The API implementation may cache and aggregate the data .\nThe data may be lost when rare and unexpected system failures occur.",
916 "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.",
917 "In addition to the behavior described in HIGH, DEBUG en ables\nadditional validation logic that is only useful during the onboarding\npr ocess. This is only available to Google internal services and\nthe service must be whitelisted by chemist-dev@google.com in order\nto use this level."
918 ],
919 "type": "string"
920 },
921 "resourceContainer": {
922 "description": "The resource name of the parent of a resourc e in the resource hierarchy.\n\nThis can be in one of the following formats:\n - “projects/<project-id or project-number>”\n - “folders/<folder-id>”\n - “organizations/<organization-id>”",
923 "type": "string"
924 },
925 "labels": {
926 "additionalProperties": {
927 "type": "string"
928 },
929 "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).",
930 "type": "object"
931 },
932 "logEntries": {
933 "description": "Represents information to be logged.",
934 "items": {
935 "$ref": "LogEntry"
936 },
937 "type": "array"
938 },
939 "userLabels": {
940 "additionalProperties": {
941 "type": "string"
942 },
943 "description": "User defined labels for the resource that th is operation is associated\nwith.",
944 "type": "object"
945 },
946 "metricValueSets": {
947 "description": "Represents information about this operation. Each MetricValueSet\ncorresponds to a metric defined in the service configurati on.\nThe data type used in the MetricValueSet must agree with\nthe data type spe cified in the metric definition.\n\nWithin a single operation, it is not allowed to have more than one\nMetricValue instances that have the same metric names an d identical\nlabel value combinations. If a request has such duplicated MetricVa lue\ninstances, the entire request is rejected with\nan invalid argument error." ,
948 "items": {
949 "$ref": "MetricValueSet"
950 },
951 "type": "array"
952 }
953 },
954 "type": "object"
955 },
956 "ReportResponse": {
957 "description": "Response message for the Report method.",
958 "id": "ReportResponse",
959 "properties": {
960 "reportInfos": {
961 "description": "Quota usage for each quota release `Operatio n` request.\n\nFully or partially failed quota release request may or may not be present\nin `report_quota_info`. For example, a failed quota release request wi ll\nhave the current quota usage info when precise quota library returns the\nin fo. A deadline exceeded quota request will not have quota usage info.\n\nIf ther e is no quota release request, report_quota_info will be empty.\n",
962 "items": {
963 "$ref": "ReportInfo"
964 },
965 "type": "array"
966 },
967 "serviceConfigId": {
968 "description": "The actual config id used to process the req uest.",
969 "type": "string"
970 },
971 "reportErrors": {
972 "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.",
973 "items": {
974 "$ref": "ReportError"
975 },
976 "type": "array"
977 }
978 },
979 "type": "object"
980 },
981 "CheckResponse": {
982 "description": "Response message for the Check method.",
983 "id": "CheckResponse",
984 "properties": {
985 "operationId": {
986 "description": "The same operation_id value used in the Chec kRequest.\nUsed for logging and diagnostics purposes.",
987 "type": "string"
988 },
989 "checkErrors": {
990 "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." ,
991 "items": {
992 "$ref": "CheckError"
993 },
994 "type": "array"
995 },
996 "checkInfo": {
997 "$ref": "CheckInfo",
998 "description": "Feedback data returned from the server durin g processing a Check request."
999 },
1000 "quotaInfo": {
1001 "$ref": "QuotaInfo",
1002 "description": "Quota information for the check request asso ciated with this response.\n"
1003 },
1004 "serviceConfigId": {
1005 "description": "The actual config id used to process the req uest.",
1006 "type": "string"
1007 }
1008 },
1009 "type": "object"
1010 },
1011 "Status": {
1012 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` which can be used for common error conditions.\n\n# Lan guage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mes sage is\nexposed in different client libraries and different wire protocols, it can be\nmapped differently. For example, it will likely be mapped to some except ions\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\ n\nThe error model and the `Status` message can be used in a variety of\nenviron ments, either with or without APIs, to provide a\nconsistent developer experienc e across different environments.\n\nExample uses of this error model include:\n\ n- Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step may\n have a `Status` message for error reporting purpose.\n\n- Batch operati ons. If a client uses batch request and batch response, the\n `Status` messag e should be used directly inside batch response, one for\n each error sub-res ponse.\n\n- Asynchronous operations. If an API call embeds asynchronous operatio n\n results in its response, the status of those operations should be\n re presented directly using the `Status` message.\n\n- Logging. If some API errors are stored in logs, the message `Status` could\n be used directly after any s tripping needed for security/privacy reasons.",
1013 "id": "Status",
1014 "properties": {
1015 "details": {
1016 "description": "A list of messages that carry the error deta ils. There will be a\ncommon set of message types for APIs to use.",
1017 "items": {
1018 "additionalProperties": {
1019 "description": "Properties of the object. Contains f ield @type with type URL.",
1020 "type": "any"
1021 },
1022 "type": "object"
1023 },
1024 "type": "array"
1025 },
1026 "code": {
1027 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
1028 "format": "int32",
1029 "type": "integer"
1030 },
1031 "message": {
1032 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
1033 "type": "string"
1034 }
1035 },
1036 "type": "object"
1037 },
1038 "ReportRequest": {
1039 "description": "Request message for the Report method.",
1040 "id": "ReportRequest",
1041 "properties": {
1042 "operations": {
1043 "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.",
1044 "items": {
1045 "$ref": "Operation"
1046 },
1047 "type": "array"
1048 },
1049 "serviceConfigId": {
1050 "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.",
1051 "type": "string"
1052 }
1053 },
1054 "type": "object"
1055 },
1056 "AuditLog": {
1057 "description": "Common audit log format for Google Cloud Platform AP I operations.\n\n",
1058 "id": "AuditLog",
1059 "properties": {
1060 "authorizationInfo": {
1061 "description": "Authorization information. If there are mult iple\nresources or permissions involved, then there is\none AuthorizationInfo el ement for each {resource, permission} tuple.",
1062 "items": {
1063 "$ref": "AuthorizationInfo"
1064 },
1065 "type": "array"
1066 },
1067 "resourceName": {
1068 "description": "The resource or collection that is the targe t of the operation.\nThe name is a scheme-less URI, not including the API servic e name.\nFor example:\n\n \"shelves/SHELF_ID/books\"\n \"shelves/SHELF_ID/ books/BOOK_ID\"",
1069 "type": "string"
1070 },
1071 "request": {
1072 "additionalProperties": {
1073 "description": "Properties of the object.",
1074 "type": "any"
1075 },
1076 "description": "The operation request. This may not include all request parameters,\nsuch as those that are too large, privacy-sensitive, or duplicated\nelsewhere in the log record.\nIt should never include user-generate d data, such as file contents.\nWhen the JSON object represented here has a prot o equivalent, the proto\nname will be indicated in the `@type` property.",
1077 "type": "object"
1078 },
1079 "serviceData": {
1080 "additionalProperties": {
1081 "description": "Properties of the object. Contains field @type with type URL.",
1082 "type": "any"
1083 },
1084 "description": "Other service-specific data about the reques t, response, and other\nactivities.",
1085 "type": "object"
1086 },
1087 "requestMetadata": {
1088 "$ref": "RequestMetadata",
1089 "description": "Metadata about the operation."
1090 },
1091 "numResponseItems": {
1092 "description": "The number of items returned from a List or Query API method,\nif applicable.",
1093 "format": "int64",
1094 "type": "string"
1095 },
1096 "status": {
1097 "$ref": "Status",
1098 "description": "The status of the overall operation."
1099 },
1100 "authenticationInfo": {
1101 "$ref": "AuthenticationInfo",
1102 "description": "Authentication information."
1103 },
1104 "serviceName": {
1105 "description": "The name of the API service performing the o peration. For example,\n`\"datastore.googleapis.com\"`.",
1106 "type": "string"
1107 },
1108 "response": {
1109 "additionalProperties": {
1110 "description": "Properties of the object.",
1111 "type": "any"
1112 },
1113 "description": "The operation response. This may not include all response elements,\nsuch as those that are too large, privacy-sensitive, or duplicated\nelsewhere in the log record.\nIt should never include user-generate d data, such as file contents.\nWhen the JSON object represented here has a prot o equivalent, the proto\nname will be indicated in the `@type` property.",
1114 "type": "object"
1115 },
1116 "methodName": {
1117 "description": "The name of the service method or operation. \nFor API calls, this should be the name of the API method.\nFor example,\n\n \"google.datastore.v1.Datastore.RunQuery\"\n \"google.logging.v1.LoggingServ ice.DeleteLog\"",
1118 "type": "string"
1119 }
1120 },
1121 "type": "object"
1122 },
1123 "LogEntry": {
1124 "description": "An individual log entry.",
1125 "id": "LogEntry",
1126 "properties": {
1127 "protoPayload": {
1128 "additionalProperties": {
1129 "description": "Properties of the object. Contains field @type with type URL.",
1130 "type": "any"
1131 },
1132 "description": "The log entry payload, represented as a prot ocol buffer that is\nexpressed as a JSON object. You can only pass `protoPayload `\nvalues that belong to a set of approved types.",
1133 "type": "object"
1134 },
1135 "timestamp": {
1136 "description": "The time the event described by the log entr y occurred. If\nomitted, defaults to operation start time.",
1137 "format": "google-datetime",
1138 "type": "string"
1139 },
1140 "labels": {
1141 "additionalProperties": {
1142 "type": "string"
1143 },
1144 "description": "A set of user-defined (key, value) data that provides additional\ninformation about the log entry.",
1145 "type": "object"
1146 },
1147 "severity": {
1148 "description": "The severity of the log entry. The default v alue is\n`LogSeverity.DEFAULT`.",
1149 "enum": [
1150 "DEFAULT",
1151 "DEBUG",
1152 "INFO",
1153 "NOTICE",
1154 "WARNING",
1155 "ERROR",
1156 "CRITICAL",
1157 "ALERT",
1158 "EMERGENCY"
1159 ],
1160 "enumDescriptions": [
1161 "(0) The log entry has no assigned severity level.",
1162 "(100) Debug or trace information.",
1163 "(200) Routine information, such as ongoing status or pe rformance.",
1164 "(300) Normal but significant events, such as start up, shut down, or\na configuration change.",
1165 "(400) Warning events might cause problems.",
1166 "(500) Error events are likely to cause problems.",
1167 "(600) Critical events cause more severe problems or out ages.",
1168 "(700) A person must take an action immediately.",
1169 "(800) One or more systems are unusable."
1170 ],
1171 "type": "string"
1172 },
1173 "insertId": {
1174 "description": "A unique ID for the log entry used for dedup lication. If omitted,\nthe implementation will generate one based on operation_i d.",
1175 "type": "string"
1176 },
1177 "name": {
1178 "description": "Required. The log to which this log entry be longs. Examples: `\"syslog\"`,\n`\"book_log\"`.",
1179 "type": "string"
1180 },
1181 "structPayload": {
1182 "additionalProperties": {
1183 "description": "Properties of the object.",
1184 "type": "any"
1185 },
1186 "description": "The log entry payload, represented as a stru cture that\nis expressed as a JSON object.",
1187 "type": "object"
1188 },
1189 "textPayload": {
1190 "description": "The log entry payload, represented as a Unic ode string (UTF-8).",
1191 "type": "string"
1192 }
1193 },
1194 "type": "object"
1195 },
1196 "MetricValue": {
1197 "description": "Represents a single metric value.",
1198 "id": "MetricValue",
1199 "properties": {
1200 "labels": {
1201 "additionalProperties": {
1202 "type": "string"
1203 },
1204 "description": "The labels describing the metric value.\nSee comments on google.api.servicecontrol.v1.Operation.labels for\nthe overriding r elationship.",
1205 "type": "object"
1206 },
1207 "stringValue": {
1208 "description": "A text string value.",
1209 "type": "string"
1210 },
1211 "doubleValue": {
1212 "description": "A double precision floating point value.",
1213 "format": "double",
1214 "type": "number"
1215 },
1216 "int64Value": {
1217 "description": "A signed 64-bit integer value.",
1218 "format": "int64",
1219 "type": "string"
1220 },
1221 "distributionValue": {
1222 "$ref": "Distribution",
1223 "description": "A distribution value."
1224 },
1225 "boolValue": {
1226 "description": "A boolean value.",
1227 "type": "boolean"
1228 },
1229 "endTime": {
1230 "description": "The end of the time period over which this m etric value's measurement\napplies.",
1231 "format": "google-datetime",
1232 "type": "string"
1233 },
1234 "startTime": {
1235 "description": "The start of the time period over which this metric value's measurement\napplies. The time period has different semantics fo r different metric\ntypes (cumulative, delta, and gauge). See the metric definit ion\ndocumentation in the service configuration for details.",
1236 "format": "google-datetime",
1237 "type": "string"
1238 },
1239 "moneyValue": {
1240 "$ref": "Money",
1241 "description": "A money value."
1242 }
1243 },
1244 "type": "object"
1245 },
1246 "EndReconciliationResponse": {
1247 "id": "EndReconciliationResponse",
1248 "properties": {
1249 "quotaMetrics": {
1250 "description": "Metric values as tracked by One Platform bef ore the adjustment was made.",
1251 "items": {
1252 "$ref": "MetricValueSet"
1253 },
1254 "type": "array"
1255 },
1256 "operationId": {
1257 "description": "The same operation_id value used in the EndR econciliationRequest. Used for\nlogging and diagnostics purposes.",
1258 "type": "string"
1259 },
1260 "reconciliationErrors": {
1261 "description": "Indicates the decision of the reconciliation end.",
1262 "items": {
1263 "$ref": "QuotaError"
1264 },
1265 "type": "array"
1266 },
1267 "serviceConfigId": {
1268 "description": "ID of the actual config used to process the request.",
1269 "type": "string"
1270 }
1271 },
1272 "type": "object"
1273 },
1274 "Money": {
1275 "description": "Represents an amount of money with its currency type .",
1276 "id": "Money",
1277 "properties": {
1278 "currencyCode": {
1279 "description": "The 3-letter currency code defined in ISO 42 17.",
1280 "type": "string"
1281 },
1282 "nanos": {
1283 "description": "Number of nano (10^-9) units of the amount.\ nThe value must be between -999,999,999 and +999,999,999 inclusive.\nIf `units` is positive, `nanos` must be positive or zero.\nIf `units` is zero, `nanos` can be positive, zero, or negative.\nIf `units` is negative, `nanos` must be negativ e or zero.\nFor example $-1.75 is represented as `units`=-1 and `nanos`=-750,000 ,000.",
1284 "format": "int32",
1285 "type": "integer"
1286 },
1287 "units": {
1288 "description": "The whole units of the amount.\nFor example if `currencyCode` is `\"USD\"`, then 1 unit is one US dollar.",
1289 "format": "int64",
1290 "type": "string"
1291 }
1292 },
1293 "type": "object"
1294 },
1295 "ExplicitBuckets": {
1296 "description": "Describing buckets with arbitrary user-provided widt h.",
1297 "id": "ExplicitBuckets",
1298 "properties": {
1299 "bounds": {
1300 "description": "'bound' is a list of strictly increasing bou ndaries between\nbuckets. Note that a list of length N-1 defines N buckets becau se\nof fenceposting. See comments on `bucket_options` for details.\n\nThe i'th f inite bucket covers the interval\n [bound[i-1], bound[i])\nwhere i ranges from 1 to bound_size() - 1. Note that there are no\nfinite buckets at all if 'bound' only contains a single element; in\nthat special case the single bound defines t he boundary between the\nunderflow and overflow buckets.\n\nbucket number lower bound upper bound\n i == 0 (underflow) -inf bound[i]\n 0 < i < bound_size() bound[i-1] bound[i]\n i = = bound_size() (overflow) bound[i-1] +inf",
1301 "items": {
1302 "format": "double",
1303 "type": "number"
1304 },
1305 "type": "array"
1306 }
1307 },
1308 "type": "object"
1309 },
1310 "Distribution": {
1311 "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",
1312 "id": "Distribution",
1313 "properties": {
1314 "explicitBuckets": {
1315 "$ref": "ExplicitBuckets",
1316 "description": "Buckets with arbitrary user-provided width."
1317 },
1318 "maximum": {
1319 "description": "The maximum of the population of values. Ign ored if `count` is zero.",
1320 "format": "double",
1321 "type": "number"
1322 },
1323 "sumOfSquaredDeviation": {
1324 "description": "The sum of squared deviations from the mean: \n Sum[i=1..count]((x_i - mean)^2)\nwhere each x_i is a sample values. If `coun t` is zero then this field\nmust be zero, otherwise validation of the request fa ils.",
1325 "format": "double",
1326 "type": "number"
1327 },
1328 "exponentialBuckets": {
1329 "$ref": "ExponentialBuckets",
1330 "description": "Buckets with exponentially growing width."
1331 },
1332 "linearBuckets": {
1333 "$ref": "LinearBuckets",
1334 "description": "Buckets with constant width."
1335 },
1336 "minimum": {
1337 "description": "The minimum of the population of values. Ign ored if `count` is zero.",
1338 "format": "double",
1339 "type": "number"
1340 },
1341 "count": {
1342 "description": "The total number of samples in the distribut ion. Must be >= 0.",
1343 "format": "int64",
1344 "type": "string"
1345 },
1346 "mean": {
1347 "description": "The arithmetic mean of the samples in the di stribution. If `count` is\nzero then this field must be zero.",
1348 "format": "double",
1349 "type": "number"
1350 },
1351 "bucketCounts": {
1352 "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.",
1353 "items": {
1354 "format": "int64",
1355 "type": "string"
1356 },
1357 "type": "array"
1358 }
1359 },
1360 "type": "object"
1361 } 1361 }
1362 }, 1362 },
1363 "servicePath": "", 1363 "servicePath": "",
1364 "title": "Google Service Control API", 1364 "title": "Google Service Control API",
1365 "version": "v1" 1365 "version": "v1"
1366 } 1366 }
OLDNEW
« no previous file with comments | « discovery/googleapis/searchconsole__v1.json ('k') | discovery/googleapis/servicemanagement__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698