Skip to content

Commit 19d4638

Browse files
committed
Regenerate stubs
1 parent a78eb08 commit 19d4638

File tree

386 files changed

+35846
-3919
lines changed

Some content is hidden

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

386 files changed

+35846
-3919
lines changed

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

Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ class AccessPolicy(typing_extensions.TypedDict, total=False):
1616
parent: str
1717
title: str
1818

19+
@typing.type_check_only
20+
class ApiOperation(typing_extensions.TypedDict, total=False):
21+
methodSelectors: typing.List[MethodSelector]
22+
serviceName: str
23+
1924
@typing.type_check_only
2025
class BasicLevel(typing_extensions.TypedDict, total=False):
2126
combiningFunction: typing_extensions.Literal["AND", "OR"]
@@ -54,6 +59,26 @@ class DevicePolicy(typing_extensions.TypedDict, total=False):
5459
requireCorpOwned: bool
5560
requireScreenlock: bool
5661

62+
@typing.type_check_only
63+
class EgressFrom(typing_extensions.TypedDict, total=False):
64+
identities: typing.List[str]
65+
identityType: typing_extensions.Literal[
66+
"IDENTITY_TYPE_UNSPECIFIED",
67+
"ANY_IDENTITY",
68+
"ANY_USER_ACCOUNT",
69+
"ANY_SERVICE_ACCOUNT",
70+
]
71+
72+
@typing.type_check_only
73+
class EgressPolicy(typing_extensions.TypedDict, total=False):
74+
egressFrom: EgressFrom
75+
egressTo: EgressTo
76+
77+
@typing.type_check_only
78+
class EgressTo(typing_extensions.TypedDict, total=False):
79+
operations: typing.List[ApiOperation]
80+
resources: typing.List[str]
81+
5782
@typing.type_check_only
5883
class Empty(typing_extensions.TypedDict, total=False): ...
5984

@@ -70,6 +95,32 @@ class GcpUserAccessBinding(typing_extensions.TypedDict, total=False):
7095
groupKey: str
7196
name: str
7297

98+
@typing.type_check_only
99+
class IngressFrom(typing_extensions.TypedDict, total=False):
100+
identities: typing.List[str]
101+
identityType: typing_extensions.Literal[
102+
"IDENTITY_TYPE_UNSPECIFIED",
103+
"ANY_IDENTITY",
104+
"ANY_USER_ACCOUNT",
105+
"ANY_SERVICE_ACCOUNT",
106+
]
107+
sources: typing.List[IngressSource]
108+
109+
@typing.type_check_only
110+
class IngressPolicy(typing_extensions.TypedDict, total=False):
111+
ingressFrom: IngressFrom
112+
ingressTo: IngressTo
113+
114+
@typing.type_check_only
115+
class IngressSource(typing_extensions.TypedDict, total=False):
116+
accessLevel: str
117+
resource: str
118+
119+
@typing.type_check_only
120+
class IngressTo(typing_extensions.TypedDict, total=False):
121+
operations: typing.List[ApiOperation]
122+
resources: typing.List[str]
123+
73124
@typing.type_check_only
74125
class ListAccessLevelsResponse(typing_extensions.TypedDict, total=False):
75126
accessLevels: typing.List[AccessLevel]
@@ -95,6 +146,11 @@ class ListServicePerimetersResponse(typing_extensions.TypedDict, total=False):
95146
nextPageToken: str
96147
servicePerimeters: typing.List[ServicePerimeter]
97148

149+
@typing.type_check_only
150+
class MethodSelector(typing_extensions.TypedDict, total=False):
151+
method: str
152+
permission: str
153+
98154
@typing.type_check_only
99155
class Operation(typing_extensions.TypedDict, total=False):
100156
done: bool
@@ -150,6 +206,8 @@ class ServicePerimeter(typing_extensions.TypedDict, total=False):
150206
@typing.type_check_only
151207
class ServicePerimeterConfig(typing_extensions.TypedDict, total=False):
152208
accessLevels: typing.List[str]
209+
egressPolicies: typing.List[EgressPolicy]
210+
ingressPolicies: typing.List[IngressPolicy]
153211
resources: typing.List[str]
154212
restrictedServices: typing.List[str]
155213
vpcAccessibleServices: VpcAccessibleServices

googleapiclient-stubs/_apis/adexchangebuyer2/v2beta1/schemas.pyi

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,9 @@ class ListCreativeStatusBreakdownByDetailResponse(
593593
"PRODUCT_CATEGORY",
594594
"DISAPPROVAL_REASON",
595595
"POLICY_TOPIC",
596+
"ATP_VENDOR",
597+
"VENDOR_DOMAIN",
598+
"GVL_ID",
596599
]
597600
filteredBidDetailRows: typing.List[FilteredBidDetailRow]
598601
nextPageToken: str
@@ -811,6 +814,7 @@ class Proposal(typing_extensions.TypedDict, total=False):
811814
]
812815
seller: Seller
813816
sellerContacts: typing.List[ContactInformation]
817+
termsAndConditions: str
814818
updateTime: str
815819

816820
@typing.type_check_only
@@ -824,6 +828,7 @@ class PublisherProfile(typing_extensions.TypedDict, total=False):
824828
isParent: bool
825829
logoUrl: str
826830
mediaKitUrl: str
831+
mobileApps: typing.List[PublisherProfileMobileApplication]
827832
overview: str
828833
programmaticDealsContact: str
829834
publisherProfileId: str
@@ -832,6 +837,26 @@ class PublisherProfile(typing_extensions.TypedDict, total=False):
832837
seller: Seller
833838
topHeadlines: typing.List[str]
834839

840+
@typing.type_check_only
841+
class PublisherProfileMobileApplication(typing_extensions.TypedDict, total=False):
842+
appStore: typing_extensions.Literal[
843+
"APP_STORE_TYPE_UNSPECIFIED",
844+
"APPLE_ITUNES",
845+
"GOOGLE_PLAY",
846+
"ROKU",
847+
"AMAZON_FIRETV",
848+
"PLAYSTATION",
849+
"XBOX",
850+
"SAMSUNG_TV",
851+
"AMAZON",
852+
"OPPO",
853+
"SAMSUNG",
854+
"VIVO",
855+
"XIAOMI",
856+
]
857+
externalAppId: str
858+
name: str
859+
835860
@typing.type_check_only
836861
class RealtimeTimeRange(typing_extensions.TypedDict, total=False):
837862
startTimestamp: str

googleapiclient-stubs/_apis/admin/directory_v1/resources.pyi

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -299,10 +299,20 @@ class DirectoryResource(googleapiclient.discovery.Resource):
299299
@typing.type_check_only
300300
class OrgunitsResource(googleapiclient.discovery.Resource):
301301
def delete(
302-
self, *, customerId: str, orgUnitPath: str, **kwargs: typing.Any
302+
self,
303+
*,
304+
customerId: str,
305+
orgUnitPath: str,
306+
allowPlus: bool = ...,
307+
**kwargs: typing.Any
303308
) -> googleapiclient.http.HttpRequest: ...
304309
def get(
305-
self, *, customerId: str, orgUnitPath: str, **kwargs: typing.Any
310+
self,
311+
*,
312+
customerId: str,
313+
orgUnitPath: str,
314+
allowPlus: bool = ...,
315+
**kwargs: typing.Any
306316
) -> OrgUnitHttpRequest: ...
307317
def insert(
308318
self, *, customerId: str, body: OrgUnit = ..., **kwargs: typing.Any
@@ -321,6 +331,7 @@ class DirectoryResource(googleapiclient.discovery.Resource):
321331
customerId: str,
322332
orgUnitPath: str,
323333
body: OrgUnit = ...,
334+
allowPlus: bool = ...,
324335
**kwargs: typing.Any
325336
) -> OrgUnitHttpRequest: ...
326337
def update(
@@ -329,6 +340,7 @@ class DirectoryResource(googleapiclient.discovery.Resource):
329340
customerId: str,
330341
orgUnitPath: str,
331342
body: OrgUnit = ...,
343+
allowPlus: bool = ...,
332344
**kwargs: typing.Any
333345
) -> OrgUnitHttpRequest: ...
334346
@typing.type_check_only

googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ class ChromeOsDevice(typing_extensions.TypedDict, total=False):
132132
orgUnitPath: str
133133
osVersion: str
134134
platformVersion: str
135-
recentUsers: typing.List[typing.Dict[str, typing.Any]]
135+
recentUsers: typing.List[RecentUsers]
136136
serialNumber: str
137137
status: str
138138
supportEndDate: str
@@ -401,14 +401,26 @@ class OrgUnits(typing_extensions.TypedDict, total=False):
401401
organizationUnits: typing.List[OrgUnit]
402402

403403
@typing.type_check_only
404-
class Privilege(typing.Dict[str, typing.Any]): ...
404+
class Privilege(typing_extensions.TypedDict, total=False):
405+
childPrivileges: typing.List[Privilege]
406+
etag: str
407+
isOuScopable: bool
408+
kind: str
409+
privilegeName: str
410+
serviceId: str
411+
serviceName: str
405412

406413
@typing.type_check_only
407414
class Privileges(typing_extensions.TypedDict, total=False):
408415
etag: str
409416
items: typing.List[Privilege]
410417
kind: str
411418

419+
@typing.type_check_only
420+
class RecentUsers(typing_extensions.TypedDict, total=False):
421+
email: str
422+
type: str
423+
412424
@typing.type_check_only
413425
class Role(typing_extensions.TypedDict, total=False):
414426
etag: str
Lines changed: 122 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,122 @@
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 AdMobResource(googleapiclient.discovery.Resource):
12+
@typing.type_check_only
13+
class AccountsResource(googleapiclient.discovery.Resource):
14+
@typing.type_check_only
15+
class AdUnitsResource(googleapiclient.discovery.Resource):
16+
def list(
17+
self,
18+
*,
19+
parent: str,
20+
pageSize: int = ...,
21+
pageToken: str = ...,
22+
**kwargs: typing.Any
23+
) -> ListAdUnitsResponseHttpRequest: ...
24+
@typing.type_check_only
25+
class AppsResource(googleapiclient.discovery.Resource):
26+
def list(
27+
self,
28+
*,
29+
parent: str,
30+
pageSize: int = ...,
31+
pageToken: str = ...,
32+
**kwargs: typing.Any
33+
) -> ListAppsResponseHttpRequest: ...
34+
@typing.type_check_only
35+
class MediationReportResource(googleapiclient.discovery.Resource):
36+
def generate(
37+
self,
38+
*,
39+
parent: str,
40+
body: GenerateMediationReportRequest = ...,
41+
**kwargs: typing.Any
42+
) -> GenerateMediationReportResponseHttpRequest: ...
43+
@typing.type_check_only
44+
class NetworkReportResource(googleapiclient.discovery.Resource):
45+
def generate(
46+
self,
47+
*,
48+
parent: str,
49+
body: GenerateNetworkReportRequest = ...,
50+
**kwargs: typing.Any
51+
) -> GenerateNetworkReportResponseHttpRequest: ...
52+
def get(
53+
self, *, name: str, **kwargs: typing.Any
54+
) -> PublisherAccountHttpRequest: ...
55+
def list(
56+
self, *, pageSize: int = ..., pageToken: str = ..., **kwargs: typing.Any
57+
) -> ListPublisherAccountsResponseHttpRequest: ...
58+
def adUnits(self) -> AdUnitsResource: ...
59+
def apps(self) -> AppsResource: ...
60+
def mediationReport(self) -> MediationReportResource: ...
61+
def networkReport(self) -> NetworkReportResource: ...
62+
def accounts(self) -> AccountsResource: ...
63+
64+
@typing.type_check_only
65+
class GenerateMediationReportResponseHttpRequest(googleapiclient.http.HttpRequest):
66+
def execute(
67+
self,
68+
http: typing.Optional[
69+
typing.Union[httplib2.Http, googleapiclient.http.HttpMock]
70+
] = ...,
71+
num_retries: int = ...,
72+
) -> GenerateMediationReportResponse: ...
73+
74+
@typing.type_check_only
75+
class GenerateNetworkReportResponseHttpRequest(googleapiclient.http.HttpRequest):
76+
def execute(
77+
self,
78+
http: typing.Optional[
79+
typing.Union[httplib2.Http, googleapiclient.http.HttpMock]
80+
] = ...,
81+
num_retries: int = ...,
82+
) -> GenerateNetworkReportResponse: ...
83+
84+
@typing.type_check_only
85+
class ListAdUnitsResponseHttpRequest(googleapiclient.http.HttpRequest):
86+
def execute(
87+
self,
88+
http: typing.Optional[
89+
typing.Union[httplib2.Http, googleapiclient.http.HttpMock]
90+
] = ...,
91+
num_retries: int = ...,
92+
) -> ListAdUnitsResponse: ...
93+
94+
@typing.type_check_only
95+
class ListAppsResponseHttpRequest(googleapiclient.http.HttpRequest):
96+
def execute(
97+
self,
98+
http: typing.Optional[
99+
typing.Union[httplib2.Http, googleapiclient.http.HttpMock]
100+
] = ...,
101+
num_retries: int = ...,
102+
) -> ListAppsResponse: ...
103+
104+
@typing.type_check_only
105+
class ListPublisherAccountsResponseHttpRequest(googleapiclient.http.HttpRequest):
106+
def execute(
107+
self,
108+
http: typing.Optional[
109+
typing.Union[httplib2.Http, googleapiclient.http.HttpMock]
110+
] = ...,
111+
num_retries: int = ...,
112+
) -> ListPublisherAccountsResponse: ...
113+
114+
@typing.type_check_only
115+
class PublisherAccountHttpRequest(googleapiclient.http.HttpRequest):
116+
def execute(
117+
self,
118+
http: typing.Optional[
119+
typing.Union[httplib2.Http, googleapiclient.http.HttpMock]
120+
] = ...,
121+
num_retries: int = ...,
122+
) -> PublisherAccount: ...

0 commit comments

Comments
 (0)