Skip to content

Commit ca2b9ad

Browse files
feat(all): auto-regenerate discovery clients (#3342)
1 parent 9d031c4 commit ca2b9ad

File tree

20 files changed

+5643
-2251
lines changed

20 files changed

+5643
-2251
lines changed

‎connectors/v2/connectors-api.json‎

Lines changed: 169 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -694,6 +694,71 @@
694694
}
695695
}
696696
},
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+
},
697762
"tools": {
698763
"methods": {
699764
"execute": {
@@ -769,7 +834,7 @@
769834
}
770835
}
771836
},
772-
"revision": "20250917",
837+
"revision": "20250930",
773838
"rootUrl": "https://connectors.googleapis.com/",
774839
"schemas": {
775840
"AccessCredentials": {
@@ -1193,6 +1258,17 @@
11931258
"description": "Response message for ConnectorAgentService.ExecuteTool",
11941259
"id": "ExecuteToolResponse",
11951260
"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+
},
11961272
"result": {
11971273
"additionalProperties": {
11981274
"description": "Properties of the object.",
@@ -1392,6 +1468,32 @@
13921468
},
13931469
"type": "object"
13941470
},
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+
},
13951497
"InputParameter": {
13961498
"description": "Input Parameter message contains metadata about the parameters required for executing an Action.",
13971499
"id": "InputParameter",
@@ -2004,10 +2106,49 @@
20042106
},
20052107
"type": "object"
20062108
},
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+
},
20072137
"ListToolsResponse": {
20082138
"description": "Response message for ConnectorAgentService.ListTools",
20092139
"id": "ListToolsResponse",
20102140
"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+
},
20112152
"nextPageToken": {
20122153
"description": "Next page token.",
20132154
"type": "string"
@@ -2430,6 +2571,33 @@
24302571
},
24312572
"type": "object"
24322573
},
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+
},
24332601
"ResultMetadata": {
24342602
"description": "Result Metadata message contains metadata about the result returned after executing an Action.",
24352603
"id": "ResultMetadata",

0 commit comments

Comments
 (0)