|
6 | 6 | - name: PlanService |
7 | 7 | - name: ConnectorPrivateService |
8 | 8 | - name: ConnectorPublicService |
| 9 | + - name: ControllerPrivateService |
9 | 10 | - name: PipelineService |
10 | 11 | - name: ModelService |
11 | 12 | - name: MgmtPrivateService |
@@ -463,6 +464,32 @@ paths: |
463 | 464 | pattern: models/[^/]+/instances/[^/]+/readme |
464 | 465 | tags: |
465 | 466 | - ModelPublicService |
| 467 | + /v1alpha/{model_instance.name/watch}/watch: |
| 468 | + get: |
| 469 | + summary: |- |
| 470 | + WatchModelInstance method receives a WatchModelInstanceRequest message |
| 471 | + and returns a WatchModelInstanceResponse |
| 472 | + operationId: ModelPublicService_WatchModelInstance |
| 473 | + responses: |
| 474 | + "200": |
| 475 | + description: A successful response. |
| 476 | + schema: |
| 477 | + $ref: '#/definitions/v1alphaWatchModelInstanceResponse' |
| 478 | + default: |
| 479 | + description: An unexpected error response. |
| 480 | + schema: |
| 481 | + $ref: '#/definitions/rpcStatus' |
| 482 | + parameters: |
| 483 | + - name: model_instance.name/watch |
| 484 | + description: |- |
| 485 | + Resource name of the model instance. |
| 486 | + For example "models/{model}/instances/{instance}" |
| 487 | + in: path |
| 488 | + required: true |
| 489 | + type: string |
| 490 | + pattern: models/[^/]+/instances/[^/]+ |
| 491 | + tags: |
| 492 | + - ModelPublicService |
466 | 493 | /v1alpha/{model_instance.name}: |
467 | 494 | get: |
468 | 495 | summary: |- |
@@ -1711,6 +1738,105 @@ paths: |
1711 | 1738 | type: string |
1712 | 1739 | tags: |
1713 | 1740 | - PipelinePublicService |
| 1741 | + /v1alpha/{resource.name}: |
| 1742 | + get: |
| 1743 | + summary: |- |
| 1744 | + GetResource method receives a GetResourceRequest message |
| 1745 | + and returns a GetResourceResponse |
| 1746 | + operationId: ControllerPrivateService_GetResource |
| 1747 | + responses: |
| 1748 | + "200": |
| 1749 | + description: A successful response. |
| 1750 | + schema: |
| 1751 | + $ref: '#/definitions/v1alphaGetResourceResponse' |
| 1752 | + default: |
| 1753 | + description: An unexpected error response. |
| 1754 | + schema: |
| 1755 | + $ref: '#/definitions/rpcStatus' |
| 1756 | + parameters: |
| 1757 | + - name: resource.name |
| 1758 | + description: Resource name |
| 1759 | + in: path |
| 1760 | + required: true |
| 1761 | + type: string |
| 1762 | + pattern: resources/[^/]+/types/[^/]+ |
| 1763 | + tags: |
| 1764 | + - ControllerPrivateService |
| 1765 | + delete: |
| 1766 | + summary: |- |
| 1767 | + DeleteResource method receives a DeleteResourceRequest message |
| 1768 | + and returns a DeleteResourceResponse |
| 1769 | + operationId: ControllerPrivateService_DeleteResource |
| 1770 | + responses: |
| 1771 | + "200": |
| 1772 | + description: A successful response. |
| 1773 | + schema: |
| 1774 | + $ref: '#/definitions/v1alphaDeleteResourceResponse' |
| 1775 | + default: |
| 1776 | + description: An unexpected error response. |
| 1777 | + schema: |
| 1778 | + $ref: '#/definitions/rpcStatus' |
| 1779 | + parameters: |
| 1780 | + - name: resource.name |
| 1781 | + description: Resource name |
| 1782 | + in: path |
| 1783 | + required: true |
| 1784 | + type: string |
| 1785 | + pattern: resources/[^/]+/types/[^/]+ |
| 1786 | + tags: |
| 1787 | + - ControllerPrivateService |
| 1788 | + patch: |
| 1789 | + summary: |- |
| 1790 | + UpdateResource method receives a UpdateResourceRequest message |
| 1791 | + and returns a UpdateResourceResponse |
| 1792 | + operationId: ControllerPrivateService_UpdateResource |
| 1793 | + responses: |
| 1794 | + "200": |
| 1795 | + description: A successful response. |
| 1796 | + schema: |
| 1797 | + $ref: '#/definitions/v1alphaUpdateResourceResponse' |
| 1798 | + default: |
| 1799 | + description: An unexpected error response. |
| 1800 | + schema: |
| 1801 | + $ref: '#/definitions/rpcStatus' |
| 1802 | + parameters: |
| 1803 | + - name: resource.name |
| 1804 | + description: Resource name. |
| 1805 | + in: path |
| 1806 | + required: true |
| 1807 | + type: string |
| 1808 | + pattern: resources/[^/]+/types/[^/]+ |
| 1809 | + - name: resource |
| 1810 | + description: Resource state |
| 1811 | + in: body |
| 1812 | + required: true |
| 1813 | + schema: |
| 1814 | + type: object |
| 1815 | + properties: |
| 1816 | + model_instance_state: |
| 1817 | + $ref: '#/definitions/v1alphaModelInstanceState' |
| 1818 | + title: Model instance state |
| 1819 | + pipeline_state: |
| 1820 | + $ref: '#/definitions/v1alphaPipelineState' |
| 1821 | + title: Pipeline state |
| 1822 | + connector_state: |
| 1823 | + $ref: '#/definitions/v1alphaConnectorState' |
| 1824 | + title: Connector state |
| 1825 | + backend_state: |
| 1826 | + $ref: '#/definitions/HealthCheckResponseServingStatus' |
| 1827 | + title: Backend service state |
| 1828 | + progress: |
| 1829 | + type: integer |
| 1830 | + format: int32 |
| 1831 | + title: Resource longrunning progress |
| 1832 | + title: Resource state |
| 1833 | + - name: workflow_id |
| 1834 | + description: Resource longrunnning workflow id |
| 1835 | + in: query |
| 1836 | + required: false |
| 1837 | + type: string |
| 1838 | + tags: |
| 1839 | + - ControllerPrivateService |
1714 | 1840 | /v1alpha/{source_connector.name}: |
1715 | 1841 | get: |
1716 | 1842 | summary: |- |
@@ -1987,6 +2113,32 @@ paths: |
1987 | 2113 | default: VIEW_UNSPECIFIED |
1988 | 2114 | tags: |
1989 | 2115 | - ModelPrivateService |
| 2116 | + /v1alpha/admin/{name}/check: |
| 2117 | + get: |
| 2118 | + summary: |- |
| 2119 | + CheckModelInstance method receives a CheckModelInstanceRequest message and returns a |
| 2120 | + CheckModelInstanceResponse |
| 2121 | + operationId: ModelPrivateService_CheckModelInstance |
| 2122 | + responses: |
| 2123 | + "200": |
| 2124 | + description: A successful response. |
| 2125 | + schema: |
| 2126 | + $ref: '#/definitions/v1alphaCheckModelInstanceResponse' |
| 2127 | + default: |
| 2128 | + description: An unexpected error response. |
| 2129 | + schema: |
| 2130 | + $ref: '#/definitions/rpcStatus' |
| 2131 | + parameters: |
| 2132 | + - name: name |
| 2133 | + description: |- |
| 2134 | + Resource name of the model instance. |
| 2135 | + For example "models/{model}/instances/{instance}" |
| 2136 | + in: path |
| 2137 | + required: true |
| 2138 | + type: string |
| 2139 | + pattern: models/[^/]+/instances/[^/]+ |
| 2140 | + tags: |
| 2141 | + - ModelPrivateService |
1990 | 2142 | /v1alpha/admin/{permalink_1}/lookUp: |
1991 | 2143 | get: |
1992 | 2144 | summary: |- |
@@ -2564,10 +2716,17 @@ paths: |
2564 | 2716 | properties: |
2565 | 2717 | uid: |
2566 | 2718 | type: string |
2567 | | - description: "User ID in UUIDv4. This field is optionally set by users \n(optional on resource creation, server-generated if unset)." |
| 2719 | + description: |- |
| 2720 | + User ID in UUIDv4. This field is optionally set by users |
| 2721 | + (optional on resource creation, server-generated if unset). |
2568 | 2722 | id: |
2569 | 2723 | type: string |
2570 | | - description: "Resource ID (the last segment of the resource name), also the user username. \nThis conforms to RFC-1034, which restricts to letters, numbers,\nand hyphen, with the first character a letter, the last a letter or a\nnumber, and a 63 character maximum.\nNote that the ID can be updated." |
| 2724 | + description: |- |
| 2725 | + Resource ID (the last segment of the resource name), also the user username. |
| 2726 | + This conforms to RFC-1034, which restricts to letters, numbers, |
| 2727 | + and hyphen, with the first character a letter, the last a letter or a |
| 2728 | + number, and a 63 character maximum. |
| 2729 | + Note that the ID can be updated. |
2571 | 2730 | type: |
2572 | 2731 | $ref: '#/definitions/v1alphaOwnerType' |
2573 | 2732 | title: 'Owner type: fixed to `OWNER_TYPE_USER`' |
@@ -4204,6 +4363,15 @@ definitions: |
4204 | 4363 | title: |- |
4205 | 4364 | CancelModelOperationResponse represents a response for canceling a model |
4206 | 4365 | operation |
| 4366 | + v1alphaCheckModelInstanceResponse: |
| 4367 | + type: object |
| 4368 | + properties: |
| 4369 | + state: |
| 4370 | + $ref: '#/definitions/v1alphaModelInstanceState' |
| 4371 | + title: Retrieved model instance state |
| 4372 | + title: |- |
| 4373 | + CheckModelInstanceResponse represents a response to fetch a model |
| 4374 | + instance's current state and longrunning progress |
4207 | 4375 | v1alphaClassificationInput: |
4208 | 4376 | type: object |
4209 | 4377 | properties: |
@@ -4520,6 +4688,9 @@ definitions: |
4520 | 4688 | v1alphaDeletePlanResponse: |
4521 | 4689 | type: object |
4522 | 4690 | title: DeletePlanResponse represents an empty response |
| 4691 | + v1alphaDeleteResourceResponse: |
| 4692 | + type: object |
| 4693 | + title: DeleteResourceResponse represents an empty response |
4523 | 4694 | v1alphaDeleteSourceConnectorResponse: |
4524 | 4695 | type: object |
4525 | 4696 | title: DeleteSourceConnectorResponse represents an empty response |
@@ -5090,6 +5261,13 @@ definitions: |
5090 | 5261 | $ref: '#/definitions/v1alphaPlan' |
5091 | 5262 | title: A plan resource |
5092 | 5263 | title: GetPlanResponse represents a response for a plan resource |
| 5264 | + v1alphaGetResourceResponse: |
| 5265 | + type: object |
| 5266 | + properties: |
| 5267 | + resource: |
| 5268 | + $ref: '#/definitions/v1alphaResource' |
| 5269 | + title: Retrieved resource state |
| 5270 | + title: GetResourceResponse represents a response to fetch a resource's state |
5093 | 5271 | v1alphaGetSourceConnectorAdminResponse: |
5094 | 5272 | type: object |
5095 | 5273 | properties: |
@@ -6514,6 +6692,31 @@ definitions: |
6514 | 6692 | $ref: '#/definitions/v1alphaNullMessage' |
6515 | 6693 | title: Null message for empty response |
6516 | 6694 | title: ReportPipelineTriggersResponse represents a respond to a pipeline-trigger-records reporting bulk request |
| 6695 | + v1alphaResource: |
| 6696 | + type: object |
| 6697 | + properties: |
| 6698 | + name: |
| 6699 | + type: string |
| 6700 | + description: Resource name. |
| 6701 | + model_instance_state: |
| 6702 | + $ref: '#/definitions/v1alphaModelInstanceState' |
| 6703 | + title: Model instance state |
| 6704 | + pipeline_state: |
| 6705 | + $ref: '#/definitions/v1alphaPipelineState' |
| 6706 | + title: Pipeline state |
| 6707 | + connector_state: |
| 6708 | + $ref: '#/definitions/v1alphaConnectorState' |
| 6709 | + title: Connector state |
| 6710 | + backend_state: |
| 6711 | + $ref: '#/definitions/HealthCheckResponseServingStatus' |
| 6712 | + title: Backend service state |
| 6713 | + progress: |
| 6714 | + type: integer |
| 6715 | + format: int32 |
| 6716 | + title: Resource longrunning progress |
| 6717 | + title: Resource represents the current information of a resource |
| 6718 | + required: |
| 6719 | + - name |
6517 | 6720 | v1alphaSemanticSegmentationInput: |
6518 | 6721 | type: object |
6519 | 6722 | properties: |
@@ -7103,6 +7306,13 @@ definitions: |
7103 | 7306 | $ref: '#/definitions/v1alphaPlan' |
7104 | 7307 | title: A plan resource |
7105 | 7308 | title: UpdatePlanResponse represents a response for a plan resource |
| 7309 | + v1alphaUpdateResourceResponse: |
| 7310 | + type: object |
| 7311 | + properties: |
| 7312 | + resource: |
| 7313 | + $ref: '#/definitions/v1alphaResource' |
| 7314 | + title: Updated resource state |
| 7315 | + title: UpdateResourceResponse represents a response to update a resource's state |
7106 | 7316 | v1alphaUpdateSourceConnectorResponse: |
7107 | 7317 | type: object |
7108 | 7318 | properties: |
@@ -7145,10 +7355,17 @@ definitions: |
7145 | 7355 | readOnly: true |
7146 | 7356 | uid: |
7147 | 7357 | type: string |
7148 | | - description: "User ID in UUIDv4. This field is optionally set by users \n(optional on resource creation, server-generated if unset)." |
| 7358 | + description: |- |
| 7359 | + User ID in UUIDv4. This field is optionally set by users |
| 7360 | + (optional on resource creation, server-generated if unset). |
7149 | 7361 | id: |
7150 | 7362 | type: string |
7151 | | - description: "Resource ID (the last segment of the resource name), also the user username. \nThis conforms to RFC-1034, which restricts to letters, numbers,\nand hyphen, with the first character a letter, the last a letter or a\nnumber, and a 63 character maximum.\nNote that the ID can be updated." |
| 7363 | + description: |- |
| 7364 | + Resource ID (the last segment of the resource name), also the user username. |
| 7365 | + This conforms to RFC-1034, which restricts to letters, numbers, |
| 7366 | + and hyphen, with the first character a letter, the last a letter or a |
| 7367 | + number, and a 63 character maximum. |
| 7368 | + Note that the ID can be updated. |
7152 | 7369 | type: |
7153 | 7370 | $ref: '#/definitions/v1alphaOwnerType' |
7154 | 7371 | title: 'Owner type: fixed to `OWNER_TYPE_USER`' |
@@ -7215,6 +7432,19 @@ definitions: |
7215 | 7432 | title: User records definition |
7216 | 7433 | required: |
7217 | 7434 | - uid |
| 7435 | + v1alphaWatchModelInstanceResponse: |
| 7436 | + type: object |
| 7437 | + properties: |
| 7438 | + state: |
| 7439 | + $ref: '#/definitions/v1alphaModelInstanceState' |
| 7440 | + title: Retrieved model instance state |
| 7441 | + progress: |
| 7442 | + type: integer |
| 7443 | + format: int32 |
| 7444 | + title: Retrieved model instance logrunning progress |
| 7445 | + title: |- |
| 7446 | + WatchModelInstanceResponse represents a public response to |
| 7447 | + fetch a model instance's current state and longrunning progress |
7218 | 7448 | v1alphaWriteDestinationConnectorResponse: |
7219 | 7449 | type: object |
7220 | 7450 | title: |- |
@@ -7291,6 +7521,20 @@ definitions: |
7291 | 7521 | - VIEW_BASIC: View: BASIC |
7292 | 7522 | - VIEW_FULL: View: FULL |
7293 | 7523 | title: View enumerates the definition views |
| 7524 | + vdpcontrollerv1alphaLivenessResponse: |
| 7525 | + type: object |
| 7526 | + properties: |
| 7527 | + health_check_response: |
| 7528 | + $ref: '#/definitions/v1alphaHealthCheckResponse' |
| 7529 | + title: HealthCheckResponse message |
| 7530 | + title: LivenessResponse represents a response for a service liveness status |
| 7531 | + vdpcontrollerv1alphaReadinessResponse: |
| 7532 | + type: object |
| 7533 | + properties: |
| 7534 | + health_check_response: |
| 7535 | + $ref: '#/definitions/v1alphaHealthCheckResponse' |
| 7536 | + title: HealthCheckResponse message |
| 7537 | + title: ReadinessResponse represents a response for a service readiness status |
7294 | 7538 | vdpmgmtv1alphaLivenessResponse: |
7295 | 7539 | type: object |
7296 | 7540 | properties: |
|
0 commit comments