|
694 | 694 | } |
695 | 695 | } |
696 | 696 | }, |
| 697 | + "resources": { |
| 698 | + "methods": { |
| 699 | + "get": { |
| 700 | + "description": "Gets a specific resource.", |
| 701 | + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/resources/{resourcesId}", |
| 702 | + "httpMethod": "GET", |
| 703 | + "id": "connectors.projects.locations.connections.resources.get", |
| 704 | + "parameterOrder": [ |
| 705 | + "name" |
| 706 | + ], |
| 707 | + "parameters": { |
| 708 | + "name": { |
| 709 | + "description": "Required. Resource name of the Resource. Format: projects/{project}/locations/{location}/connections/{connection}/resources/{resource}", |
| 710 | + "location": "path", |
| 711 | + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+/resources/[^/]+$", |
| 712 | + "required": true, |
| 713 | + "type": "string" |
| 714 | + } |
| 715 | + }, |
| 716 | + "path": "v2/{+name}", |
| 717 | + "response": { |
| 718 | + "$ref": "GetResourceResponse" |
| 719 | + }, |
| 720 | + "scopes": [ |
| 721 | + "https://www.googleapis.com/auth/cloud-platform" |
| 722 | + ] |
| 723 | + }, |
| 724 | + "list": { |
| 725 | + "description": "Lists all available resources.", |
| 726 | + "flatPath": "v2/projects/{projectsId}/locations/{locationsId}/connections/{connectionsId}/resources", |
| 727 | + "httpMethod": "GET", |
| 728 | + "id": "connectors.projects.locations.connections.resources.list", |
| 729 | + "parameterOrder": [ |
| 730 | + "parent" |
| 731 | + ], |
| 732 | + "parameters": { |
| 733 | + "pageSize": { |
| 734 | + "description": "Optional. Page size for the request.", |
| 735 | + "format": "int32", |
| 736 | + "location": "query", |
| 737 | + "type": "integer" |
| 738 | + }, |
| 739 | + "pageToken": { |
| 740 | + "description": "Optional. Page token for the request.", |
| 741 | + "location": "query", |
| 742 | + "type": "string" |
| 743 | + }, |
| 744 | + "parent": { |
| 745 | + "description": "Required. Resource name of the connection. Format: projects/{project}/locations/{location}/connections/{connection}", |
| 746 | + "location": "path", |
| 747 | + "pattern": "^projects/[^/]+/locations/[^/]+/connections/[^/]+$", |
| 748 | + "required": true, |
| 749 | + "type": "string" |
| 750 | + } |
| 751 | + }, |
| 752 | + "path": "v2/{+parent}/resources", |
| 753 | + "response": { |
| 754 | + "$ref": "ListResourcesResponse" |
| 755 | + }, |
| 756 | + "scopes": [ |
| 757 | + "https://www.googleapis.com/auth/cloud-platform" |
| 758 | + ] |
| 759 | + } |
| 760 | + } |
| 761 | + }, |
697 | 762 | "tools": { |
698 | 763 | "methods": { |
699 | 764 | "execute": { |
|
769 | 834 | } |
770 | 835 | } |
771 | 836 | }, |
772 | | - "revision": "20250917", |
| 837 | + "revision": "20250930", |
773 | 838 | "rootUrl": "https://connectors.googleapis.com/", |
774 | 839 | "schemas": { |
775 | 840 | "AccessCredentials": { |
|
1193 | 1258 | "description": "Response message for ConnectorAgentService.ExecuteTool", |
1194 | 1259 | "id": "ExecuteToolResponse", |
1195 | 1260 | "properties": { |
| 1261 | + "metadata": { |
| 1262 | + "additionalProperties": { |
| 1263 | + "additionalProperties": { |
| 1264 | + "description": "Properties of the object. Contains field @type with type URL.", |
| 1265 | + "type": "any" |
| 1266 | + }, |
| 1267 | + "type": "object" |
| 1268 | + }, |
| 1269 | + "description": "Metadata like service latency, etc.", |
| 1270 | + "type": "object" |
| 1271 | + }, |
1196 | 1272 | "result": { |
1197 | 1273 | "additionalProperties": { |
1198 | 1274 | "description": "Properties of the object.", |
|
1392 | 1468 | }, |
1393 | 1469 | "type": "object" |
1394 | 1470 | }, |
| 1471 | + "GetResourceResponse": { |
| 1472 | + "id": "GetResourceResponse", |
| 1473 | + "properties": { |
| 1474 | + "data": { |
| 1475 | + "description": "The content of the resource.", |
| 1476 | + "format": "byte", |
| 1477 | + "type": "string" |
| 1478 | + }, |
| 1479 | + "metadata": { |
| 1480 | + "additionalProperties": { |
| 1481 | + "additionalProperties": { |
| 1482 | + "description": "Properties of the object. Contains field @type with type URL.", |
| 1483 | + "type": "any" |
| 1484 | + }, |
| 1485 | + "type": "object" |
| 1486 | + }, |
| 1487 | + "description": "Metadata like service latency, etc.", |
| 1488 | + "type": "object" |
| 1489 | + }, |
| 1490 | + "mimeType": { |
| 1491 | + "description": "The MIME type of the resource.", |
| 1492 | + "type": "string" |
| 1493 | + } |
| 1494 | + }, |
| 1495 | + "type": "object" |
| 1496 | + }, |
1395 | 1497 | "InputParameter": { |
1396 | 1498 | "description": "Input Parameter message contains metadata about the parameters required for executing an Action.", |
1397 | 1499 | "id": "InputParameter", |
|
2004 | 2106 | }, |
2005 | 2107 | "type": "object" |
2006 | 2108 | }, |
| 2109 | + "ListResourcesResponse": { |
| 2110 | + "id": "ListResourcesResponse", |
| 2111 | + "properties": { |
| 2112 | + "metadata": { |
| 2113 | + "additionalProperties": { |
| 2114 | + "additionalProperties": { |
| 2115 | + "description": "Properties of the object. Contains field @type with type URL.", |
| 2116 | + "type": "any" |
| 2117 | + }, |
| 2118 | + "type": "object" |
| 2119 | + }, |
| 2120 | + "description": "Metadata like service latency, etc.", |
| 2121 | + "type": "object" |
| 2122 | + }, |
| 2123 | + "nextPageToken": { |
| 2124 | + "description": "Next page token if more resources available.", |
| 2125 | + "type": "string" |
| 2126 | + }, |
| 2127 | + "resources": { |
| 2128 | + "description": "List of available resources.", |
| 2129 | + "items": { |
| 2130 | + "$ref": "Resource" |
| 2131 | + }, |
| 2132 | + "type": "array" |
| 2133 | + } |
| 2134 | + }, |
| 2135 | + "type": "object" |
| 2136 | + }, |
2007 | 2137 | "ListToolsResponse": { |
2008 | 2138 | "description": "Response message for ConnectorAgentService.ListTools", |
2009 | 2139 | "id": "ListToolsResponse", |
2010 | 2140 | "properties": { |
| 2141 | + "metadata": { |
| 2142 | + "additionalProperties": { |
| 2143 | + "additionalProperties": { |
| 2144 | + "description": "Properties of the object. Contains field @type with type URL.", |
| 2145 | + "type": "any" |
| 2146 | + }, |
| 2147 | + "type": "object" |
| 2148 | + }, |
| 2149 | + "description": "Metadata like service latency, etc.", |
| 2150 | + "type": "object" |
| 2151 | + }, |
2011 | 2152 | "nextPageToken": { |
2012 | 2153 | "description": "Next page token.", |
2013 | 2154 | "type": "string" |
|
2430 | 2571 | }, |
2431 | 2572 | "type": "object" |
2432 | 2573 | }, |
| 2574 | + "Resource": { |
| 2575 | + "id": "Resource", |
| 2576 | + "properties": { |
| 2577 | + "description": { |
| 2578 | + "description": "A description of what this resource represents.", |
| 2579 | + "type": "string" |
| 2580 | + }, |
| 2581 | + "mimeType": { |
| 2582 | + "description": "The MIME type of this resource, if known.", |
| 2583 | + "type": "string" |
| 2584 | + }, |
| 2585 | + "name": { |
| 2586 | + "description": "A human-readable name for this resource.", |
| 2587 | + "type": "string" |
| 2588 | + }, |
| 2589 | + "size": { |
| 2590 | + "description": "The size of the raw resource content, in bytes, if known.", |
| 2591 | + "format": "int64", |
| 2592 | + "type": "string" |
| 2593 | + }, |
| 2594 | + "uri": { |
| 2595 | + "description": "The URI of this resource.", |
| 2596 | + "type": "string" |
| 2597 | + } |
| 2598 | + }, |
| 2599 | + "type": "object" |
| 2600 | + }, |
2433 | 2601 | "ResultMetadata": { |
2434 | 2602 | "description": "Result Metadata message contains metadata about the result returned after executing an Action.", |
2435 | 2603 | "id": "ResultMetadata", |
|
0 commit comments