Skip to content

Commit e2b9dff

Browse files
authored
Add v2.159.0 support (#63)
1 parent e116fd3 commit e2b9dff

File tree

349 files changed

+35368
-2834
lines changed

Some content is hidden

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

349 files changed

+35368
-2834
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,7 @@ class AccessContextManagerResource(googleapiclient.discovery.Resource):
274274
*,
275275
name: str,
276276
body: GcpUserAccessBinding = ...,
277+
append: bool = ...,
277278
updateMask: str = ...,
278279
**kwargs: typing.Any,
279280
) -> OperationHttpRequest: ...

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

Lines changed: 16 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class AccessScope(typing_extensions.TypedDict, total=False):
3232
@typing.type_check_only
3333
class AccessSettings(typing_extensions.TypedDict, total=False):
3434
accessLevels: _list[str]
35-
reauthSettings: ReauthSettings
35+
sessionSettings: SessionSettings
3636

3737
@typing.type_check_only
3838
class ApiOperation(typing_extensions.TypedDict, total=False):
@@ -150,10 +150,12 @@ class EgressFrom(typing_extensions.TypedDict, total=False):
150150
class EgressPolicy(typing_extensions.TypedDict, total=False):
151151
egressFrom: EgressFrom
152152
egressTo: EgressTo
153+
title: str
153154

154155
@typing.type_check_only
155156
class EgressSource(typing_extensions.TypedDict, total=False):
156157
accessLevel: str
158+
resource: str
157159

158160
@typing.type_check_only
159161
class EgressTo(typing_extensions.TypedDict, total=False):
@@ -177,9 +179,9 @@ class GcpUserAccessBinding(typing_extensions.TypedDict, total=False):
177179
dryRunAccessLevels: _list[str]
178180
groupKey: str
179181
name: str
180-
reauthSettings: ReauthSettings
181182
restrictedClientApplications: _list[Application]
182183
scopedAccessSettings: _list[ScopedAccessSettings]
184+
sessionSettings: SessionSettings
183185

184186
@typing.type_check_only
185187
class GcpUserAccessBindingOperationMetadata(
@@ -209,6 +211,7 @@ class IngressFrom(typing_extensions.TypedDict, total=False):
209211
class IngressPolicy(typing_extensions.TypedDict, total=False):
210212
ingressFrom: IngressFrom
211213
ingressTo: IngressTo
214+
title: str
212215

213216
@typing.type_check_only
214217
class IngressSource(typing_extensions.TypedDict, total=False):
@@ -289,16 +292,6 @@ class Policy(typing_extensions.TypedDict, total=False):
289292
etag: str
290293
version: int
291294

292-
@typing.type_check_only
293-
class ReauthSettings(typing_extensions.TypedDict, total=False):
294-
maxInactivity: str
295-
reauthMethod: typing_extensions.Literal[
296-
"REAUTH_METHOD_UNSPECIFIED", "LOGIN", "SECURITY_KEY", "PASSWORD"
297-
]
298-
sessionLength: str
299-
sessionLengthEnabled: bool
300-
useOidcMaxAge: bool
301-
302295
@typing.type_check_only
303296
class ReplaceAccessLevelsRequest(typing_extensions.TypedDict, total=False):
304297
accessLevels: _list[AccessLevel]
@@ -326,6 +319,7 @@ class ScopedAccessSettings(typing_extensions.TypedDict, total=False):
326319
@typing.type_check_only
327320
class ServicePerimeter(typing_extensions.TypedDict, total=False):
328321
description: str
322+
etag: str
329323
name: str
330324
perimeterType: typing_extensions.Literal[
331325
"PERIMETER_TYPE_REGULAR", "PERIMETER_TYPE_BRIDGE"
@@ -344,6 +338,16 @@ class ServicePerimeterConfig(typing_extensions.TypedDict, total=False):
344338
restrictedServices: _list[str]
345339
vpcAccessibleServices: VpcAccessibleServices
346340

341+
@typing.type_check_only
342+
class SessionSettings(typing_extensions.TypedDict, total=False):
343+
maxInactivity: str
344+
sessionLength: str
345+
sessionLengthEnabled: bool
346+
sessionReauthMethod: typing_extensions.Literal[
347+
"SESSION_REAUTH_METHOD_UNSPECIFIED", "LOGIN", "SECURITY_KEY", "PASSWORD"
348+
]
349+
useOidcMaxAge: bool
350+
347351
@typing.type_check_only
348352
class SetIamPolicyRequest(typing_extensions.TypedDict, total=False):
349353
policy: Policy

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

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -144,6 +144,11 @@ class Buildings(typing_extensions.TypedDict, total=False):
144144
kind: str
145145
nextPageToken: str
146146

147+
@typing.type_check_only
148+
class ByteUsage(typing_extensions.TypedDict, total=False):
149+
capacityBytes: str
150+
usedBytes: str
151+
147152
@typing.type_check_only
148153
class CalendarResource(typing_extensions.TypedDict, total=False):
149154
buildingId: str
@@ -229,6 +234,7 @@ class ChromeOsDevice(typing_extensions.TypedDict, total=False):
229234
"education",
230235
"kioskUpgrade",
231236
]
237+
diskSpaceUsage: ByteUsage
232238
diskVolumeReports: _list[dict[str, typing.Any]]
233239
dockMacAddress: str
234240
etag: str
@@ -696,6 +702,7 @@ class Role(typing_extensions.TypedDict, total=False):
696702
class RoleAssignment(typing_extensions.TypedDict, total=False):
697703
assignedTo: str
698704
assigneeType: typing_extensions.Literal["user", "group"]
705+
condition: str
699706
etag: str
700707
kind: str
701708
orgUnitId: str

googleapiclient-stubs/_apis/adsense/v2/resources.pyi

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -293,6 +293,7 @@ class AdsenseResource(googleapiclient.discovery.Resource):
293293
"AD_UNIT_SIZE_CODE",
294294
"CUSTOM_CHANNEL_NAME",
295295
"CUSTOM_CHANNEL_ID",
296+
"HOSTED_CUSTOM_CHANNEL_ID",
296297
"OWNED_SITE_DOMAIN_NAME",
297298
"OWNED_SITE_ID",
298299
"PAGE_URL",
@@ -344,6 +345,7 @@ class AdsenseResource(googleapiclient.discovery.Resource):
344345
"AD_UNIT_SIZE_CODE",
345346
"CUSTOM_CHANNEL_NAME",
346347
"CUSTOM_CHANNEL_ID",
348+
"HOSTED_CUSTOM_CHANNEL_ID",
347349
"OWNED_SITE_DOMAIN_NAME",
348350
"OWNED_SITE_ID",
349351
"PAGE_URL",
@@ -507,6 +509,7 @@ class AdsenseResource(googleapiclient.discovery.Resource):
507509
"AD_UNIT_SIZE_CODE",
508510
"CUSTOM_CHANNEL_NAME",
509511
"CUSTOM_CHANNEL_ID",
512+
"HOSTED_CUSTOM_CHANNEL_ID",
510513
"OWNED_SITE_DOMAIN_NAME",
511514
"OWNED_SITE_ID",
512515
"PAGE_URL",
@@ -558,6 +561,7 @@ class AdsenseResource(googleapiclient.discovery.Resource):
558561
"AD_UNIT_SIZE_CODE",
559562
"CUSTOM_CHANNEL_NAME",
560563
"CUSTOM_CHANNEL_ID",
564+
"HOSTED_CUSTOM_CHANNEL_ID",
561565
"OWNED_SITE_DOMAIN_NAME",
562566
"OWNED_SITE_ID",
563567
"PAGE_URL",

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

Lines changed: 110 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,75 @@ _list = list
1313

1414
@typing.type_check_only
1515
class AdSensePlatformResource(googleapiclient.discovery.Resource):
16+
@typing.type_check_only
17+
class AccountsResource(googleapiclient.discovery.Resource):
18+
@typing.type_check_only
19+
class PlatformsResource(googleapiclient.discovery.Resource):
20+
@typing.type_check_only
21+
class ChildAccountsResource(googleapiclient.discovery.Resource):
22+
@typing.type_check_only
23+
class SitesResource(googleapiclient.discovery.Resource):
24+
def list(
25+
self,
26+
*,
27+
parent: str,
28+
pageSize: int = ...,
29+
pageToken: str = ...,
30+
**kwargs: typing.Any,
31+
) -> ListPlatformChildSitesResponseHttpRequest: ...
32+
def list_next(
33+
self,
34+
previous_request: ListPlatformChildSitesResponseHttpRequest,
35+
previous_response: ListPlatformChildSitesResponse,
36+
) -> ListPlatformChildSitesResponseHttpRequest | None: ...
37+
def patch(
38+
self,
39+
*,
40+
name: str,
41+
body: PlatformChildSite = ...,
42+
updateMask: str = ...,
43+
**kwargs: typing.Any,
44+
) -> PlatformChildSiteHttpRequest: ...
45+
46+
def sites(self) -> SitesResource: ...
47+
48+
@typing.type_check_only
49+
class GroupsResource(googleapiclient.discovery.Resource):
50+
def list(
51+
self,
52+
*,
53+
parent: str,
54+
pageSize: int = ...,
55+
pageToken: str = ...,
56+
**kwargs: typing.Any,
57+
) -> ListPlatformGroupsResponseHttpRequest: ...
58+
def list_next(
59+
self,
60+
previous_request: ListPlatformGroupsResponseHttpRequest,
61+
previous_response: ListPlatformGroupsResponse,
62+
) -> ListPlatformGroupsResponseHttpRequest | None: ...
63+
64+
def get(
65+
self, *, name: str, **kwargs: typing.Any
66+
) -> PlatformHttpRequest: ...
67+
def list(
68+
self,
69+
*,
70+
parent: str,
71+
pageSize: int = ...,
72+
pageToken: str = ...,
73+
**kwargs: typing.Any,
74+
) -> ListPlatformsResponseHttpRequest: ...
75+
def list_next(
76+
self,
77+
previous_request: ListPlatformsResponseHttpRequest,
78+
previous_response: ListPlatformsResponse,
79+
) -> ListPlatformsResponseHttpRequest | None: ...
80+
def childAccounts(self) -> ChildAccountsResource: ...
81+
def groups(self) -> GroupsResource: ...
82+
83+
def platforms(self) -> PlatformsResource: ...
84+
1685
@typing.type_check_only
1786
class PlatformsResource(googleapiclient.discovery.Resource):
1887
@typing.type_check_only
@@ -95,6 +164,7 @@ class AdSensePlatformResource(googleapiclient.discovery.Resource):
95164
]
96165
| None = None,
97166
) -> googleapiclient.http.BatchHttpRequest: ...
167+
def accounts(self) -> AccountsResource: ...
98168
def platforms(self) -> PlatformsResource: ...
99169

100170
@typing.type_check_only
@@ -137,6 +207,30 @@ class ListAccountsResponseHttpRequest(googleapiclient.http.HttpRequest):
137207
num_retries: int = 0,
138208
) -> ListAccountsResponse: ...
139209

210+
@typing.type_check_only
211+
class ListPlatformChildSitesResponseHttpRequest(googleapiclient.http.HttpRequest):
212+
def execute(
213+
self,
214+
http: httplib2.Http | googleapiclient.http.HttpMock | None = None,
215+
num_retries: int = 0,
216+
) -> ListPlatformChildSitesResponse: ...
217+
218+
@typing.type_check_only
219+
class ListPlatformGroupsResponseHttpRequest(googleapiclient.http.HttpRequest):
220+
def execute(
221+
self,
222+
http: httplib2.Http | googleapiclient.http.HttpMock | None = None,
223+
num_retries: int = 0,
224+
) -> ListPlatformGroupsResponse: ...
225+
226+
@typing.type_check_only
227+
class ListPlatformsResponseHttpRequest(googleapiclient.http.HttpRequest):
228+
def execute(
229+
self,
230+
http: httplib2.Http | googleapiclient.http.HttpMock | None = None,
231+
num_retries: int = 0,
232+
) -> ListPlatformsResponse: ...
233+
140234
@typing.type_check_only
141235
class ListSitesResponseHttpRequest(googleapiclient.http.HttpRequest):
142236
def execute(
@@ -153,6 +247,22 @@ class LookupAccountResponseHttpRequest(googleapiclient.http.HttpRequest):
153247
num_retries: int = 0,
154248
) -> LookupAccountResponse: ...
155249

250+
@typing.type_check_only
251+
class PlatformHttpRequest(googleapiclient.http.HttpRequest):
252+
def execute(
253+
self,
254+
http: httplib2.Http | googleapiclient.http.HttpMock | None = None,
255+
num_retries: int = 0,
256+
) -> Platform: ...
257+
258+
@typing.type_check_only
259+
class PlatformChildSiteHttpRequest(googleapiclient.http.HttpRequest):
260+
def execute(
261+
self,
262+
http: httplib2.Http | googleapiclient.http.HttpMock | None = None,
263+
num_retries: int = 0,
264+
) -> PlatformChildSite: ...
265+
156266
@typing.type_check_only
157267
class RequestSiteReviewResponseHttpRequest(googleapiclient.http.HttpRequest):
158268
def execute(

googleapiclient-stubs/_apis/adsenseplatform/v1alpha/schemas.pyi

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ class CloseAccountRequest(typing_extensions.TypedDict, total=False): ...
3535
@typing.type_check_only
3636
class CloseAccountResponse(typing_extensions.TypedDict, total=False): ...
3737

38+
@typing.type_check_only
39+
class Decimal(typing_extensions.TypedDict, total=False):
40+
value: str
41+
3842
@typing.type_check_only
3943
class Empty(typing_extensions.TypedDict, total=False): ...
4044

@@ -56,6 +60,21 @@ class ListAccountsResponse(typing_extensions.TypedDict, total=False):
5660
accounts: _list[Account]
5761
nextPageToken: str
5862

63+
@typing.type_check_only
64+
class ListPlatformChildSitesResponse(typing_extensions.TypedDict, total=False):
65+
nextPageToken: str
66+
platformChildSites: _list[PlatformChildSite]
67+
68+
@typing.type_check_only
69+
class ListPlatformGroupsResponse(typing_extensions.TypedDict, total=False):
70+
nextPageToken: str
71+
platformGroups: _list[PlatformGroup]
72+
73+
@typing.type_check_only
74+
class ListPlatformsResponse(typing_extensions.TypedDict, total=False):
75+
nextPageToken: str
76+
platforms: _list[Platform]
77+
5978
@typing.type_check_only
6079
class ListSitesResponse(typing_extensions.TypedDict, total=False):
6180
nextPageToken: str
@@ -65,6 +84,24 @@ class ListSitesResponse(typing_extensions.TypedDict, total=False):
6584
class LookupAccountResponse(typing_extensions.TypedDict, total=False):
6685
name: str
6786

87+
@typing.type_check_only
88+
class Platform(typing_extensions.TypedDict, total=False):
89+
defaultPlatformGroup: str
90+
description: str
91+
name: str
92+
93+
@typing.type_check_only
94+
class PlatformChildSite(typing_extensions.TypedDict, total=False):
95+
domain: str
96+
name: str
97+
platformGroup: str
98+
99+
@typing.type_check_only
100+
class PlatformGroup(typing_extensions.TypedDict, total=False):
101+
description: str
102+
name: str
103+
revshareMillipercent: Decimal
104+
68105
@typing.type_check_only
69106
class RequestSiteReviewResponse(typing_extensions.TypedDict, total=False): ...
70107

0 commit comments

Comments
 (0)