Skip to content

Commit

Permalink
Add v2.159.0 support (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
henribru authored Jan 24, 2025
1 parent e116fd3 commit e2b9dff
Show file tree
Hide file tree
Showing 349 changed files with 35,368 additions and 2,834 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,7 @@ class AccessContextManagerResource(googleapiclient.discovery.Resource):
*,
name: str,
body: GcpUserAccessBinding = ...,
append: bool = ...,
updateMask: str = ...,
**kwargs: typing.Any,
) -> OperationHttpRequest: ...
Expand Down
28 changes: 16 additions & 12 deletions googleapiclient-stubs/_apis/accesscontextmanager/v1/schemas.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class AccessScope(typing_extensions.TypedDict, total=False):
@typing.type_check_only
class AccessSettings(typing_extensions.TypedDict, total=False):
accessLevels: _list[str]
reauthSettings: ReauthSettings
sessionSettings: SessionSettings

@typing.type_check_only
class ApiOperation(typing_extensions.TypedDict, total=False):
Expand Down Expand Up @@ -150,10 +150,12 @@ class EgressFrom(typing_extensions.TypedDict, total=False):
class EgressPolicy(typing_extensions.TypedDict, total=False):
egressFrom: EgressFrom
egressTo: EgressTo
title: str

@typing.type_check_only
class EgressSource(typing_extensions.TypedDict, total=False):
accessLevel: str
resource: str

@typing.type_check_only
class EgressTo(typing_extensions.TypedDict, total=False):
Expand All @@ -177,9 +179,9 @@ class GcpUserAccessBinding(typing_extensions.TypedDict, total=False):
dryRunAccessLevels: _list[str]
groupKey: str
name: str
reauthSettings: ReauthSettings
restrictedClientApplications: _list[Application]
scopedAccessSettings: _list[ScopedAccessSettings]
sessionSettings: SessionSettings

@typing.type_check_only
class GcpUserAccessBindingOperationMetadata(
Expand Down Expand Up @@ -209,6 +211,7 @@ class IngressFrom(typing_extensions.TypedDict, total=False):
class IngressPolicy(typing_extensions.TypedDict, total=False):
ingressFrom: IngressFrom
ingressTo: IngressTo
title: str

@typing.type_check_only
class IngressSource(typing_extensions.TypedDict, total=False):
Expand Down Expand Up @@ -289,16 +292,6 @@ class Policy(typing_extensions.TypedDict, total=False):
etag: str
version: int

@typing.type_check_only
class ReauthSettings(typing_extensions.TypedDict, total=False):
maxInactivity: str
reauthMethod: typing_extensions.Literal[
"REAUTH_METHOD_UNSPECIFIED", "LOGIN", "SECURITY_KEY", "PASSWORD"
]
sessionLength: str
sessionLengthEnabled: bool
useOidcMaxAge: bool

@typing.type_check_only
class ReplaceAccessLevelsRequest(typing_extensions.TypedDict, total=False):
accessLevels: _list[AccessLevel]
Expand Down Expand Up @@ -326,6 +319,7 @@ class ScopedAccessSettings(typing_extensions.TypedDict, total=False):
@typing.type_check_only
class ServicePerimeter(typing_extensions.TypedDict, total=False):
description: str
etag: str
name: str
perimeterType: typing_extensions.Literal[
"PERIMETER_TYPE_REGULAR", "PERIMETER_TYPE_BRIDGE"
Expand All @@ -344,6 +338,16 @@ class ServicePerimeterConfig(typing_extensions.TypedDict, total=False):
restrictedServices: _list[str]
vpcAccessibleServices: VpcAccessibleServices

@typing.type_check_only
class SessionSettings(typing_extensions.TypedDict, total=False):
maxInactivity: str
sessionLength: str
sessionLengthEnabled: bool
sessionReauthMethod: typing_extensions.Literal[
"SESSION_REAUTH_METHOD_UNSPECIFIED", "LOGIN", "SECURITY_KEY", "PASSWORD"
]
useOidcMaxAge: bool

@typing.type_check_only
class SetIamPolicyRequest(typing_extensions.TypedDict, total=False):
policy: Policy
Expand Down
7 changes: 7 additions & 0 deletions googleapiclient-stubs/_apis/admin/directory_v1/schemas.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -144,6 +144,11 @@ class Buildings(typing_extensions.TypedDict, total=False):
kind: str
nextPageToken: str

@typing.type_check_only
class ByteUsage(typing_extensions.TypedDict, total=False):
capacityBytes: str
usedBytes: str

@typing.type_check_only
class CalendarResource(typing_extensions.TypedDict, total=False):
buildingId: str
Expand Down Expand Up @@ -229,6 +234,7 @@ class ChromeOsDevice(typing_extensions.TypedDict, total=False):
"education",
"kioskUpgrade",
]
diskSpaceUsage: ByteUsage
diskVolumeReports: _list[dict[str, typing.Any]]
dockMacAddress: str
etag: str
Expand Down Expand Up @@ -696,6 +702,7 @@ class Role(typing_extensions.TypedDict, total=False):
class RoleAssignment(typing_extensions.TypedDict, total=False):
assignedTo: str
assigneeType: typing_extensions.Literal["user", "group"]
condition: str
etag: str
kind: str
orgUnitId: str
Expand Down
4 changes: 4 additions & 0 deletions googleapiclient-stubs/_apis/adsense/v2/resources.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,7 @@ class AdsenseResource(googleapiclient.discovery.Resource):
"AD_UNIT_SIZE_CODE",
"CUSTOM_CHANNEL_NAME",
"CUSTOM_CHANNEL_ID",
"HOSTED_CUSTOM_CHANNEL_ID",
"OWNED_SITE_DOMAIN_NAME",
"OWNED_SITE_ID",
"PAGE_URL",
Expand Down Expand Up @@ -344,6 +345,7 @@ class AdsenseResource(googleapiclient.discovery.Resource):
"AD_UNIT_SIZE_CODE",
"CUSTOM_CHANNEL_NAME",
"CUSTOM_CHANNEL_ID",
"HOSTED_CUSTOM_CHANNEL_ID",
"OWNED_SITE_DOMAIN_NAME",
"OWNED_SITE_ID",
"PAGE_URL",
Expand Down Expand Up @@ -507,6 +509,7 @@ class AdsenseResource(googleapiclient.discovery.Resource):
"AD_UNIT_SIZE_CODE",
"CUSTOM_CHANNEL_NAME",
"CUSTOM_CHANNEL_ID",
"HOSTED_CUSTOM_CHANNEL_ID",
"OWNED_SITE_DOMAIN_NAME",
"OWNED_SITE_ID",
"PAGE_URL",
Expand Down Expand Up @@ -558,6 +561,7 @@ class AdsenseResource(googleapiclient.discovery.Resource):
"AD_UNIT_SIZE_CODE",
"CUSTOM_CHANNEL_NAME",
"CUSTOM_CHANNEL_ID",
"HOSTED_CUSTOM_CHANNEL_ID",
"OWNED_SITE_DOMAIN_NAME",
"OWNED_SITE_ID",
"PAGE_URL",
Expand Down
110 changes: 110 additions & 0 deletions googleapiclient-stubs/_apis/adsenseplatform/v1alpha/resources.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,75 @@ _list = list

@typing.type_check_only
class AdSensePlatformResource(googleapiclient.discovery.Resource):
@typing.type_check_only
class AccountsResource(googleapiclient.discovery.Resource):
@typing.type_check_only
class PlatformsResource(googleapiclient.discovery.Resource):
@typing.type_check_only
class ChildAccountsResource(googleapiclient.discovery.Resource):
@typing.type_check_only
class SitesResource(googleapiclient.discovery.Resource):
def list(
self,
*,
parent: str,
pageSize: int = ...,
pageToken: str = ...,
**kwargs: typing.Any,
) -> ListPlatformChildSitesResponseHttpRequest: ...
def list_next(
self,
previous_request: ListPlatformChildSitesResponseHttpRequest,
previous_response: ListPlatformChildSitesResponse,
) -> ListPlatformChildSitesResponseHttpRequest | None: ...
def patch(
self,
*,
name: str,
body: PlatformChildSite = ...,
updateMask: str = ...,
**kwargs: typing.Any,
) -> PlatformChildSiteHttpRequest: ...

def sites(self) -> SitesResource: ...

@typing.type_check_only
class GroupsResource(googleapiclient.discovery.Resource):
def list(
self,
*,
parent: str,
pageSize: int = ...,
pageToken: str = ...,
**kwargs: typing.Any,
) -> ListPlatformGroupsResponseHttpRequest: ...
def list_next(
self,
previous_request: ListPlatformGroupsResponseHttpRequest,
previous_response: ListPlatformGroupsResponse,
) -> ListPlatformGroupsResponseHttpRequest | None: ...

def get(
self, *, name: str, **kwargs: typing.Any
) -> PlatformHttpRequest: ...
def list(
self,
*,
parent: str,
pageSize: int = ...,
pageToken: str = ...,
**kwargs: typing.Any,
) -> ListPlatformsResponseHttpRequest: ...
def list_next(
self,
previous_request: ListPlatformsResponseHttpRequest,
previous_response: ListPlatformsResponse,
) -> ListPlatformsResponseHttpRequest | None: ...
def childAccounts(self) -> ChildAccountsResource: ...
def groups(self) -> GroupsResource: ...

def platforms(self) -> PlatformsResource: ...

@typing.type_check_only
class PlatformsResource(googleapiclient.discovery.Resource):
@typing.type_check_only
Expand Down Expand Up @@ -95,6 +164,7 @@ class AdSensePlatformResource(googleapiclient.discovery.Resource):
]
| None = None,
) -> googleapiclient.http.BatchHttpRequest: ...
def accounts(self) -> AccountsResource: ...
def platforms(self) -> PlatformsResource: ...

@typing.type_check_only
Expand Down Expand Up @@ -137,6 +207,30 @@ class ListAccountsResponseHttpRequest(googleapiclient.http.HttpRequest):
num_retries: int = 0,
) -> ListAccountsResponse: ...

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

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

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

@typing.type_check_only
class ListSitesResponseHttpRequest(googleapiclient.http.HttpRequest):
def execute(
Expand All @@ -153,6 +247,22 @@ class LookupAccountResponseHttpRequest(googleapiclient.http.HttpRequest):
num_retries: int = 0,
) -> LookupAccountResponse: ...

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

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

@typing.type_check_only
class RequestSiteReviewResponseHttpRequest(googleapiclient.http.HttpRequest):
def execute(
Expand Down
37 changes: 37 additions & 0 deletions googleapiclient-stubs/_apis/adsenseplatform/v1alpha/schemas.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ class CloseAccountRequest(typing_extensions.TypedDict, total=False): ...
@typing.type_check_only
class CloseAccountResponse(typing_extensions.TypedDict, total=False): ...

@typing.type_check_only
class Decimal(typing_extensions.TypedDict, total=False):
value: str

@typing.type_check_only
class Empty(typing_extensions.TypedDict, total=False): ...

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

@typing.type_check_only
class ListPlatformChildSitesResponse(typing_extensions.TypedDict, total=False):
nextPageToken: str
platformChildSites: _list[PlatformChildSite]

@typing.type_check_only
class ListPlatformGroupsResponse(typing_extensions.TypedDict, total=False):
nextPageToken: str
platformGroups: _list[PlatformGroup]

@typing.type_check_only
class ListPlatformsResponse(typing_extensions.TypedDict, total=False):
nextPageToken: str
platforms: _list[Platform]

@typing.type_check_only
class ListSitesResponse(typing_extensions.TypedDict, total=False):
nextPageToken: str
Expand All @@ -65,6 +84,24 @@ class ListSitesResponse(typing_extensions.TypedDict, total=False):
class LookupAccountResponse(typing_extensions.TypedDict, total=False):
name: str

@typing.type_check_only
class Platform(typing_extensions.TypedDict, total=False):
defaultPlatformGroup: str
description: str
name: str

@typing.type_check_only
class PlatformChildSite(typing_extensions.TypedDict, total=False):
domain: str
name: str
platformGroup: str

@typing.type_check_only
class PlatformGroup(typing_extensions.TypedDict, total=False):
description: str
name: str
revshareMillipercent: Decimal

@typing.type_check_only
class RequestSiteReviewResponse(typing_extensions.TypedDict, total=False): ...

Expand Down
Loading

0 comments on commit e2b9dff

Please sign in to comment.