|
287 | 287 | ],
|
288 | 288 | "parameters": {
|
289 | 289 | "filter": {
|
290 |
| - "description": "Filtering results", |
| 290 | + "description": "Filter to be applied when listing the evaluation results.", |
291 | 291 | "location": "query",
|
292 | 292 | "type": "string"
|
293 | 293 | },
|
|
461 | 461 | "results": {
|
462 | 462 | "methods": {
|
463 | 463 | "list": {
|
464 |
| - "description": "List the running result of a single Execution.", |
| 464 | + "description": "Lists the result of a single evaluation.", |
465 | 465 | "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/evaluations/{evaluationsId}/executions/{executionsId}/results",
|
466 | 466 | "httpMethod": "GET",
|
467 | 467 | "id": "workloadmanager.projects.locations.evaluations.executions.results.list",
|
|
772 | 772 | }
|
773 | 773 | }
|
774 | 774 | },
|
775 |
| - "revision": "20240501", |
| 775 | + "revision": "20240619", |
776 | 776 | "rootUrl": "https://workloadmanager.googleapis.com/",
|
777 | 777 | "schemas": {
|
| 778 | + "AgentCommand": { |
| 779 | + "description": "* An AgentCommand specifies a one-time executable program for the agent to run.", |
| 780 | + "id": "AgentCommand", |
| 781 | + "properties": { |
| 782 | + "command": { |
| 783 | + "description": "command is the name of the agent one-time executable that will be invoked.", |
| 784 | + "type": "string" |
| 785 | + }, |
| 786 | + "parameters": { |
| 787 | + "additionalProperties": { |
| 788 | + "type": "string" |
| 789 | + }, |
| 790 | + "description": "parameters is a map of key/value pairs that can be used to specify additional one-time executable settings.", |
| 791 | + "type": "object" |
| 792 | + } |
| 793 | + }, |
| 794 | + "type": "object" |
| 795 | + }, |
778 | 796 | "AssetLocation": {
|
779 | 797 | "description": "Provides the mapping of a cloud asset to a direct physical location or to a proxy that defines the location on its behalf.",
|
780 | 798 | "id": "AssetLocation",
|
|
865 | 883 | },
|
866 | 884 | "type": "object"
|
867 | 885 | },
|
| 886 | + "Command": { |
| 887 | + "description": "* Command specifies the type of command to execute.", |
| 888 | + "id": "Command", |
| 889 | + "properties": { |
| 890 | + "agentCommand": { |
| 891 | + "$ref": "AgentCommand", |
| 892 | + "description": "AgentCommand specifies a one-time executable program for the agent to run." |
| 893 | + }, |
| 894 | + "shellCommand": { |
| 895 | + "$ref": "ShellCommand", |
| 896 | + "description": "ShellCommand is invoked via the agent's command line executor." |
| 897 | + } |
| 898 | + }, |
| 899 | + "type": "object" |
| 900 | + }, |
868 | 901 | "DirectLocationAssignment": {
|
869 | 902 | "id": "DirectLocationAssignment",
|
870 | 903 | "properties": {
|
|
1036 | 1069 | "description": "Message describing the result of an execution",
|
1037 | 1070 | "id": "ExecutionResult",
|
1038 | 1071 | "properties": {
|
| 1072 | + "commands": { |
| 1073 | + "description": "The commands to remediate the violation.", |
| 1074 | + "items": { |
| 1075 | + "$ref": "Command" |
| 1076 | + }, |
| 1077 | + "type": "array" |
| 1078 | + }, |
1039 | 1079 | "documentationUrl": {
|
1040 |
| - "description": "the document url of the rule", |
| 1080 | + "description": "The URL for the documentation of the rule.", |
1041 | 1081 | "type": "string"
|
1042 | 1082 | },
|
1043 | 1083 | "resource": {
|
1044 | 1084 | "$ref": "Resource",
|
1045 |
| - "description": "the violate resource" |
| 1085 | + "description": "The resource that violates the rule." |
1046 | 1086 | },
|
1047 | 1087 | "rule": {
|
1048 |
| - "description": "the rule which violate in execution", |
| 1088 | + "description": "The rule that is violated in an evaluation.", |
1049 | 1089 | "type": "string"
|
1050 | 1090 | },
|
1051 | 1091 | "severity": {
|
1052 |
| - "description": "severity of violation", |
| 1092 | + "description": "The severity of violation.", |
1053 | 1093 | "type": "string"
|
1054 | 1094 | },
|
1055 | 1095 | "violationDetails": {
|
1056 | 1096 | "$ref": "ViolationDetails",
|
1057 |
| - "description": "the details of violation in result" |
| 1097 | + "description": "The details of violation in an evaluation result." |
1058 | 1098 | },
|
1059 | 1099 | "violationMessage": {
|
1060 |
| - "description": "the violation message of an execution", |
| 1100 | + "description": "The violation message of an execution.", |
1061 | 1101 | "type": "string"
|
1062 | 1102 | }
|
1063 | 1103 | },
|
|
1067 | 1107 | "description": "Message for external data sources",
|
1068 | 1108 | "id": "ExternalDataSources",
|
1069 | 1109 | "properties": {
|
| 1110 | + "assetType": { |
| 1111 | + "description": "Required. The asset type of the external data source must be one of go/cai-asset-types", |
| 1112 | + "type": "string" |
| 1113 | + }, |
1070 | 1114 | "name": {
|
1071 |
| - "description": "Required. Name of external data source. The name will be used inside the rego/sql to refer the external data", |
| 1115 | + "description": "Optional. Name of external data source. The name will be used inside the rego/sql to refer the external data", |
1072 | 1116 | "type": "string"
|
1073 | 1117 | },
|
1074 | 1118 | "type": {
|
|
1488 | 1532 | "gcpProjectProxy": {
|
1489 | 1533 | "$ref": "TenantProjectProxy"
|
1490 | 1534 | },
|
| 1535 | + "placerLocation": { |
| 1536 | + "$ref": "PlacerLocation" |
| 1537 | + }, |
1491 | 1538 | "spannerLocation": {
|
1492 | 1539 | "$ref": "SpannerLocation"
|
1493 | 1540 | }
|
|
1573 | 1620 | },
|
1574 | 1621 | "type": "object"
|
1575 | 1622 | },
|
| 1623 | + "PlacerLocation": { |
| 1624 | + "description": "Message describing that the location of the customer resource is tied to placer allocations", |
| 1625 | + "id": "PlacerLocation", |
| 1626 | + "properties": { |
| 1627 | + "placerConfig": { |
| 1628 | + "description": "Directory with a config related to it in placer (e.g. \"/placer/prod/home/my-root/my-dir\")", |
| 1629 | + "type": "string" |
| 1630 | + } |
| 1631 | + }, |
| 1632 | + "type": "object" |
| 1633 | + }, |
1576 | 1634 | "RegionalMigDistributionPolicy": {
|
1577 | 1635 | "description": "To be used for specifying the intended distribution of regional compute.googleapis.com/InstanceGroupManager instances",
|
1578 | 1636 | "id": "RegionalMigDistributionPolicy",
|
|
1597 | 1655 | "id": "Resource",
|
1598 | 1656 | "properties": {
|
1599 | 1657 | "name": {
|
1600 |
| - "description": "the name of the resource", |
| 1658 | + "description": "The name of the resource.", |
1601 | 1659 | "type": "string"
|
1602 | 1660 | },
|
1603 | 1661 | "serviceAccount": {
|
1604 |
| - "description": "the service account accosiate with resource", |
| 1662 | + "description": "The service account associated with the resource.", |
1605 | 1663 | "type": "string"
|
1606 | 1664 | },
|
1607 | 1665 | "type": {
|
1608 |
| - "description": "the type of reresource", |
| 1666 | + "description": "The type of resource.", |
1609 | 1667 | "type": "string"
|
1610 | 1668 | }
|
1611 | 1669 | },
|
|
1808 | 1866 | "description": "Required. Pantheon Project in which the resources reside.",
|
1809 | 1867 | "type": "string"
|
1810 | 1868 | },
|
| 1869 | + "replicationSites": { |
| 1870 | + "description": "Optional. A list of replication sites used in Disaster Recovery (DR) configurations.", |
| 1871 | + "items": { |
| 1872 | + "$ref": "SapDiscoveryComponent" |
| 1873 | + }, |
| 1874 | + "type": "array" |
| 1875 | + }, |
1811 | 1876 | "resources": {
|
1812 | 1877 | "description": "Optional. The resources in a component.",
|
1813 | 1878 | "items": {
|
|
1841 | 1906 | "id": "SapDiscoveryComponentApplicationProperties",
|
1842 | 1907 | "properties": {
|
1843 | 1908 | "abap": {
|
1844 |
| - "description": "Optional. Indicates whether this is a Java or ABAP Netweaver instance. true means it is ABAP, false means it is Java.", |
| 1909 | + "deprecated": true, |
| 1910 | + "description": "Optional. Deprecated: ApplicationType now tells you whether this is ABAP or Java.", |
1845 | 1911 | "type": "boolean"
|
1846 | 1912 | },
|
1847 | 1913 | "appInstanceNumber": {
|
|
1852 | 1918 | "description": "Required. Type of the application. Netweaver, etc.",
|
1853 | 1919 | "enum": [
|
1854 | 1920 | "APPLICATION_TYPE_UNSPECIFIED",
|
1855 |
| - "NETWEAVER" |
| 1921 | + "NETWEAVER", |
| 1922 | + "NETWEAVER_ABAP", |
| 1923 | + "NETWEAVER_JAVA" |
1856 | 1924 | ],
|
1857 | 1925 | "enumDescriptions": [
|
1858 | 1926 | "Unspecified application type",
|
1859 |
| - "SAP Netweaver" |
| 1927 | + "SAP Netweaver", |
| 1928 | + "SAP Netweaver ABAP", |
| 1929 | + "SAP Netweaver Java" |
1860 | 1930 | ],
|
1861 | 1931 | "type": "string"
|
1862 | 1932 | },
|
|
2225 | 2295 | },
|
2226 | 2296 | "type": "object"
|
2227 | 2297 | },
|
| 2298 | + "ShellCommand": { |
| 2299 | + "description": "* A ShellCommand is invoked via the agent's command line executor", |
| 2300 | + "id": "ShellCommand", |
| 2301 | + "properties": { |
| 2302 | + "args": { |
| 2303 | + "description": "args is a string of arguments to be passed to the command.", |
| 2304 | + "type": "string" |
| 2305 | + }, |
| 2306 | + "command": { |
| 2307 | + "description": "command is the name of the command to be executed.", |
| 2308 | + "type": "string" |
| 2309 | + }, |
| 2310 | + "timeoutSeconds": { |
| 2311 | + "description": "Optional. If not specified, the default timeout is 60 seconds.", |
| 2312 | + "format": "int32", |
| 2313 | + "type": "integer" |
| 2314 | + } |
| 2315 | + }, |
| 2316 | + "type": "object" |
| 2317 | + }, |
2228 | 2318 | "SpannerLocation": {
|
2229 | 2319 | "id": "SpannerLocation",
|
2230 | 2320 | "properties": {
|
|
2365 | 2455 | "type": "object"
|
2366 | 2456 | },
|
2367 | 2457 | "ViolationDetails": {
|
2368 |
| - "description": "Message describing the violdation in execution result", |
| 2458 | + "description": "Message describing the violation in an evaluation result.", |
2369 | 2459 | "id": "ViolationDetails",
|
2370 | 2460 | "properties": {
|
2371 | 2461 | "asset": {
|
2372 |
| - "description": "the name of asset", |
| 2462 | + "description": "The name of the asset.", |
2373 | 2463 | "type": "string"
|
2374 | 2464 | },
|
2375 | 2465 | "observed": {
|
2376 | 2466 | "additionalProperties": {
|
2377 | 2467 | "type": "string"
|
2378 | 2468 | },
|
2379 |
| - "description": "observed", |
| 2469 | + "description": "Details of the violation.", |
2380 | 2470 | "type": "object"
|
2381 | 2471 | },
|
2382 | 2472 | "serviceAccount": {
|
2383 |
| - "description": "the service account associate with resource", |
| 2473 | + "description": "The service account associated with the resource.", |
2384 | 2474 | "type": "string"
|
2385 | 2475 | }
|
2386 | 2476 | },
|
|
0 commit comments