|
| 1 | +import collections.abc |
| 2 | +import typing |
| 3 | + |
| 4 | +import httplib2 |
| 5 | +import typing_extensions |
| 6 | + |
| 7 | +import googleapiclient.discovery |
| 8 | +import googleapiclient.http |
| 9 | + |
| 10 | +from .schemas import * |
| 11 | + |
| 12 | +_list = list |
| 13 | + |
| 14 | +@typing.type_check_only |
| 15 | +class AgentRegistryResource(googleapiclient.discovery.Resource): |
| 16 | + @typing.type_check_only |
| 17 | + class ProjectsResource(googleapiclient.discovery.Resource): |
| 18 | + @typing.type_check_only |
| 19 | + class LocationsResource(googleapiclient.discovery.Resource): |
| 20 | + @typing.type_check_only |
| 21 | + class AgentsResource(googleapiclient.discovery.Resource): |
| 22 | + def get( |
| 23 | + self, *, name: str, **kwargs: typing.Any |
| 24 | + ) -> AgentHttpRequest: ... |
| 25 | + def list( |
| 26 | + self, |
| 27 | + *, |
| 28 | + parent: str, |
| 29 | + filter: str = ..., |
| 30 | + orderBy: str = ..., |
| 31 | + pageSize: int = ..., |
| 32 | + pageToken: str = ..., |
| 33 | + **kwargs: typing.Any, |
| 34 | + ) -> ListAgentsResponseHttpRequest: ... |
| 35 | + def list_next( |
| 36 | + self, |
| 37 | + previous_request: ListAgentsResponseHttpRequest, |
| 38 | + previous_response: ListAgentsResponse, |
| 39 | + ) -> ListAgentsResponseHttpRequest | None: ... |
| 40 | + |
| 41 | + @typing.type_check_only |
| 42 | + class EndpointsResource(googleapiclient.discovery.Resource): |
| 43 | + def get( |
| 44 | + self, *, name: str, **kwargs: typing.Any |
| 45 | + ) -> EndpointHttpRequest: ... |
| 46 | + def list( |
| 47 | + self, |
| 48 | + *, |
| 49 | + parent: str, |
| 50 | + filter: str = ..., |
| 51 | + pageSize: int = ..., |
| 52 | + pageToken: str = ..., |
| 53 | + **kwargs: typing.Any, |
| 54 | + ) -> ListEndpointsResponseHttpRequest: ... |
| 55 | + def list_next( |
| 56 | + self, |
| 57 | + previous_request: ListEndpointsResponseHttpRequest, |
| 58 | + previous_response: ListEndpointsResponse, |
| 59 | + ) -> ListEndpointsResponseHttpRequest | None: ... |
| 60 | + |
| 61 | + @typing.type_check_only |
| 62 | + class McpServersResource(googleapiclient.discovery.Resource): |
| 63 | + def get( |
| 64 | + self, *, name: str, **kwargs: typing.Any |
| 65 | + ) -> McpServerHttpRequest: ... |
| 66 | + def list( |
| 67 | + self, |
| 68 | + *, |
| 69 | + parent: str, |
| 70 | + filter: str = ..., |
| 71 | + orderBy: str = ..., |
| 72 | + pageSize: int = ..., |
| 73 | + pageToken: str = ..., |
| 74 | + **kwargs: typing.Any, |
| 75 | + ) -> ListMcpServersResponseHttpRequest: ... |
| 76 | + def list_next( |
| 77 | + self, |
| 78 | + previous_request: ListMcpServersResponseHttpRequest, |
| 79 | + previous_response: ListMcpServersResponse, |
| 80 | + ) -> ListMcpServersResponseHttpRequest | None: ... |
| 81 | + |
| 82 | + @typing.type_check_only |
| 83 | + class OperationsResource(googleapiclient.discovery.Resource): |
| 84 | + def cancel( |
| 85 | + self, |
| 86 | + *, |
| 87 | + name: str, |
| 88 | + body: CancelOperationRequest = ..., |
| 89 | + **kwargs: typing.Any, |
| 90 | + ) -> EmptyHttpRequest: ... |
| 91 | + def delete( |
| 92 | + self, *, name: str, **kwargs: typing.Any |
| 93 | + ) -> EmptyHttpRequest: ... |
| 94 | + def get( |
| 95 | + self, *, name: str, **kwargs: typing.Any |
| 96 | + ) -> OperationHttpRequest: ... |
| 97 | + def list( |
| 98 | + self, |
| 99 | + *, |
| 100 | + name: str, |
| 101 | + filter: str = ..., |
| 102 | + pageSize: int = ..., |
| 103 | + pageToken: str = ..., |
| 104 | + returnPartialSuccess: bool = ..., |
| 105 | + **kwargs: typing.Any, |
| 106 | + ) -> ListOperationsResponseHttpRequest: ... |
| 107 | + def list_next( |
| 108 | + self, |
| 109 | + previous_request: ListOperationsResponseHttpRequest, |
| 110 | + previous_response: ListOperationsResponse, |
| 111 | + ) -> ListOperationsResponseHttpRequest | None: ... |
| 112 | + |
| 113 | + @typing.type_check_only |
| 114 | + class ServicesResource(googleapiclient.discovery.Resource): |
| 115 | + def create( |
| 116 | + self, |
| 117 | + *, |
| 118 | + parent: str, |
| 119 | + body: Service = ..., |
| 120 | + requestId: str = ..., |
| 121 | + serviceId: str = ..., |
| 122 | + **kwargs: typing.Any, |
| 123 | + ) -> OperationHttpRequest: ... |
| 124 | + def delete( |
| 125 | + self, *, name: str, requestId: str = ..., **kwargs: typing.Any |
| 126 | + ) -> OperationHttpRequest: ... |
| 127 | + def get( |
| 128 | + self, *, name: str, **kwargs: typing.Any |
| 129 | + ) -> ServiceHttpRequest: ... |
| 130 | + def list( |
| 131 | + self, |
| 132 | + *, |
| 133 | + parent: str, |
| 134 | + filter: str = ..., |
| 135 | + pageSize: int = ..., |
| 136 | + pageToken: str = ..., |
| 137 | + **kwargs: typing.Any, |
| 138 | + ) -> ListServicesResponseHttpRequest: ... |
| 139 | + def list_next( |
| 140 | + self, |
| 141 | + previous_request: ListServicesResponseHttpRequest, |
| 142 | + previous_response: ListServicesResponse, |
| 143 | + ) -> ListServicesResponseHttpRequest | None: ... |
| 144 | + def patch( |
| 145 | + self, |
| 146 | + *, |
| 147 | + name: str, |
| 148 | + body: Service = ..., |
| 149 | + requestId: str = ..., |
| 150 | + updateMask: str = ..., |
| 151 | + **kwargs: typing.Any, |
| 152 | + ) -> OperationHttpRequest: ... |
| 153 | + |
| 154 | + def get( |
| 155 | + self, *, name: str, **kwargs: typing.Any |
| 156 | + ) -> LocationHttpRequest: ... |
| 157 | + def list( |
| 158 | + self, |
| 159 | + *, |
| 160 | + name: str, |
| 161 | + extraLocationTypes: str | _list[str] = ..., |
| 162 | + filter: str = ..., |
| 163 | + pageSize: int = ..., |
| 164 | + pageToken: str = ..., |
| 165 | + **kwargs: typing.Any, |
| 166 | + ) -> ListLocationsResponseHttpRequest: ... |
| 167 | + def list_next( |
| 168 | + self, |
| 169 | + previous_request: ListLocationsResponseHttpRequest, |
| 170 | + previous_response: ListLocationsResponse, |
| 171 | + ) -> ListLocationsResponseHttpRequest | None: ... |
| 172 | + def agents(self) -> AgentsResource: ... |
| 173 | + def endpoints(self) -> EndpointsResource: ... |
| 174 | + def mcpServers(self) -> McpServersResource: ... |
| 175 | + def operations(self) -> OperationsResource: ... |
| 176 | + def services(self) -> ServicesResource: ... |
| 177 | + |
| 178 | + def locations(self) -> LocationsResource: ... |
| 179 | + |
| 180 | + def new_batch_http_request( |
| 181 | + self, |
| 182 | + callback: collections.abc.Callable[ |
| 183 | + [ |
| 184 | + str, |
| 185 | + googleapiclient.http.HttpRequest, |
| 186 | + googleapiclient.errors.HttpError | None, |
| 187 | + ], |
| 188 | + typing.Any, |
| 189 | + ] |
| 190 | + | None = None, |
| 191 | + ) -> googleapiclient.http.BatchHttpRequest: ... |
| 192 | + def projects(self) -> ProjectsResource: ... |
| 193 | + |
| 194 | +@typing.type_check_only |
| 195 | +class AgentHttpRequest(googleapiclient.http.HttpRequest): |
| 196 | + def execute( |
| 197 | + self, |
| 198 | + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, |
| 199 | + num_retries: int = 0, |
| 200 | + ) -> Agent: ... |
| 201 | + |
| 202 | +@typing.type_check_only |
| 203 | +class EmptyHttpRequest(googleapiclient.http.HttpRequest): |
| 204 | + def execute( |
| 205 | + self, |
| 206 | + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, |
| 207 | + num_retries: int = 0, |
| 208 | + ) -> Empty: ... |
| 209 | + |
| 210 | +@typing.type_check_only |
| 211 | +class EndpointHttpRequest(googleapiclient.http.HttpRequest): |
| 212 | + def execute( |
| 213 | + self, |
| 214 | + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, |
| 215 | + num_retries: int = 0, |
| 216 | + ) -> Endpoint: ... |
| 217 | + |
| 218 | +@typing.type_check_only |
| 219 | +class ListAgentsResponseHttpRequest(googleapiclient.http.HttpRequest): |
| 220 | + def execute( |
| 221 | + self, |
| 222 | + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, |
| 223 | + num_retries: int = 0, |
| 224 | + ) -> ListAgentsResponse: ... |
| 225 | + |
| 226 | +@typing.type_check_only |
| 227 | +class ListEndpointsResponseHttpRequest(googleapiclient.http.HttpRequest): |
| 228 | + def execute( |
| 229 | + self, |
| 230 | + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, |
| 231 | + num_retries: int = 0, |
| 232 | + ) -> ListEndpointsResponse: ... |
| 233 | + |
| 234 | +@typing.type_check_only |
| 235 | +class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): |
| 236 | + def execute( |
| 237 | + self, |
| 238 | + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, |
| 239 | + num_retries: int = 0, |
| 240 | + ) -> ListLocationsResponse: ... |
| 241 | + |
| 242 | +@typing.type_check_only |
| 243 | +class ListMcpServersResponseHttpRequest(googleapiclient.http.HttpRequest): |
| 244 | + def execute( |
| 245 | + self, |
| 246 | + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, |
| 247 | + num_retries: int = 0, |
| 248 | + ) -> ListMcpServersResponse: ... |
| 249 | + |
| 250 | +@typing.type_check_only |
| 251 | +class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): |
| 252 | + def execute( |
| 253 | + self, |
| 254 | + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, |
| 255 | + num_retries: int = 0, |
| 256 | + ) -> ListOperationsResponse: ... |
| 257 | + |
| 258 | +@typing.type_check_only |
| 259 | +class ListServicesResponseHttpRequest(googleapiclient.http.HttpRequest): |
| 260 | + def execute( |
| 261 | + self, |
| 262 | + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, |
| 263 | + num_retries: int = 0, |
| 264 | + ) -> ListServicesResponse: ... |
| 265 | + |
| 266 | +@typing.type_check_only |
| 267 | +class LocationHttpRequest(googleapiclient.http.HttpRequest): |
| 268 | + def execute( |
| 269 | + self, |
| 270 | + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, |
| 271 | + num_retries: int = 0, |
| 272 | + ) -> Location: ... |
| 273 | + |
| 274 | +@typing.type_check_only |
| 275 | +class McpServerHttpRequest(googleapiclient.http.HttpRequest): |
| 276 | + def execute( |
| 277 | + self, |
| 278 | + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, |
| 279 | + num_retries: int = 0, |
| 280 | + ) -> McpServer: ... |
| 281 | + |
| 282 | +@typing.type_check_only |
| 283 | +class OperationHttpRequest(googleapiclient.http.HttpRequest): |
| 284 | + def execute( |
| 285 | + self, |
| 286 | + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, |
| 287 | + num_retries: int = 0, |
| 288 | + ) -> Operation: ... |
| 289 | + |
| 290 | +@typing.type_check_only |
| 291 | +class ServiceHttpRequest(googleapiclient.http.HttpRequest): |
| 292 | + def execute( |
| 293 | + self, |
| 294 | + http: httplib2.Http | googleapiclient.http.HttpMock | None = None, |
| 295 | + num_retries: int = 0, |
| 296 | + ) -> Service: ... |
0 commit comments