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

Side by Side Diff: discovery/googleapis_beta/toolresults__v1beta3.json

Issue 2649893002: Api-roll 44: 2017-01-23 (Closed)
Patch Set: Created 3 years, 11 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
« no previous file with comments | « discovery/googleapis_beta/sqladmin__v1beta4.json ('k') | generated/googleapis/CHANGELOG.md » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
11 "basePath": "/toolresults/v1beta3/projects/", 11 "basePath": "/toolresults/v1beta3/projects/",
12 "baseUrl": "https://www.googleapis.com/toolresults/v1beta3/projects/", 12 "baseUrl": "https://www.googleapis.com/toolresults/v1beta3/projects/",
13 "batchPath": "batch", 13 "batchPath": "batch",
14 "canonicalName": "Tool Results", 14 "canonicalName": "Tool Results",
15 "description": "Reads and publishes results from Cloud Test Lab.", 15 "description": "Reads and publishes results from Cloud Test Lab.",
16 "discoveryVersion": "v1", 16 "discoveryVersion": "v1",
17 "documentationLink": "https://developers.google.com/cloud-test-lab/", 17 "documentationLink": "https://developers.google.com/cloud-test-lab/",
18 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/QYAVHgu7XLuKcUj9CeBFJN8ho9M\"", 18 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/H7oYqmL4r5lYmxx0hYA5ZlF4dzg\"",
19 "icons": { 19 "icons": {
20 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp. png", 20 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp. png",
21 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp. png" 21 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp. png"
22 }, 22 },
23 "id": "toolresults:v1beta3", 23 "id": "toolresults:v1beta3",
24 "kind": "discovery#restDescription", 24 "kind": "discovery#restDescription",
25 "name": "toolresults", 25 "name": "toolresults",
26 "ownerDomain": "google.com", 26 "ownerDomain": "google.com",
27 "ownerName": "Google", 27 "ownerName": "Google",
28 "parameters": { 28 "parameters": {
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after
475 } 475 }
476 }, 476 },
477 "path": "{projectId}/histories/{hist oryId}/executions/{executionId}/steps/{stepId}", 477 "path": "{projectId}/histories/{hist oryId}/executions/{executionId}/steps/{stepId}",
478 "response": { 478 "response": {
479 "$ref": "Step" 479 "$ref": "Step"
480 }, 480 },
481 "scopes": [ 481 "scopes": [
482 "https://www.googleapis.com/auth /cloud-platform" 482 "https://www.googleapis.com/auth /cloud-platform"
483 ] 483 ]
484 }, 484 },
485 "getPerfMetricsSummary": {
486 "description": "Retrieves a PerfMetr icsSummary.\n\nMay return any of the following error code(s): - NOT_FOUND - The specified PerfMetricsSummary does not exist",
487 "httpMethod": "GET",
488 "id": "toolresults.projects.historie s.executions.steps.getPerfMetricsSummary",
489 "parameterOrder": [
490 "projectId",
491 "historyId",
492 "executionId",
493 "stepId"
494 ],
495 "parameters": {
496 "executionId": {
497 "description": "A tool resul ts execution ID.",
498 "location": "path",
499 "required": true,
500 "type": "string"
501 },
502 "historyId": {
503 "description": "A tool resul ts history ID.",
504 "location": "path",
505 "required": true,
506 "type": "string"
507 },
508 "projectId": {
509 "description": "The cloud pr oject",
510 "location": "path",
511 "required": true,
512 "type": "string"
513 },
514 "stepId": {
515 "description": "A tool resul ts step ID.",
516 "location": "path",
517 "required": true,
518 "type": "string"
519 }
520 },
521 "path": "{projectId}/histories/{hist oryId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary",
522 "response": {
523 "$ref": "PerfMetricsSummary"
524 }
525 },
485 "list": { 526 "list": {
486 "description": "Lists Steps for a gi ven Execution.\n\nThe steps are sorted by creation_time in descending order. The step_id key will be used to order the steps with the same creation_time.\n\nMay return any of the following canonical error codes:\n\n- PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request i s malformed - FAILED_PRECONDITION - if an argument in the request happens to be invalid; e.g. if an attempt is made to list the children of a nonexistent Step - NOT_FOUND - if the containing Execution does not exist", 527 "description": "Lists Steps for a gi ven Execution.\n\nThe steps are sorted by creation_time in descending order. The step_id key will be used to order the steps with the same creation_time.\n\nMay return any of the following canonical error codes:\n\n- PERMISSION_DENIED - if the user is not authorized to read project - INVALID_ARGUMENT - if the request i s malformed - FAILED_PRECONDITION - if an argument in the request happens to be invalid; e.g. if an attempt is made to list the children of a nonexistent Step - NOT_FOUND - if the containing Execution does not exist",
487 "httpMethod": "GET", 528 "httpMethod": "GET",
488 "id": "toolresults.projects.historie s.executions.steps.list", 529 "id": "toolresults.projects.historie s.executions.steps.list",
489 "parameterOrder": [ 530 "parameterOrder": [
490 "projectId", 531 "projectId",
491 "historyId", 532 "historyId",
492 "executionId" 533 "executionId"
493 ], 534 ],
494 "parameters": { 535 "parameters": {
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
624 }, 665 },
625 "response": { 666 "response": {
626 "$ref": "Step" 667 "$ref": "Step"
627 }, 668 },
628 "scopes": [ 669 "scopes": [
629 "https://www.googleapis.com/auth /cloud-platform" 670 "https://www.googleapis.com/auth /cloud-platform"
630 ] 671 ]
631 } 672 }
632 }, 673 },
633 "resources": { 674 "resources": {
675 "perfMetricsSummary": {
676 "methods": {
677 "create": {
678 "description": "Creates a Pe rfMetricsSummary resource.\n\nMay return any of the following error code(s): - A LREADY_EXISTS - A PerfMetricSummary already exists for the given Step - NOT_FOUN D - The containing Step does not exist",
679 "httpMethod": "POST",
680 "id": "toolresults.projects. histories.executions.steps.perfMetricsSummary.create",
681 "parameterOrder": [
682 "projectId",
683 "historyId",
684 "executionId",
685 "stepId"
686 ],
687 "parameters": {
688 "executionId": {
689 "description": "A to ol results execution ID.",
690 "location": "path",
691 "required": true,
692 "type": "string"
693 },
694 "historyId": {
695 "description": "A to ol results history ID.",
696 "location": "path",
697 "required": true,
698 "type": "string"
699 },
700 "projectId": {
701 "description": "The cloud project",
702 "location": "path",
703 "required": true,
704 "type": "string"
705 },
706 "stepId": {
707 "description": "A to ol results step ID.",
708 "location": "path",
709 "required": true,
710 "type": "string"
711 }
712 },
713 "path": "{projectId}/histori es/{historyId}/executions/{executionId}/steps/{stepId}/perfMetricsSummary",
714 "request": {
715 "$ref": "PerfMetricsSumm ary"
716 },
717 "response": {
718 "$ref": "PerfMetricsSumm ary"
719 }
720 }
721 }
722 },
723 "perfSampleSeries": {
724 "methods": {
725 "create": {
726 "description": "Creates a Pe rfSampleSeries.\n\nMay return any of the following error code(s): - ALREADY_EXIS TS - PerfMetricSummary already exists for the given Step - NOT_FOUND - The conta ining Step does not exist",
727 "httpMethod": "POST",
728 "id": "toolresults.projects. histories.executions.steps.perfSampleSeries.create",
729 "parameterOrder": [
730 "projectId",
731 "historyId",
732 "executionId",
733 "stepId"
734 ],
735 "parameters": {
736 "executionId": {
737 "description": "A to ol results execution ID.",
738 "location": "path",
739 "required": true,
740 "type": "string"
741 },
742 "historyId": {
743 "description": "A to ol results history ID.",
744 "location": "path",
745 "required": true,
746 "type": "string"
747 },
748 "projectId": {
749 "description": "The cloud project",
750 "location": "path",
751 "required": true,
752 "type": "string"
753 },
754 "stepId": {
755 "description": "A to ol results step ID.",
756 "location": "path",
757 "required": true,
758 "type": "string"
759 }
760 },
761 "path": "{projectId}/histori es/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries",
762 "request": {
763 "$ref": "PerfSampleSerie s"
764 },
765 "response": {
766 "$ref": "PerfSampleSerie s"
767 }
768 },
769 "get": {
770 "description": "Gets a PerfS ampleSeries.\n\nMay return any of the following error code(s): - NOT_FOUND - The specified PerfSampleSeries does not exist",
771 "httpMethod": "GET",
772 "id": "toolresults.projects. histories.executions.steps.perfSampleSeries.get",
773 "parameterOrder": [
774 "projectId",
775 "historyId",
776 "executionId",
777 "stepId",
778 "sampleSeriesId"
779 ],
780 "parameters": {
781 "executionId": {
782 "description": "A to ol results execution ID.",
783 "location": "path",
784 "required": true,
785 "type": "string"
786 },
787 "historyId": {
788 "description": "A to ol results history ID.",
789 "location": "path",
790 "required": true,
791 "type": "string"
792 },
793 "projectId": {
794 "description": "The cloud project",
795 "location": "path",
796 "required": true,
797 "type": "string"
798 },
799 "sampleSeriesId": {
800 "description": "A sa mple series id",
801 "location": "path",
802 "required": true,
803 "type": "string"
804 },
805 "stepId": {
806 "description": "A to ol results step ID.",
807 "location": "path",
808 "required": true,
809 "type": "string"
810 }
811 },
812 "path": "{projectId}/histori es/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/{sampleS eriesId}",
813 "response": {
814 "$ref": "PerfSampleSerie s"
815 }
816 },
817 "list": {
818 "description": "Lists PerfSa mpleSeries for a given Step.\n\nThe request provides an optional filter which sp ecifies one or more PerfMetricsType to include in the result; if none returns al l. The resulting PerfSampleSeries are sorted by ids.\n\nMay return any of the fo llowing canonical error codes: - NOT_FOUND - The containing Step does not exist" ,
819 "httpMethod": "GET",
820 "id": "toolresults.projects. histories.executions.steps.perfSampleSeries.list",
821 "parameterOrder": [
822 "projectId",
823 "historyId",
824 "executionId",
825 "stepId"
826 ],
827 "parameters": {
828 "executionId": {
829 "description": "A to ol results execution ID.",
830 "location": "path",
831 "required": true,
832 "type": "string"
833 },
834 "filter": {
835 "description": "Spec ify one or more PerfMetricType values such as CPU to filter the result",
836 "enum": [
837 "cpu",
838 "memory",
839 "network",
840 "perfMetricTypeU nspecified"
841 ],
842 "enumDescriptions": [
843 "",
844 "",
845 "",
846 ""
847 ],
848 "location": "query",
849 "repeated": true,
850 "type": "string"
851 },
852 "historyId": {
853 "description": "A to ol results history ID.",
854 "location": "path",
855 "required": true,
856 "type": "string"
857 },
858 "projectId": {
859 "description": "The cloud project",
860 "location": "path",
861 "required": true,
862 "type": "string"
863 },
864 "stepId": {
865 "description": "A to ol results step ID.",
866 "location": "path",
867 "required": true,
868 "type": "string"
869 }
870 },
871 "path": "{projectId}/histori es/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries",
872 "response": {
873 "$ref": "ListPerfSampleS eriesResponse"
874 }
875 }
876 },
877 "resources": {
878 "samples": {
879 "methods": {
880 "batchCreate": {
881 "description": "Crea tes a batch of PerfSamples - a client can submit multiple batches of Perf Sample s through repeated calls to this method in order to split up a large request pay load - duplicates and existing timestamp entries will be ignored. - the batch op eration may partially succeed - the set of elements successfully inserted is ret urned in the response (omits items which already existed in the database).\n\nMa y return any of the following canonical error codes: - NOT_FOUND - The containin g PerfSampleSeries does not exist",
882 "httpMethod": "POST" ,
883 "id": "toolresults.p rojects.histories.executions.steps.perfSampleSeries.samples.batchCreate",
884 "parameterOrder": [
885 "projectId",
886 "historyId",
887 "executionId",
888 "stepId",
889 "sampleSeriesId"
890 ],
891 "parameters": {
892 "executionId": {
893 "description ": "A tool results execution ID.",
894 "location": "path",
895 "required": true,
896 "type": "str ing"
897 },
898 "historyId": {
899 "description ": "A tool results history ID.",
900 "location": "path",
901 "required": true,
902 "type": "str ing"
903 },
904 "projectId": {
905 "description ": "The cloud project",
906 "location": "path",
907 "required": true,
908 "type": "str ing"
909 },
910 "sampleSeriesId" : {
911 "description ": "A sample series id",
912 "location": "path",
913 "required": true,
914 "type": "str ing"
915 },
916 "stepId": {
917 "description ": "A tool results step ID.",
918 "location": "path",
919 "required": true,
920 "type": "str ing"
921 }
922 },
923 "path": "{projectId} /histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/ {sampleSeriesId}/samples:batchCreate",
924 "request": {
925 "$ref": "BatchCr eatePerfSamplesRequest"
926 },
927 "response": {
928 "$ref": "BatchCr eatePerfSamplesResponse"
929 }
930 },
931 "list": {
932 "description": "List s the Performance Samples of a given Sample Series - The list results are sorted by timestamps ascending - The default page size is 500 samples; and maximum siz e allowed 5000 - The response token indicates the last returned PerfSample times tamp - When the results size exceeds the page size, submit a subsequent request including the page token to return the rest of the samples up to the page limit\ n\nMay return any of the following canonical error codes: - OUT_OF_RANGE - The s pecified request page_token is out of valid range - NOT_FOUND - The containing P erfSampleSeries does not exist",
933 "httpMethod": "GET",
934 "id": "toolresults.p rojects.histories.executions.steps.perfSampleSeries.samples.list",
935 "parameterOrder": [
936 "projectId",
937 "historyId",
938 "executionId",
939 "stepId",
940 "sampleSeriesId"
941 ],
942 "parameters": {
943 "executionId": {
944 "description ": "A tool results execution ID.",
945 "location": "path",
946 "required": true,
947 "type": "str ing"
948 },
949 "historyId": {
950 "description ": "A tool results history ID.",
951 "location": "path",
952 "required": true,
953 "type": "str ing"
954 },
955 "pageSize": {
956 "description ": "The default page size is 500 samples, and the maximum size is 5000. If the p age_size is greater than 5000, the effective page size will be 5000",
957 "format": "i nt32",
958 "location": "query",
959 "type": "int eger"
960 },
961 "pageToken": {
962 "description ": "Optional, the next_page_token returned in the previous response",
963 "location": "query",
964 "type": "str ing"
965 },
966 "projectId": {
967 "description ": "The cloud project",
968 "location": "path",
969 "required": true,
970 "type": "str ing"
971 },
972 "sampleSeriesId" : {
973 "description ": "A sample series id",
974 "location": "path",
975 "required": true,
976 "type": "str ing"
977 },
978 "stepId": {
979 "description ": "A tool results step ID.",
980 "location": "path",
981 "required": true,
982 "type": "str ing"
983 }
984 },
985 "path": "{projectId} /histories/{historyId}/executions/{executionId}/steps/{stepId}/perfSampleSeries/ {sampleSeriesId}/samples",
986 "response": {
987 "$ref": "ListPer fSamplesResponse"
988 }
989 }
990 }
991 }
992 }
993 },
634 "thumbnails": { 994 "thumbnails": {
635 "methods": { 995 "methods": {
636 "list": { 996 "list": {
637 "description": "Lists thumbn ails of images attached to a step.\n\nMay return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read from th e project, or from any of the images - INVALID_ARGUMENT - if the request is malf ormed - NOT_FOUND - if the step does not exist, or if any of the images do not e xist", 997 "description": "Lists thumbn ails of images attached to a step.\n\nMay return any of the following canonical error codes: - PERMISSION_DENIED - if the user is not authorized to read from th e project, or from any of the images - INVALID_ARGUMENT - if the request is malf ormed - NOT_FOUND - if the step does not exist, or if any of the images do not e xist",
638 "httpMethod": "GET", 998 "httpMethod": "GET",
639 "id": "toolresults.projects. histories.executions.steps.thumbnails.list", 999 "id": "toolresults.projects. histories.executions.steps.thumbnails.list",
640 "parameterOrder": [ 1000 "parameterOrder": [
641 "projectId", 1001 "projectId",
642 "historyId", 1002 "historyId",
643 "executionId", 1003 "executionId",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
692 } 1052 }
693 } 1053 }
694 } 1054 }
695 } 1055 }
696 } 1056 }
697 } 1057 }
698 } 1058 }
699 } 1059 }
700 } 1060 }
701 }, 1061 },
702 "revision": "20161212", 1062 "revision": "20170120",
703 "rootUrl": "https://www.googleapis.com/", 1063 "rootUrl": "https://www.googleapis.com/",
704 "schemas": { 1064 "schemas": {
705 "Any": { 1065 "Any": {
706 "description": "`Any` contains an arbitrary serialized protocol buff er message along with a URL that describes the type of the serialized message.\n \nProtobuf library provides support to pack/unpack Any values in the form of uti lity functions or additional generated methods of the Any type.\n\nExample 1: Pa ck and unpack a message in C++.\n\nFoo foo = ...; Any any; any.PackFrom(foo); .. . if (any.UnpackTo(&foo)) { ... }\n\nExample 2: Pack and unpack a message in Jav a.\n\nFoo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpa ck(foo) ...\n\nThe pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods onl y use the fully qualified type name after the last '/' in the type URL, for exam ple \"foo.bar.com/x/y.z\" will yield type name \"y.z\".\n\n\n\nJSON ==== The JSO N representation of an `Any` value uses the regular representation of the deseri alized, embedded message, with an additional field `@type` which contains the ty pe URL. Example:\n\npackage google.profile; message Person { string first_name = 1; string last_name = 2; }\n\n{ \"@type\": \"type.googleapis.com/google.profile .Person\", \"firstName\": , \"lastName\": }\n\nIf the embedded message type is well-known and has a custom JSON representation, that representation will be emb edded adding a field `value` which holds the custom JSON in addition to the `@ty pe` field. Example (for message [google.protobuf.Duration][]):\n\n{ \"@type\": \ "type.googleapis.com/google.protobuf.Duration\", \"value\": \"1.212s\" }", 1066 "description": "`Any` contains an arbitrary serialized protocol buff er message along with a URL that describes the type of the serialized message.\n \nProtobuf library provides support to pack/unpack Any values in the form of uti lity functions or additional generated methods of the Any type.\n\nExample 1: Pa ck and unpack a message in C++.\n\nFoo foo = ...; Any any; any.PackFrom(foo); .. . if (any.UnpackTo(&foo)) { ... }\n\nExample 2: Pack and unpack a message in Jav a.\n\nFoo foo = ...; Any any = Any.pack(foo); ... if (any.is(Foo.class)) { foo = any.unpack(Foo.class); }\n\nExample 3: Pack and unpack a message in Python.\n\n foo = Foo(...) any = Any() any.Pack(foo) ... if any.Is(Foo.DESCRIPTOR): any.Unpa ck(foo) ...\n\nThe pack methods provided by protobuf library will by default use 'type.googleapis.com/full.type.name' as the type URL and the unpack methods onl y use the fully qualified type name after the last '/' in the type URL, for exam ple \"foo.bar.com/x/y.z\" will yield type name \"y.z\".\n\n\n\nJSON ==== The JSO N representation of an `Any` value uses the regular representation of the deseri alized, embedded message, with an additional field `@type` which contains the ty pe URL. Example:\n\npackage google.profile; message Person { string first_name = 1; string last_name = 2; }\n\n{ \"@type\": \"type.googleapis.com/google.profile .Person\", \"firstName\": , \"lastName\": }\n\nIf the embedded message type is well-known and has a custom JSON representation, that representation will be emb edded adding a field `value` which holds the custom JSON in addition to the `@ty pe` field. Example (for message [google.protobuf.Duration][]):\n\n{ \"@type\": \ "type.googleapis.com/google.protobuf.Duration\", \"value\": \"1.212s\" }",
707 "id": "Any", 1067 "id": "Any",
708 "properties": { 1068 "properties": {
709 "typeUrl": { 1069 "typeUrl": {
710 "description": "A URL/resource name whose content describes the type of the serialized protocol buffer message.\n\nFor URLs which use the sc heme `http`, `https`, or no scheme, the following restrictions and interpretatio ns apply:\n\n* If no scheme is provided, `https` is assumed. * The last segment of the URL's path must represent the fully qualified name of the type (as in `pa th/google.protobuf.Duration`). The name should be in a canonical form (e.g., lea ding \".\" is not accepted). * An HTTP GET on the URL must yield a [google.proto buf.Type][] value in binary format, or produce an error. * Applications are allo wed to cache lookup results based on the URL, or have them precompiled into a bi nary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.)\n\nS chemes other than `http`, `https` (or the empty scheme) might be used with imple mentation specific semantics.", 1070 "description": "A URL/resource name whose content describes the type of the serialized protocol buffer message.\n\nFor URLs which use the sc heme `http`, `https`, or no scheme, the following restrictions and interpretatio ns apply:\n\n* If no scheme is provided, `https` is assumed. * The last segment of the URL's path must represent the fully qualified name of the type (as in `pa th/google.protobuf.Duration`). The name should be in a canonical form (e.g., lea ding \".\" is not accepted). * An HTTP GET on the URL must yield a [google.proto buf.Type][] value in binary format, or produce an error. * Applications are allo wed to cache lookup results based on the URL, or have them precompiled into a bi nary to avoid any lookup. Therefore, binary compatibility needs to be preserved on changes to types. (Use versioned type names to manage breaking changes.)\n\nS chemes other than `http`, `https` (or the empty scheme) might be used with imple mentation specific semantics.",
711 "type": "string" 1071 "type": "string"
712 }, 1072 },
713 "value": { 1073 "value": {
714 "description": "Must be a valid serialized protocol buffer o f the above specified type.", 1074 "description": "Must be a valid serialized protocol buffer o f the above specified type.",
715 "format": "byte", 1075 "format": "byte",
716 "type": "string" 1076 "type": "string"
717 } 1077 }
718 }, 1078 },
719 "type": "object" 1079 "type": "object"
720 }, 1080 },
1081 "BasicPerfSampleSeries": {
1082 "description": "Encapsulates the metadata for basic sample series re presented by a line chart",
1083 "id": "BasicPerfSampleSeries",
1084 "properties": {
1085 "perfMetricType": {
1086 "enum": [
1087 "cpu",
1088 "memory",
1089 "network",
1090 "perfMetricTypeUnspecified"
1091 ],
1092 "enumDescriptions": [
1093 "",
1094 "",
1095 "",
1096 ""
1097 ],
1098 "type": "string"
1099 },
1100 "perfUnit": {
1101 "enum": [
1102 "kibibyte",
1103 "percent",
1104 "perfUnitUnspecified"
1105 ],
1106 "enumDescriptions": [
1107 "",
1108 "",
1109 ""
1110 ],
1111 "type": "string"
1112 },
1113 "sampleSeriesLabel": {
1114 "enum": [
1115 "cpuKernel",
1116 "cpuTotal",
1117 "cpuUser",
1118 "memoryRssPrivate",
1119 "memoryRssShared",
1120 "memoryRssTotal",
1121 "ntBytesReceived",
1122 "ntBytesTransferred",
1123 "sampleSeriesTypeUnspecified"
1124 ],
1125 "enumDescriptions": [
1126 "",
1127 "",
1128 "",
1129 "",
1130 "",
1131 "",
1132 "",
1133 "",
1134 ""
1135 ],
1136 "type": "string"
1137 }
1138 },
1139 "type": "object"
1140 },
1141 "BatchCreatePerfSamplesRequest": {
1142 "description": "The request must provide up to a maximum of 5000 sam ples to be created; a larger sample size will cause an INVALID_ARGUMENT error",
1143 "id": "BatchCreatePerfSamplesRequest",
1144 "properties": {
1145 "perfSamples": {
1146 "description": "The set of PerfSamples to create should not include existing timestamps",
1147 "items": {
1148 "$ref": "PerfSample"
1149 },
1150 "type": "array"
1151 }
1152 },
1153 "type": "object"
1154 },
1155 "BatchCreatePerfSamplesResponse": {
1156 "id": "BatchCreatePerfSamplesResponse",
1157 "properties": {
1158 "perfSamples": {
1159 "items": {
1160 "$ref": "PerfSample"
1161 },
1162 "type": "array"
1163 }
1164 },
1165 "type": "object"
1166 },
1167 "CPUInfo": {
1168 "id": "CPUInfo",
1169 "properties": {
1170 "cpuProcessor": {
1171 "description": "description of the device processor ie '1.8 GHz hexa core 64-bit ARMv8-A'",
1172 "type": "string"
1173 },
1174 "cpuSpeedInGhz": {
1175 "description": "the CPU clock speed in GHz",
1176 "format": "float",
1177 "type": "number"
1178 },
1179 "numberOfCores": {
1180 "description": "the number of CPU cores",
1181 "format": "int32",
1182 "type": "integer"
1183 }
1184 },
1185 "type": "object"
1186 },
721 "Duration": { 1187 "Duration": {
722 "description": "A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond r esolution. It is independent of any calendar and concepts like \"day\" or \"mont h\". It is related to Timestamp in that the difference between two Timestamp val ues is a Duration and it can be added or subtracted from a Timestamp. Range is a pproximately +-10,000 years.\n\nExample 1: Compute Duration from two Timestamps in pseudo code.\n\nTimestamp start = ...; Timestamp end = ...; Duration duration = ...;\n\nduration.seconds = end.seconds - start.seconds; duration.nanos = end. nanos - start.nanos;\n\nif (duration.seconds 0) { duration.seconds += 1; durati on.nanos -= 1000000000; } else if (durations.seconds > 0 && duration.nanos < 0) { duration.seconds -= 1; duration.nanos += 1000000000; }\n\nExample 2: Compute T imestamp from Timestamp + Duration in pseudo code.\n\nTimestamp start = ...; Dur ation duration = ...; Timestamp end = ...;\n\nend.seconds = start.seconds + dura tion.seconds; end.nanos = start.nanos + duration.nanos;\n\nif (end.nanos = 10000 00000) { end.seconds += 1; end.nanos -= 1000000000; }\n\nExample 3: Compute Dura tion from datetime.timedelta in Python.\n\ntd = datetime.timedelta(days=3, minut es=10) duration = Duration() duration.FromTimedelta(td)", 1188 "description": "A Duration represents a signed, fixed-length span of time represented as a count of seconds and fractions of seconds at nanosecond r esolution. It is independent of any calendar and concepts like \"day\" or \"mont h\". It is related to Timestamp in that the difference between two Timestamp val ues is a Duration and it can be added or subtracted from a Timestamp. Range is a pproximately +-10,000 years.\n\n# Examples\n\nExample 1: Compute Duration from t wo Timestamps in pseudo code.\n\nTimestamp start = ...; Timestamp end = ...; Dur ation duration = ...;\n\nduration.seconds = end.seconds - start.seconds; duratio n.nanos = end.nanos - start.nanos;\n\nif (duration.seconds 0) { duration.second s += 1; duration.nanos -= 1000000000; } else if (durations.seconds > 0 && durati on.nanos < 0) { duration.seconds -= 1; duration.nanos += 1000000000; }\n\nExampl e 2: Compute Timestamp from Timestamp + Duration in pseudo code.\n\nTimestamp st art = ...; Duration duration = ...; Timestamp end = ...;\n\nend.seconds = start. seconds + duration.seconds; end.nanos = start.nanos + duration.nanos;\n\nif (end .nanos = 1000000000) { end.seconds += 1; end.nanos -= 1000000000; }\n\nExample 3 : Compute Duration from datetime.timedelta in Python.\n\ntd = datetime.timedelta (days=3, minutes=10) duration = Duration() duration.FromTimedelta(td)\n\n# JSON Mapping\n\nIn JSON format, the Duration type is encoded as a string rather than an object, where the string ends in the suffix \"s\" (indicating seconds) and is preceded by the number of seconds, with nanoseconds expressed as fractional sec onds. For example, 3 seconds with 0 nanoseconds should be encoded in JSON format as \"3s\", while 3 seconds and 1 nanosecond should be expressed in JSON format as \"3.000000001s\", and 3 seconds and 1 microsecond should be expressed in JSON format as \"3.000001s\".",
723 "id": "Duration", 1189 "id": "Duration",
724 "properties": { 1190 "properties": {
725 "nanos": { 1191 "nanos": {
726 "description": "Signed fractions of a second at nanosecond r esolution of the span of time. Durations less than one second are represented wi th a 0 `seconds` field and a positive or negative `nanos` field. For durations o f one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusiv e.", 1192 "description": "Signed fractions of a second at nanosecond r esolution of the span of time. Durations less than one second are represented wi th a 0 `seconds` field and a positive or negative `nanos` field. For durations o f one second or more, a non-zero value for the `nanos` field must be of the same sign as the `seconds` field. Must be from -999,999,999 to +999,999,999 inclusiv e.",
727 "format": "int32", 1193 "format": "int32",
728 "type": "integer" 1194 "type": "integer"
729 }, 1195 },
730 "seconds": { 1196 "seconds": {
731 "description": "Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive.", 1197 "description": "Signed seconds of the span of time. Must be from -315,576,000,000 to +315,576,000,000 inclusive.",
732 "format": "int64", 1198 "format": "int64",
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after
899 }, 1365 },
900 "type": "array" 1366 "type": "array"
901 }, 1367 },
902 "nextPageToken": { 1368 "nextPageToken": {
903 "description": "A continuation token to resume the query at the next item.\n\nWill only be set if there are more histories to fetch.\n\nToke ns are valid for up to one hour from the time of the first list request. For ins tance, if you make a list request at 1PM and use the token from this first reque st 10 minutes later, the token from this second response will only be valid for 50 minutes.", 1369 "description": "A continuation token to resume the query at the next item.\n\nWill only be set if there are more histories to fetch.\n\nToke ns are valid for up to one hour from the time of the first list request. For ins tance, if you make a list request at 1PM and use the token from this first reque st 10 minutes later, the token from this second response will only be valid for 50 minutes.",
904 "type": "string" 1370 "type": "string"
905 } 1371 }
906 }, 1372 },
907 "type": "object" 1373 "type": "object"
908 }, 1374 },
1375 "ListPerfSampleSeriesResponse": {
1376 "id": "ListPerfSampleSeriesResponse",
1377 "properties": {
1378 "perfSampleSeries": {
1379 "description": "The resulting PerfSampleSeries sorted by id" ,
1380 "items": {
1381 "$ref": "PerfSampleSeries"
1382 },
1383 "type": "array"
1384 }
1385 },
1386 "type": "object"
1387 },
1388 "ListPerfSamplesResponse": {
1389 "id": "ListPerfSamplesResponse",
1390 "properties": {
1391 "nextPageToken": {
1392 "description": "Optional, returned if result size exceeds th e page size specified in the request (or the default page size, 500, if unspecif ied). It indicates the last sample timestamp to be used as page_token in subsequ ent request",
1393 "type": "string"
1394 },
1395 "perfSamples": {
1396 "items": {
1397 "$ref": "PerfSample"
1398 },
1399 "type": "array"
1400 }
1401 },
1402 "type": "object"
1403 },
909 "ListStepThumbnailsResponse": { 1404 "ListStepThumbnailsResponse": {
910 "description": "A response containing the thumbnails in a step.", 1405 "description": "A response containing the thumbnails in a step.",
911 "id": "ListStepThumbnailsResponse", 1406 "id": "ListStepThumbnailsResponse",
912 "properties": { 1407 "properties": {
913 "nextPageToken": { 1408 "nextPageToken": {
914 "description": "A continuation token to resume the query at the next item.\n\nIf set, indicates that there are more thumbnails to read, by c alling list again with this value in the page_token field.", 1409 "description": "A continuation token to resume the query at the next item.\n\nIf set, indicates that there are more thumbnails to read, by c alling list again with this value in the page_token field.",
915 "type": "string" 1410 "type": "string"
916 }, 1411 },
917 "thumbnails": { 1412 "thumbnails": {
918 "description": "A list of image data.\n\nImages are returned in a deterministic order; they are ordered by these factors, in order of import ance: * First, by their associated test case. Images without a test case are con sidered greater than images with one. * Second, by their creation time. Images w ithout a creation time are greater than images with one. * Third, by the order i n which they were added to the step (by calls to CreateStep or UpdateStep).", 1413 "description": "A list of image data.\n\nImages are returned in a deterministic order; they are ordered by these factors, in order of import ance: * First, by their associated test case. Images without a test case are con sidered greater than images with one. * Second, by their creation time. Images w ithout a creation time are greater than images with one. * Third, by the order i n which they were added to the step (by calls to CreateStep or UpdateStep).",
(...skipping 16 matching lines...) Expand all
935 "steps": { 1430 "steps": {
936 "description": "Steps.", 1431 "description": "Steps.",
937 "items": { 1432 "items": {
938 "$ref": "Step" 1433 "$ref": "Step"
939 }, 1434 },
940 "type": "array" 1435 "type": "array"
941 } 1436 }
942 }, 1437 },
943 "type": "object" 1438 "type": "object"
944 }, 1439 },
1440 "MemoryInfo": {
1441 "id": "MemoryInfo",
1442 "properties": {
1443 "memoryCapInKibibyte": {
1444 "description": "Maximum memory that can be allocated to the process in KiB",
1445 "format": "int64",
1446 "type": "string"
1447 },
1448 "memoryTotalInKibibyte": {
1449 "description": "Total memory available on the device in KiB" ,
1450 "format": "int64",
1451 "type": "string"
1452 }
1453 },
1454 "type": "object"
1455 },
945 "Outcome": { 1456 "Outcome": {
946 "description": "Interprets a result so that humans and machines can act on it.", 1457 "description": "Interprets a result so that humans and machines can act on it.",
947 "id": "Outcome", 1458 "id": "Outcome",
948 "properties": { 1459 "properties": {
949 "failureDetail": { 1460 "failureDetail": {
950 "$ref": "FailureDetail", 1461 "$ref": "FailureDetail",
951 "description": "More information about a FAILURE outcome.\n\ nReturns INVALID_ARGUMENT if this field is set but the summary is not FAILURE.\n \nOptional" 1462 "description": "More information about a FAILURE outcome.\n\ nReturns INVALID_ARGUMENT if this field is set but the summary is not FAILURE.\n \nOptional"
952 }, 1463 },
953 "inconclusiveDetail": { 1464 "inconclusiveDetail": {
954 "$ref": "InconclusiveDetail", 1465 "$ref": "InconclusiveDetail",
(...skipping 21 matching lines...) Expand all
976 "", 1487 "",
977 "", 1488 "",
978 "", 1489 "",
979 "" 1490 ""
980 ], 1491 ],
981 "type": "string" 1492 "type": "string"
982 } 1493 }
983 }, 1494 },
984 "type": "object" 1495 "type": "object"
985 }, 1496 },
1497 "PerfEnvironment": {
1498 "description": "Encapsulates performance environment info",
1499 "id": "PerfEnvironment",
1500 "properties": {
1501 "cpuInfo": {
1502 "$ref": "CPUInfo",
1503 "description": "CPU related environment info"
1504 },
1505 "memoryInfo": {
1506 "$ref": "MemoryInfo",
1507 "description": "Memory related environment info"
1508 }
1509 },
1510 "type": "object"
1511 },
1512 "PerfMetricsSummary": {
1513 "description": "A summary of perf metrics collected and performance environment info",
1514 "id": "PerfMetricsSummary",
1515 "properties": {
1516 "executionId": {
1517 "description": "A tool results execution ID.",
1518 "type": "string"
1519 },
1520 "historyId": {
1521 "description": "A tool results history ID.",
1522 "type": "string"
1523 },
1524 "perfEnvironment": {
1525 "$ref": "PerfEnvironment",
1526 "description": "Describes the environment in which the perfo rmance metrics were collected"
1527 },
1528 "perfMetrics": {
1529 "description": "Set of resource collected",
1530 "items": {
1531 "enum": [
1532 "cpu",
1533 "memory",
1534 "network",
1535 "perfMetricTypeUnspecified"
1536 ],
1537 "enumDescriptions": [
1538 "",
1539 "",
1540 "",
1541 ""
1542 ],
1543 "type": "string"
1544 },
1545 "type": "array"
1546 },
1547 "projectId": {
1548 "description": "The cloud project",
1549 "type": "string"
1550 },
1551 "stepId": {
1552 "description": "A tool results step ID.",
1553 "type": "string"
1554 }
1555 },
1556 "type": "object"
1557 },
1558 "PerfSample": {
1559 "description": "Resource representing a single performance measure o r data point",
1560 "id": "PerfSample",
1561 "properties": {
1562 "sampleTime": {
1563 "$ref": "Timestamp",
1564 "description": "Timestamp of collection"
1565 },
1566 "value": {
1567 "description": "Value observed",
1568 "format": "double",
1569 "type": "number"
1570 }
1571 },
1572 "type": "object"
1573 },
1574 "PerfSampleSeries": {
1575 "description": "Resource representing a collection of performance sa mples (or data points)",
1576 "id": "PerfSampleSeries",
1577 "properties": {
1578 "basicPerfSampleSeries": {
1579 "$ref": "BasicPerfSampleSeries",
1580 "description": "Basic series represented by a line chart"
1581 },
1582 "executionId": {
1583 "description": "A tool results execution ID.",
1584 "type": "string"
1585 },
1586 "historyId": {
1587 "description": "A tool results history ID.",
1588 "type": "string"
1589 },
1590 "projectId": {
1591 "description": "The cloud project",
1592 "type": "string"
1593 },
1594 "sampleSeriesId": {
1595 "description": "A sample series id",
1596 "type": "string"
1597 },
1598 "stepId": {
1599 "description": "A tool results step ID.",
1600 "type": "string"
1601 }
1602 },
1603 "type": "object"
1604 },
986 "ProjectSettings": { 1605 "ProjectSettings": {
987 "description": "Per-project settings for the Tool Results service.", 1606 "description": "Per-project settings for the Tool Results service.",
988 "id": "ProjectSettings", 1607 "id": "ProjectSettings",
989 "properties": { 1608 "properties": {
990 "defaultBucket": { 1609 "defaultBucket": {
991 "description": "The name of the Google Cloud Storage bucket to which results are written.\n\nBy default, this is unset.\n\nIn update request : optional In response: optional", 1610 "description": "The name of the Google Cloud Storage bucket to which results are written.\n\nBy default, this is unset.\n\nIn update request : optional In response: optional",
992 "type": "string" 1611 "type": "string"
993 }, 1612 },
994 "name": { 1613 "name": {
995 "description": "The name of the project's settings.\n\nAlway s of the form: projects/{project-id}/settings\n\nIn update request: never set In response: always set", 1614 "description": "The name of the project's settings.\n\nAlway s of the form: projects/{project-id}/settings\n\nIn update request: never set In response: always set",
(...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
1403 "description": "The test case to which this output file belo ngs.\n\n- In response: present if set by create/update request - In create/updat e request: optional" 2022 "description": "The test case to which this output file belo ngs.\n\n- In response: present if set by create/update request - In create/updat e request: optional"
1404 } 2023 }
1405 }, 2024 },
1406 "type": "object" 2025 "type": "object"
1407 } 2026 }
1408 }, 2027 },
1409 "servicePath": "toolresults/v1beta3/projects/", 2028 "servicePath": "toolresults/v1beta3/projects/",
1410 "title": "Cloud Tool Results API", 2029 "title": "Cloud Tool Results API",
1411 "version": "v1beta3" 2030 "version": "v1beta3"
1412 } 2031 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/sqladmin__v1beta4.json ('k') | generated/googleapis/CHANGELOG.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698