Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions googleapiclient-stubs/_apis/androidmanagement/v1/schemas.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -357,6 +357,7 @@ class HardwareInfo(typing_extensions.TypedDict, total=False):
cpuShutdownTemperatures: _list[float]
cpuThrottlingTemperatures: _list[float]
deviceBasebandVersion: str
enterpriseSpecificId: str
gpuShutdownTemperatures: _list[float]
gpuThrottlingTemperatures: _list[float]
hardware: str
Expand Down Expand Up @@ -707,6 +708,11 @@ class Policy(typing_extensions.TypedDict, total=False):
"PLAY_STORE_MODE_UNSPECIFIED", "WHITELIST", "BLACKLIST"
]
policyEnforcementRules: _list[PolicyEnforcementRule]
preferentialNetworkService: typing_extensions.Literal[
"PREFERENTIAL_NETWORK_SERVICE_UNSPECIFIED",
"PREFERENTIAL_NETWORK_SERVICE_DISABLED",
"PREFERENTIAL_NETWORK_SERVICE_ENABLED",
]
privateKeySelectionEnabled: bool
recommendedGlobalProxy: ProxyInfo
removeUserDisabled: bool
Expand Down
36 changes: 36 additions & 0 deletions googleapiclient-stubs/_apis/androidpublisher/v3/resources.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource):
**kwargs: typing.Any
) -> BundleHttpRequest: ...
@typing.type_check_only
class CountryavailabilityResource(googleapiclient.discovery.Resource):
def get(
self, *, packageName: str, editId: str, track: str, **kwargs: typing.Any
) -> TrackCountryAvailabilityHttpRequest: ...
@typing.type_check_only
class DeobfuscationfilesResource(googleapiclient.discovery.Resource):
def upload(
self,
Expand Down Expand Up @@ -318,6 +323,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource):
) -> AppEditHttpRequest: ...
def apks(self) -> ApksResource: ...
def bundles(self) -> BundlesResource: ...
def countryavailability(self) -> CountryavailabilityResource: ...
def deobfuscationfiles(self) -> DeobfuscationfilesResource: ...
def details(self) -> DetailsResource: ...
def expansionfiles(self) -> ExpansionfilesResource: ...
Expand All @@ -326,6 +332,19 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource):
def testers(self) -> TestersResource: ...
def tracks(self) -> TracksResource: ...
@typing.type_check_only
class GeneratedapksResource(googleapiclient.discovery.Resource):
def download(
self,
*,
packageName: str,
versionCode: int,
downloadId: str,
**kwargs: typing.Any
) -> googleapiclient.http.HttpRequest: ...
def list(
self, *, packageName: str, versionCode: int, **kwargs: typing.Any
) -> GeneratedApksListResponseHttpRequest: ...
@typing.type_check_only
class GrantsResource(googleapiclient.discovery.Resource):
def create(
self, *, parent: str, body: Grant = ..., **kwargs: typing.Any
Expand Down Expand Up @@ -604,6 +623,7 @@ class AndroidPublisherResource(googleapiclient.discovery.Resource):
| None = ...,
) -> googleapiclient.http.BatchHttpRequest: ...
def edits(self) -> EditsResource: ...
def generatedapks(self) -> GeneratedapksResource: ...
def grants(self) -> GrantsResource: ...
def inappproducts(self) -> InappproductsResource: ...
def internalappsharingartifacts(self) -> InternalappsharingartifactsResource: ...
Expand Down Expand Up @@ -702,6 +722,14 @@ class ExpansionFilesUploadResponseHttpRequest(googleapiclient.http.HttpRequest):
num_retries: int = ...,
) -> ExpansionFilesUploadResponse: ...

@typing.type_check_only
class GeneratedApksListResponseHttpRequest(googleapiclient.http.HttpRequest):
def execute(
self,
http: httplib2.Http | googleapiclient.http.HttpMock | None = ...,
num_retries: int = ...,
) -> GeneratedApksListResponse: ...

@typing.type_check_only
class GrantHttpRequest(googleapiclient.http.HttpRequest):
def execute(
Expand Down Expand Up @@ -854,6 +882,14 @@ class TrackHttpRequest(googleapiclient.http.HttpRequest):
num_retries: int = ...,
) -> Track: ...

@typing.type_check_only
class TrackCountryAvailabilityHttpRequest(googleapiclient.http.HttpRequest):
def execute(
self,
http: httplib2.Http | googleapiclient.http.HttpMock | None = ...,
num_retries: int = ...,
) -> TrackCountryAvailability: ...

@typing.type_check_only
class TracksListResponseHttpRequest(googleapiclient.http.HttpRequest):
def execute(
Expand Down
45 changes: 45 additions & 0 deletions googleapiclient-stubs/_apis/androidpublisher/v3/schemas.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,41 @@ class ExternallyHostedApk(typing_extensions.TypedDict, total=False):
versionCode: int
versionName: str

@typing.type_check_only
class GeneratedApksListResponse(typing_extensions.TypedDict, total=False):
generatedApks: _list[GeneratedApksPerSigningKey]

@typing.type_check_only
class GeneratedApksPerSigningKey(typing_extensions.TypedDict, total=False):
certificateSha256Hash: str
generatedAssetPackSlices: _list[GeneratedAssetPackSlice]
generatedSplitApks: _list[GeneratedSplitApk]
generatedStandaloneApks: _list[GeneratedStandaloneApk]
generatedUniversalApk: GeneratedUniversalApk

@typing.type_check_only
class GeneratedAssetPackSlice(typing_extensions.TypedDict, total=False):
downloadId: str
moduleName: str
sliceId: str
version: str

@typing.type_check_only
class GeneratedSplitApk(typing_extensions.TypedDict, total=False):
downloadId: str
moduleName: str
splitId: str
variantId: int

@typing.type_check_only
class GeneratedStandaloneApk(typing_extensions.TypedDict, total=False):
downloadId: str
variantId: int

@typing.type_check_only
class GeneratedUniversalApk(typing_extensions.TypedDict, total=False):
downloadId: str

@typing.type_check_only
class Grant(typing_extensions.TypedDict, total=False):
appLevelPermissions: _list[str]
Expand Down Expand Up @@ -404,6 +439,12 @@ class Track(typing_extensions.TypedDict, total=False):
releases: _list[TrackRelease]
track: str

@typing.type_check_only
class TrackCountryAvailability(typing_extensions.TypedDict, total=False):
countries: _list[TrackTargetedCountry]
restOfWorld: bool
syncWithProduction: bool

@typing.type_check_only
class TrackRelease(typing_extensions.TypedDict, total=False):
countryTargeting: CountryTargeting
Expand All @@ -416,6 +457,10 @@ class TrackRelease(typing_extensions.TypedDict, total=False):
userFraction: float
versionCodes: _list[str]

@typing.type_check_only
class TrackTargetedCountry(typing_extensions.TypedDict, total=False):
countryCode: str

@typing.type_check_only
class TracksListResponse(typing_extensions.TypedDict, total=False):
kind: str
Expand Down
49 changes: 49 additions & 0 deletions googleapiclient-stubs/_apis/appengine/v1alpha/resources.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,54 @@ class AppengineResource(googleapiclient.discovery.Resource):
def domainMappings(self) -> DomainMappingsResource: ...
def locations(self) -> LocationsResource: ...
def operations(self) -> OperationsResource: ...
@typing.type_check_only
class ProjectsResource(googleapiclient.discovery.Resource):
@typing.type_check_only
class LocationsResource(googleapiclient.discovery.Resource):
@typing.type_check_only
class OperationsResource(googleapiclient.discovery.Resource):
def get(
self,
*,
projectsId: str,
locationsId: str,
operationsId: str,
**kwargs: typing.Any
) -> OperationHttpRequest: ...
def list(
self,
*,
projectsId: str,
locationsId: str,
filter: str = ...,
pageSize: int = ...,
pageToken: str = ...,
**kwargs: typing.Any
) -> ListOperationsResponseHttpRequest: ...
def list_next(
self,
previous_request: ListOperationsResponseHttpRequest,
previous_response: ListOperationsResponse,
) -> ListOperationsResponseHttpRequest | None: ...
def get(
self, *, projectsId: str, locationsId: str, **kwargs: typing.Any
) -> LocationHttpRequest: ...
def list(
self,
*,
projectsId: str,
filter: str = ...,
pageSize: int = ...,
pageToken: str = ...,
**kwargs: typing.Any
) -> ListLocationsResponseHttpRequest: ...
def list_next(
self,
previous_request: ListLocationsResponseHttpRequest,
previous_response: ListLocationsResponse,
) -> ListLocationsResponseHttpRequest | None: ...
def operations(self) -> OperationsResource: ...
def locations(self) -> LocationsResource: ...
def new_batch_http_request(
self,
callback: collections.abc.Callable[
Expand All @@ -179,6 +227,7 @@ class AppengineResource(googleapiclient.discovery.Resource):
| None = ...,
) -> googleapiclient.http.BatchHttpRequest: ...
def apps(self) -> AppsResource: ...
def projects(self) -> ProjectsResource: ...

@typing.type_check_only
class AuthorizedCertificateHttpRequest(googleapiclient.http.HttpRequest):
Expand Down
11 changes: 11 additions & 0 deletions googleapiclient-stubs/_apis/artifactregistry/v1/resources.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource):
class RepositoriesResource(googleapiclient.discovery.Resource):
@typing.type_check_only
class DockerImagesResource(googleapiclient.discovery.Resource):
def get(
self, *, name: str, **kwargs: typing.Any
) -> DockerImageHttpRequest: ...
def list(
self,
*,
Expand Down Expand Up @@ -71,6 +74,14 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource):
def operations(self) -> OperationsResource: ...
def projects(self) -> ProjectsResource: ...

@typing.type_check_only
class DockerImageHttpRequest(googleapiclient.http.HttpRequest):
def execute(
self,
http: httplib2.Http | googleapiclient.http.HttpMock | None = ...,
num_retries: int = ...,
) -> DockerImage: ...

@typing.type_check_only
class ListDockerImagesResponseHttpRequest(googleapiclient.http.HttpRequest):
def execute(
Expand Down
19 changes: 19 additions & 0 deletions googleapiclient-stubs/_apis/artifactregistry/v1beta2/resources.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -252,6 +252,17 @@ class ArtifactRegistryResource(googleapiclient.discovery.Resource):
) -> ListLocationsResponseHttpRequest | None: ...
def operations(self) -> OperationsResource: ...
def repositories(self) -> RepositoriesResource: ...
def getProjectSettings(
self, *, name: str, **kwargs: typing.Any
) -> ProjectSettingsHttpRequest: ...
def updateProjectSettings(
self,
*,
name: str,
body: ProjectSettings = ...,
updateMask: str = ...,
**kwargs: typing.Any
) -> ProjectSettingsHttpRequest: ...
def locations(self) -> LocationsResource: ...
def new_batch_http_request(
self,
Expand Down Expand Up @@ -365,6 +376,14 @@ class PolicyHttpRequest(googleapiclient.http.HttpRequest):
num_retries: int = ...,
) -> Policy: ...

@typing.type_check_only
class ProjectSettingsHttpRequest(googleapiclient.http.HttpRequest):
def execute(
self,
http: httplib2.Http | googleapiclient.http.HttpMock | None = ...,
num_retries: int = ...,
) -> ProjectSettings: ...

@typing.type_check_only
class RepositoryHttpRequest(googleapiclient.http.HttpRequest):
def execute(
Expand Down
10 changes: 10 additions & 0 deletions googleapiclient-stubs/_apis/artifactregistry/v1beta2/schemas.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -151,6 +151,16 @@ class Policy(typing_extensions.TypedDict, total=False):
etag: str
version: int

@typing.type_check_only
class ProjectSettings(typing_extensions.TypedDict, total=False):
legacyRedirectionState: typing_extensions.Literal[
"REDIRECTION_STATE_UNSPECIFIED",
"REDIRECTION_FROM_GCR_IO_DISABLED",
"REDIRECTION_FROM_GCR_IO_ENABLED",
"REDIRECTION_FROM_GCR_IO_FINALIZED",
]
name: str

@typing.type_check_only
class Repository(typing_extensions.TypedDict, total=False):
createTime: str
Expand Down
Loading