Skip to content

Commit 77d53cc

Browse files
authored
Add v2.32.0 support (#21)
1 parent 4d8582a commit 77d53cc

112 files changed

Lines changed: 5522 additions & 247 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -357,6 +357,7 @@ class HardwareInfo(typing_extensions.TypedDict, total=False):
357357
cpuShutdownTemperatures: _list[float]
358358
cpuThrottlingTemperatures: _list[float]
359359
deviceBasebandVersion: str
360+
enterpriseSpecificId: str
360361
gpuShutdownTemperatures: _list[float]
361362
gpuThrottlingTemperatures: _list[float]
362363
hardware: str
@@ -707,6 +708,11 @@ class Policy(typing_extensions.TypedDict, total=False):
707708
"PLAY_STORE_MODE_UNSPECIFIED", "WHITELIST", "BLACKLIST"
708709
]
709710
policyEnforcementRules: _list[PolicyEnforcementRule]
711+
preferentialNetworkService: typing_extensions.Literal[
712+
"PREFERENTIAL_NETWORK_SERVICE_UNSPECIFIED",
713+
"PREFERENTIAL_NETWORK_SERVICE_DISABLED",
714+
"PREFERENTIAL_NETWORK_SERVICE_ENABLED",
715+
]
710716
privateKeySelectionEnabled: bool
711717
recommendedGlobalProxy: ProxyInfo
712718
removeUserDisabled: bool

googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,11 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource):
4545
**kwargs: typing.Any
4646
) -> BundleHttpRequest: ...
4747
@typing.type_check_only
48+
class CountryavailabilityResource(googleapiclient.discovery.Resource):
49+
def get(
50+
self, *, packageName: str, editId: str, track: str, **kwargs: typing.Any
51+
) -> TrackCountryAvailabilityHttpRequest: ...
52+
@typing.type_check_only
4853
class DeobfuscationfilesResource(googleapiclient.discovery.Resource):
4954
def upload(
5055
self,
@@ -318,6 +323,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource):
318323
) -> AppEditHttpRequest: ...
319324
def apks(self) -> ApksResource: ...
320325
def bundles(self) -> BundlesResource: ...
326+
def countryavailability(self) -> CountryavailabilityResource: ...
321327
def deobfuscationfiles(self) -> DeobfuscationfilesResource: ...
322328
def details(self) -> DetailsResource: ...
323329
def expansionfiles(self) -> ExpansionfilesResource: ...
@@ -326,6 +332,19 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource):
326332
def testers(self) -> TestersResource: ...
327333
def tracks(self) -> TracksResource: ...
328334
@typing.type_check_only
335+
class GeneratedapksResource(googleapiclient.discovery.Resource):
336+
def download(
337+
self,
338+
*,
339+
packageName: str,
340+
versionCode: int,
341+
downloadId: str,
342+
**kwargs: typing.Any
343+
) -> googleapiclient.http.HttpRequest: ...
344+
def list(
345+
self, *, packageName: str, versionCode: int, **kwargs: typing.Any
346+
) -> GeneratedApksListResponseHttpRequest: ...
347+
@typing.type_check_only
329348
class GrantsResource(googleapiclient.discovery.Resource):
330349
def create(
331350
self, *, parent: str, body: Grant = ..., **kwargs: typing.Any
@@ -604,6 +623,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource):
604623
| None = ...,
605624
) -> googleapiclient.http.BatchHttpRequest: ...
606625
def edits(self) -> EditsResource: ...
626+
def generatedapks(self) -> GeneratedapksResource: ...
607627
def grants(self) -> GrantsResource: ...
608628
def inappproducts(self) -> InappproductsResource: ...
609629
def internalappsharingartifacts(self) -> InternalappsharingartifactsResource: ...
@@ -702,6 +722,14 @@ class ExpansionFilesUploadResponseHttpRequest(googleapiclient.http.HttpRequest):
702722
num_retries: int = ...,
703723
) -> ExpansionFilesUploadResponse: ...
704724

725+
@typing.type_check_only
726+
class GeneratedApksListResponseHttpRequest(googleapiclient.http.HttpRequest):
727+
def execute(
728+
self,
729+
http: httplib2.Http | googleapiclient.http.HttpMock | None = ...,
730+
num_retries: int = ...,
731+
) -> GeneratedApksListResponse: ...
732+
705733
@typing.type_check_only
706734
class GrantHttpRequest(googleapiclient.http.HttpRequest):
707735
def execute(
@@ -854,6 +882,14 @@ class TrackHttpRequest(googleapiclient.http.HttpRequest):
854882
num_retries: int = ...,
855883
) -> Track: ...
856884

885+
@typing.type_check_only
886+
class TrackCountryAvailabilityHttpRequest(googleapiclient.http.HttpRequest):
887+
def execute(
888+
self,
889+
http: httplib2.Http | googleapiclient.http.HttpMock | None = ...,
890+
num_retries: int = ...,
891+
) -> TrackCountryAvailability: ...
892+
857893
@typing.type_check_only
858894
class TracksListResponseHttpRequest(googleapiclient.http.HttpRequest):
859895
def execute(

googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,41 @@ class ExternallyHostedApk(typing_extensions.TypedDict, total=False):
142142
versionCode: int
143143
versionName: str
144144

145+
@typing.type_check_only
146+
class GeneratedApksListResponse(typing_extensions.TypedDict, total=False):
147+
generatedApks: _list[GeneratedApksPerSigningKey]
148+
149+
@typing.type_check_only
150+
class GeneratedApksPerSigningKey(typing_extensions.TypedDict, total=False):
151+
certificateSha256Hash: str
152+
generatedAssetPackSlices: _list[GeneratedAssetPackSlice]
153+
generatedSplitApks: _list[GeneratedSplitApk]
154+
generatedStandaloneApks: _list[GeneratedStandaloneApk]
155+
generatedUniversalApk: GeneratedUniversalApk
156+
157+
@typing.type_check_only
158+
class GeneratedAssetPackSlice(typing_extensions.TypedDict, total=False):
159+
downloadId: str
160+
moduleName: str
161+
sliceId: str
162+
version: str
163+
164+
@typing.type_check_only
165+
class GeneratedSplitApk(typing_extensions.TypedDict, total=False):
166+
downloadId: str
167+
moduleName: str
168+
splitId: str
169+
variantId: int
170+
171+
@typing.type_check_only
172+
class GeneratedStandaloneApk(typing_extensions.TypedDict, total=False):
173+
downloadId: str
174+
variantId: int
175+
176+
@typing.type_check_only
177+
class GeneratedUniversalApk(typing_extensions.TypedDict, total=False):
178+
downloadId: str
179+
145180
@typing.type_check_only
146181
class Grant(typing_extensions.TypedDict, total=False):
147182
appLevelPermissions: _list[str]
@@ -404,6 +439,12 @@ class Track(typing_extensions.TypedDict, total=False):
404439
releases: _list[TrackRelease]
405440
track: str
406441

442+
@typing.type_check_only
443+
class TrackCountryAvailability(typing_extensions.TypedDict, total=False):
444+
countries: _list[TrackTargetedCountry]
445+
restOfWorld: bool
446+
syncWithProduction: bool
447+
407448
@typing.type_check_only
408449
class TrackRelease(typing_extensions.TypedDict, total=False):
409450
countryTargeting: CountryTargeting
@@ -416,6 +457,10 @@ class TrackRelease(typing_extensions.TypedDict, total=False):
416457
userFraction: float
417458
versionCodes: _list[str]
418459

460+
@typing.type_check_only
461+
class TrackTargetedCountry(typing_extensions.TypedDict, total=False):
462+
countryCode: str
463+
419464
@typing.type_check_only
420465
class TracksListResponse(typing_extensions.TypedDict, total=False):
421466
kind: str

googleapiclient-stubs/_apis/appengine/v1alpha/resources.pyi

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,54 @@ class AppengineResource(googleapiclient.discovery.Resource):
166166
def domainMappings(self) -> DomainMappingsResource: ...
167167
def locations(self) -> LocationsResource: ...
168168
def operations(self) -> OperationsResource: ...
169+
@typing.type_check_only
170+
class ProjectsResource(googleapiclient.discovery.Resource):
171+
@typing.type_check_only
172+
class LocationsResource(googleapiclient.discovery.Resource):
173+
@typing.type_check_only
174+
class OperationsResource(googleapiclient.discovery.Resource):
175+
def get(
176+
self,
177+
*,
178+
projectsId: str,
179+
locationsId: str,
180+
operationsId: str,
181+
**kwargs: typing.Any
182+
) -> OperationHttpRequest: ...
183+
def list(
184+
self,
185+
*,
186+
projectsId: str,
187+
locationsId: str,
188+
filter: str = ...,
189+
pageSize: int = ...,
190+
pageToken: str = ...,
191+
**kwargs: typing.Any
192+
) -> ListOperationsResponseHttpRequest: ...
193+
def list_next(
194+
self,
195+
previous_request: ListOperationsResponseHttpRequest,
196+
previous_response: ListOperationsResponse,
197+
) -> ListOperationsResponseHttpRequest | None: ...
198+
def get(
199+
self, *, projectsId: str, locationsId: str, **kwargs: typing.Any
200+
) -> LocationHttpRequest: ...
201+
def list(
202+
self,
203+
*,
204+
projectsId: str,
205+
filter: str = ...,
206+
pageSize: int = ...,
207+
pageToken: str = ...,
208+
**kwargs: typing.Any
209+
) -> ListLocationsResponseHttpRequest: ...
210+
def list_next(
211+
self,
212+
previous_request: ListLocationsResponseHttpRequest,
213+
previous_response: ListLocationsResponse,
214+
) -> ListLocationsResponseHttpRequest | None: ...
215+
def operations(self) -> OperationsResource: ...
216+
def locations(self) -> LocationsResource: ...
169217
def new_batch_http_request(
170218
self,
171219
callback: collections.abc.Callable[
@@ -179,6 +227,7 @@ class AppengineResource(googleapiclient.discovery.Resource):
179227
| None = ...,
180228
) -> googleapiclient.http.BatchHttpRequest: ...
181229
def apps(self) -> AppsResource: ...
230+
def projects(self) -> ProjectsResource: ...
182231

183232
@typing.type_check_only
184233
class AuthorizedCertificateHttpRequest(googleapiclient.http.HttpRequest):

googleapiclient-stubs/_apis/artifactregistry/v1/resources.pyi

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource):
2424
class RepositoriesResource(googleapiclient.discovery.Resource):
2525
@typing.type_check_only
2626
class DockerImagesResource(googleapiclient.discovery.Resource):
27+
def get(
28+
self, *, name: str, **kwargs: typing.Any
29+
) -> DockerImageHttpRequest: ...
2730
def list(
2831
self,
2932
*,
@@ -71,6 +74,14 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource):
7174
def operations(self) -> OperationsResource: ...
7275
def projects(self) -> ProjectsResource: ...
7376

77+
@typing.type_check_only
78+
class DockerImageHttpRequest(googleapiclient.http.HttpRequest):
79+
def execute(
80+
self,
81+
http: httplib2.Http | googleapiclient.http.HttpMock | None = ...,
82+
num_retries: int = ...,
83+
) -> DockerImage: ...
84+
7485
@typing.type_check_only
7586
class ListDockerImagesResponseHttpRequest(googleapiclient.http.HttpRequest):
7687
def execute(

googleapiclient-stubs/_apis/artifactregistry/v1beta2/resources.pyi

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -252,6 +252,17 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource):
252252
) -> ListLocationsResponseHttpRequest | None: ...
253253
def operations(self) -> OperationsResource: ...
254254
def repositories(self) -> RepositoriesResource: ...
255+
def getProjectSettings(
256+
self, *, name: str, **kwargs: typing.Any
257+
) -> ProjectSettingsHttpRequest: ...
258+
def updateProjectSettings(
259+
self,
260+
*,
261+
name: str,
262+
body: ProjectSettings = ...,
263+
updateMask: str = ...,
264+
**kwargs: typing.Any
265+
) -> ProjectSettingsHttpRequest: ...
255266
def locations(self) -> LocationsResource: ...
256267
def new_batch_http_request(
257268
self,
@@ -365,6 +376,14 @@ class PolicyHttpRequest(googleapiclient.http.HttpRequest):
365376
num_retries: int = ...,
366377
) -> Policy: ...
367378

379+
@typing.type_check_only
380+
class ProjectSettingsHttpRequest(googleapiclient.http.HttpRequest):
381+
def execute(
382+
self,
383+
http: httplib2.Http | googleapiclient.http.HttpMock | None = ...,
384+
num_retries: int = ...,
385+
) -> ProjectSettings: ...
386+
368387
@typing.type_check_only
369388
class RepositoryHttpRequest(googleapiclient.http.HttpRequest):
370389
def execute(

googleapiclient-stubs/_apis/artifactregistry/v1beta2/schemas.pyi

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,16 @@ class Policy(typing_extensions.TypedDict, total=False):
151151
etag: str
152152
version: int
153153

154+
@typing.type_check_only
155+
class ProjectSettings(typing_extensions.TypedDict, total=False):
156+
legacyRedirectionState: typing_extensions.Literal[
157+
"REDIRECTION_STATE_UNSPECIFIED",
158+
"REDIRECTION_FROM_GCR_IO_DISABLED",
159+
"REDIRECTION_FROM_GCR_IO_ENABLED",
160+
"REDIRECTION_FROM_GCR_IO_FINALIZED",
161+
]
162+
name: str
163+
154164
@typing.type_check_only
155165
class Repository(typing_extensions.TypedDict, total=False):
156166
createTime: str

0 commit comments

Comments
 (0)