|
| 1 | +import typing |
| 2 | + |
| 3 | +import httplib2 # type: ignore |
| 4 | +import typing_extensions |
| 5 | + |
| 6 | +import googleapiclient.discovery |
| 7 | +import googleapiclient.http # type: ignore |
| 8 | + |
| 9 | +from .schemas import * |
| 10 | +@typing.type_check_only |
| 11 | +class AppengineResource(googleapiclient.discovery.Resource): |
| 12 | + @typing.type_check_only |
| 13 | + class AppsResource(googleapiclient.discovery.Resource): |
| 14 | + @typing.type_check_only |
| 15 | + class LocationsResource(googleapiclient.discovery.Resource): |
| 16 | + def get( |
| 17 | + self, *, appsId: str, locationsId: str, **kwargs: typing.Any |
| 18 | + ) -> LocationHttpRequest: ... |
| 19 | + def list( |
| 20 | + self, |
| 21 | + *, |
| 22 | + appsId: str, |
| 23 | + filter: str = ..., |
| 24 | + pageSize: int = ..., |
| 25 | + pageToken: str = ..., |
| 26 | + **kwargs: typing.Any |
| 27 | + ) -> ListLocationsResponseHttpRequest: ... |
| 28 | + @typing.type_check_only |
| 29 | + class ModulesResource(googleapiclient.discovery.Resource): |
| 30 | + @typing.type_check_only |
| 31 | + class VersionsResource(googleapiclient.discovery.Resource): |
| 32 | + @typing.type_check_only |
| 33 | + class InstancesResource(googleapiclient.discovery.Resource): |
| 34 | + def debug( |
| 35 | + self, |
| 36 | + *, |
| 37 | + appsId: str, |
| 38 | + modulesId: str, |
| 39 | + versionsId: str, |
| 40 | + instancesId: str, |
| 41 | + body: DebugInstanceRequest = ..., |
| 42 | + **kwargs: typing.Any |
| 43 | + ) -> OperationHttpRequest: ... |
| 44 | + def delete( |
| 45 | + self, |
| 46 | + *, |
| 47 | + appsId: str, |
| 48 | + modulesId: str, |
| 49 | + versionsId: str, |
| 50 | + instancesId: str, |
| 51 | + **kwargs: typing.Any |
| 52 | + ) -> OperationHttpRequest: ... |
| 53 | + def get( |
| 54 | + self, |
| 55 | + *, |
| 56 | + appsId: str, |
| 57 | + modulesId: str, |
| 58 | + versionsId: str, |
| 59 | + instancesId: str, |
| 60 | + **kwargs: typing.Any |
| 61 | + ) -> InstanceHttpRequest: ... |
| 62 | + def list( |
| 63 | + self, |
| 64 | + *, |
| 65 | + appsId: str, |
| 66 | + modulesId: str, |
| 67 | + versionsId: str, |
| 68 | + pageSize: int = ..., |
| 69 | + pageToken: str = ..., |
| 70 | + **kwargs: typing.Any |
| 71 | + ) -> ListInstancesResponseHttpRequest: ... |
| 72 | + def create( |
| 73 | + self, |
| 74 | + *, |
| 75 | + appsId: str, |
| 76 | + modulesId: str, |
| 77 | + body: Version = ..., |
| 78 | + **kwargs: typing.Any |
| 79 | + ) -> OperationHttpRequest: ... |
| 80 | + def delete( |
| 81 | + self, |
| 82 | + *, |
| 83 | + appsId: str, |
| 84 | + modulesId: str, |
| 85 | + versionsId: str, |
| 86 | + **kwargs: typing.Any |
| 87 | + ) -> OperationHttpRequest: ... |
| 88 | + def get( |
| 89 | + self, |
| 90 | + *, |
| 91 | + appsId: str, |
| 92 | + modulesId: str, |
| 93 | + versionsId: str, |
| 94 | + view: typing_extensions.Literal["BASIC", "FULL"] = ..., |
| 95 | + **kwargs: typing.Any |
| 96 | + ) -> VersionHttpRequest: ... |
| 97 | + def list( |
| 98 | + self, |
| 99 | + *, |
| 100 | + appsId: str, |
| 101 | + modulesId: str, |
| 102 | + pageSize: int = ..., |
| 103 | + pageToken: str = ..., |
| 104 | + view: typing_extensions.Literal["BASIC", "FULL"] = ..., |
| 105 | + **kwargs: typing.Any |
| 106 | + ) -> ListVersionsResponseHttpRequest: ... |
| 107 | + def patch( |
| 108 | + self, |
| 109 | + *, |
| 110 | + appsId: str, |
| 111 | + modulesId: str, |
| 112 | + versionsId: str, |
| 113 | + body: Version = ..., |
| 114 | + mask: str = ..., |
| 115 | + **kwargs: typing.Any |
| 116 | + ) -> OperationHttpRequest: ... |
| 117 | + def instances(self) -> InstancesResource: ... |
| 118 | + def delete( |
| 119 | + self, *, appsId: str, modulesId: str, **kwargs: typing.Any |
| 120 | + ) -> OperationHttpRequest: ... |
| 121 | + def get( |
| 122 | + self, *, appsId: str, modulesId: str, **kwargs: typing.Any |
| 123 | + ) -> ModuleHttpRequest: ... |
| 124 | + def list( |
| 125 | + self, |
| 126 | + *, |
| 127 | + appsId: str, |
| 128 | + pageSize: int = ..., |
| 129 | + pageToken: str = ..., |
| 130 | + **kwargs: typing.Any |
| 131 | + ) -> ListModulesResponseHttpRequest: ... |
| 132 | + def patch( |
| 133 | + self, |
| 134 | + *, |
| 135 | + appsId: str, |
| 136 | + modulesId: str, |
| 137 | + body: Module = ..., |
| 138 | + mask: str = ..., |
| 139 | + migrateTraffic: bool = ..., |
| 140 | + **kwargs: typing.Any |
| 141 | + ) -> OperationHttpRequest: ... |
| 142 | + def versions(self) -> VersionsResource: ... |
| 143 | + @typing.type_check_only |
| 144 | + class OperationsResource(googleapiclient.discovery.Resource): |
| 145 | + def get( |
| 146 | + self, *, appsId: str, operationsId: str, **kwargs: typing.Any |
| 147 | + ) -> OperationHttpRequest: ... |
| 148 | + def list( |
| 149 | + self, |
| 150 | + *, |
| 151 | + appsId: str, |
| 152 | + filter: str = ..., |
| 153 | + pageSize: int = ..., |
| 154 | + pageToken: str = ..., |
| 155 | + **kwargs: typing.Any |
| 156 | + ) -> ListOperationsResponseHttpRequest: ... |
| 157 | + def create( |
| 158 | + self, *, body: Application = ..., **kwargs: typing.Any |
| 159 | + ) -> OperationHttpRequest: ... |
| 160 | + def get( |
| 161 | + self, *, appsId: str, ensureResourcesExist: bool = ..., **kwargs: typing.Any |
| 162 | + ) -> ApplicationHttpRequest: ... |
| 163 | + def patch( |
| 164 | + self, |
| 165 | + *, |
| 166 | + appsId: str, |
| 167 | + body: Application = ..., |
| 168 | + mask: str = ..., |
| 169 | + **kwargs: typing.Any |
| 170 | + ) -> OperationHttpRequest: ... |
| 171 | + def locations(self) -> LocationsResource: ... |
| 172 | + def modules(self) -> ModulesResource: ... |
| 173 | + def operations(self) -> OperationsResource: ... |
| 174 | + def apps(self) -> AppsResource: ... |
| 175 | + |
| 176 | +@typing.type_check_only |
| 177 | +class ApplicationHttpRequest(googleapiclient.http.HttpRequest): |
| 178 | + def execute( |
| 179 | + self, |
| 180 | + http: typing.Optional[ |
| 181 | + typing.Union[httplib2.Http, googleapiclient.http.HttpMock] |
| 182 | + ] = ..., |
| 183 | + num_retries: int = ..., |
| 184 | + ) -> Application: ... |
| 185 | + |
| 186 | +@typing.type_check_only |
| 187 | +class InstanceHttpRequest(googleapiclient.http.HttpRequest): |
| 188 | + def execute( |
| 189 | + self, |
| 190 | + http: typing.Optional[ |
| 191 | + typing.Union[httplib2.Http, googleapiclient.http.HttpMock] |
| 192 | + ] = ..., |
| 193 | + num_retries: int = ..., |
| 194 | + ) -> Instance: ... |
| 195 | + |
| 196 | +@typing.type_check_only |
| 197 | +class ListInstancesResponseHttpRequest(googleapiclient.http.HttpRequest): |
| 198 | + def execute( |
| 199 | + self, |
| 200 | + http: typing.Optional[ |
| 201 | + typing.Union[httplib2.Http, googleapiclient.http.HttpMock] |
| 202 | + ] = ..., |
| 203 | + num_retries: int = ..., |
| 204 | + ) -> ListInstancesResponse: ... |
| 205 | + |
| 206 | +@typing.type_check_only |
| 207 | +class ListLocationsResponseHttpRequest(googleapiclient.http.HttpRequest): |
| 208 | + def execute( |
| 209 | + self, |
| 210 | + http: typing.Optional[ |
| 211 | + typing.Union[httplib2.Http, googleapiclient.http.HttpMock] |
| 212 | + ] = ..., |
| 213 | + num_retries: int = ..., |
| 214 | + ) -> ListLocationsResponse: ... |
| 215 | + |
| 216 | +@typing.type_check_only |
| 217 | +class ListModulesResponseHttpRequest(googleapiclient.http.HttpRequest): |
| 218 | + def execute( |
| 219 | + self, |
| 220 | + http: typing.Optional[ |
| 221 | + typing.Union[httplib2.Http, googleapiclient.http.HttpMock] |
| 222 | + ] = ..., |
| 223 | + num_retries: int = ..., |
| 224 | + ) -> ListModulesResponse: ... |
| 225 | + |
| 226 | +@typing.type_check_only |
| 227 | +class ListOperationsResponseHttpRequest(googleapiclient.http.HttpRequest): |
| 228 | + def execute( |
| 229 | + self, |
| 230 | + http: typing.Optional[ |
| 231 | + typing.Union[httplib2.Http, googleapiclient.http.HttpMock] |
| 232 | + ] = ..., |
| 233 | + num_retries: int = ..., |
| 234 | + ) -> ListOperationsResponse: ... |
| 235 | + |
| 236 | +@typing.type_check_only |
| 237 | +class ListVersionsResponseHttpRequest(googleapiclient.http.HttpRequest): |
| 238 | + def execute( |
| 239 | + self, |
| 240 | + http: typing.Optional[ |
| 241 | + typing.Union[httplib2.Http, googleapiclient.http.HttpMock] |
| 242 | + ] = ..., |
| 243 | + num_retries: int = ..., |
| 244 | + ) -> ListVersionsResponse: ... |
| 245 | + |
| 246 | +@typing.type_check_only |
| 247 | +class LocationHttpRequest(googleapiclient.http.HttpRequest): |
| 248 | + def execute( |
| 249 | + self, |
| 250 | + http: typing.Optional[ |
| 251 | + typing.Union[httplib2.Http, googleapiclient.http.HttpMock] |
| 252 | + ] = ..., |
| 253 | + num_retries: int = ..., |
| 254 | + ) -> Location: ... |
| 255 | + |
| 256 | +@typing.type_check_only |
| 257 | +class ModuleHttpRequest(googleapiclient.http.HttpRequest): |
| 258 | + def execute( |
| 259 | + self, |
| 260 | + http: typing.Optional[ |
| 261 | + typing.Union[httplib2.Http, googleapiclient.http.HttpMock] |
| 262 | + ] = ..., |
| 263 | + num_retries: int = ..., |
| 264 | + ) -> Module: ... |
| 265 | + |
| 266 | +@typing.type_check_only |
| 267 | +class OperationHttpRequest(googleapiclient.http.HttpRequest): |
| 268 | + def execute( |
| 269 | + self, |
| 270 | + http: typing.Optional[ |
| 271 | + typing.Union[httplib2.Http, googleapiclient.http.HttpMock] |
| 272 | + ] = ..., |
| 273 | + num_retries: int = ..., |
| 274 | + ) -> Operation: ... |
| 275 | + |
| 276 | +@typing.type_check_only |
| 277 | +class VersionHttpRequest(googleapiclient.http.HttpRequest): |
| 278 | + def execute( |
| 279 | + self, |
| 280 | + http: typing.Optional[ |
| 281 | + typing.Union[httplib2.Http, googleapiclient.http.HttpMock] |
| 282 | + ] = ..., |
| 283 | + num_retries: int = ..., |
| 284 | + ) -> Version: ... |
0 commit comments