Skip to content

Commit 0074308

Browse files
authored
Merge pull request #9 from henribru/v2.10.0-support
Add v2.10.0 support
2 parents bbb76e2 + 879e971 commit 0074308

File tree

31 files changed

+707
-27
lines changed

31 files changed

+707
-27
lines changed

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

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ class GoogleAnalyticsAdminV1alphaConversionEvent(
147147
typing_extensions.TypedDict, total=False
148148
):
149149
createTime: str
150+
custom: bool
150151
eventName: str
151152
isDeletable: bool
152153
name: str
@@ -228,13 +229,6 @@ class GoogleAnalyticsAdminV1alphaEnhancedMeasurementSettings(
228229
@typing.type_check_only
229230
class GoogleAnalyticsAdminV1alphaFirebaseLink(typing_extensions.TypedDict, total=False):
230231
createTime: str
231-
maximumUserAccess: typing_extensions.Literal[
232-
"MAXIMUM_USER_ACCESS_UNSPECIFIED",
233-
"NO_ACCESS",
234-
"READ_AND_ANALYZE",
235-
"EDITOR_WITHOUT_LINK_MANAGEMENT",
236-
"EDITOR_INCLUDING_LINK_MANAGEMENT",
237-
]
238232
name: str
239233
project: str
240234

@@ -252,8 +246,8 @@ class GoogleAnalyticsAdminV1alphaGoogleAdsLink(
252246
adsPersonalizationEnabled: bool
253247
canManageClients: bool
254248
createTime: str
249+
creatorEmailAddress: str
255250
customerId: str
256-
emailAddress: str
257251
name: str
258252
updateTime: str
259253

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ class Date(typing_extensions.TypedDict, total=False):
206206
class Device(typing_extensions.TypedDict, total=False):
207207
apiLevel: int
208208
applicationReports: typing.List[ApplicationReport]
209+
appliedPasswordPolicies: typing.List[PasswordRequirements]
209210
appliedPolicyName: str
210211
appliedPolicyVersion: str
211212
appliedState: typing_extensions.Literal[
@@ -546,6 +547,9 @@ class PasswordRequirements(typing_extensions.TypedDict, total=False):
546547
"ALPHABETIC",
547548
"ALPHANUMERIC",
548549
"COMPLEX",
550+
"COMPLEXITY_LOW",
551+
"COMPLEXITY_MEDIUM",
552+
"COMPLEXITY_HIGH",
549553
]
550554
passwordScope: typing_extensions.Literal[
551555
"SCOPE_UNSPECIFIED", "SCOPE_DEVICE", "SCOPE_PROFILE"

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -412,6 +412,7 @@ class GoogleCloudApigeeV1DeploymentConfig(typing_extensions.TypedDict, total=Fal
412412
location: str
413413
name: str
414414
proxyUid: str
415+
serviceAccount: str
415416
uid: str
416417

417418
@typing.type_check_only

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -570,6 +570,9 @@ class Volume(typing_extensions.TypedDict, total=False):
570570

571571
@typing.type_check_only
572572
class VpcAccessConnector(typing_extensions.TypedDict, total=False):
573+
egressSetting: typing_extensions.Literal[
574+
"EGRESS_SETTING_UNSPECIFIED", "ALL_TRAFFIC", "PRIVATE_IP_RANGES"
575+
]
573576
name: str
574577

575578
@typing.type_check_only

googleapiclient-stubs/_apis/appengine/v1beta/schemas.pyi

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -583,6 +583,9 @@ class Volume(typing_extensions.TypedDict, total=False):
583583

584584
@typing.type_check_only
585585
class VpcAccessConnector(typing_extensions.TypedDict, total=False):
586+
egressSetting: typing_extensions.Literal[
587+
"EGRESS_SETTING_UNSPECIFIED", "ALL_TRAFFIC", "PRIVATE_IP_RANGES"
588+
]
586589
name: str
587590

588591
@typing.type_check_only

googleapiclient-stubs/_apis/bigqueryreservation/v1beta1/resources.pyi

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,14 @@ class BigQueryReservationResource(googleapiclient.discovery.Resource):
9191
body: MoveAssignmentRequest = ...,
9292
**kwargs: typing.Any
9393
) -> AssignmentHttpRequest: ...
94+
def patch(
95+
self,
96+
*,
97+
name: str,
98+
body: Assignment = ...,
99+
updateMask: str = ...,
100+
**kwargs: typing.Any
101+
) -> AssignmentHttpRequest: ...
94102
def create(
95103
self,
96104
*,

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

Lines changed: 198 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,18 @@ class CardHeader(typing_extensions.TypedDict, total=False):
6565
subtitle: str
6666
title: str
6767

68+
@typing.type_check_only
69+
class CardWithId(typing_extensions.TypedDict, total=False):
70+
card: GoogleAppsCardV1Card
71+
cardId: str
72+
73+
@typing.type_check_only
74+
class Color(typing_extensions.TypedDict, total=False):
75+
alpha: float
76+
blue: float
77+
green: float
78+
red: float
79+
6880
@typing.type_check_only
6981
class DeprecatedEvent(typing_extensions.TypedDict, total=False):
7082
action: FormAction
@@ -91,6 +103,191 @@ class FormAction(typing_extensions.TypedDict, total=False):
91103
actionMethodName: str
92104
parameters: typing.List[ActionParameter]
93105

106+
@typing.type_check_only
107+
class GoogleAppsCardV1Action(typing_extensions.TypedDict, total=False):
108+
function: str
109+
loadIndicator: typing_extensions.Literal["SPINNER", "NONE"]
110+
parameters: typing.List[GoogleAppsCardV1ActionParameter]
111+
persistValues: bool
112+
113+
@typing.type_check_only
114+
class GoogleAppsCardV1ActionParameter(typing_extensions.TypedDict, total=False):
115+
key: str
116+
value: str
117+
118+
@typing.type_check_only
119+
class GoogleAppsCardV1BorderStyle(typing_extensions.TypedDict, total=False):
120+
cornerRadius: int
121+
strokeColor: Color
122+
type: typing_extensions.Literal["BORDER_TYPE_UNSPECIFIED", "NO_BORDER", "STROKE"]
123+
124+
@typing.type_check_only
125+
class GoogleAppsCardV1Button(typing_extensions.TypedDict, total=False):
126+
altText: str
127+
color: Color
128+
disabled: bool
129+
icon: GoogleAppsCardV1Icon
130+
onClick: GoogleAppsCardV1OnClick
131+
text: str
132+
133+
@typing.type_check_only
134+
class GoogleAppsCardV1ButtonList(typing_extensions.TypedDict, total=False):
135+
buttons: typing.List[GoogleAppsCardV1Button]
136+
137+
@typing.type_check_only
138+
class GoogleAppsCardV1Card(typing.Dict[str, typing.Any]): ...
139+
140+
@typing.type_check_only
141+
class GoogleAppsCardV1CardAction(typing.Dict[str, typing.Any]): ...
142+
143+
@typing.type_check_only
144+
class GoogleAppsCardV1CardFixedFooter(typing.Dict[str, typing.Any]): ...
145+
146+
@typing.type_check_only
147+
class GoogleAppsCardV1CardHeader(typing_extensions.TypedDict, total=False):
148+
imageAltText: str
149+
imageType: typing_extensions.Literal["SQUARE", "CIRCLE"]
150+
imageUrl: str
151+
subtitle: str
152+
title: str
153+
154+
@typing.type_check_only
155+
class GoogleAppsCardV1DateTimePicker(typing_extensions.TypedDict, total=False):
156+
label: str
157+
name: str
158+
onChangeAction: GoogleAppsCardV1Action
159+
timezoneOffsetDate: int
160+
type: typing_extensions.Literal["DATE_AND_TIME", "DATE_ONLY", "TIME_ONLY"]
161+
valueMsEpoch: str
162+
163+
@typing.type_check_only
164+
class GoogleAppsCardV1DecoratedText(typing_extensions.TypedDict, total=False):
165+
bottomLabel: str
166+
button: GoogleAppsCardV1Button
167+
endIcon: GoogleAppsCardV1Icon
168+
icon: GoogleAppsCardV1Icon
169+
onClick: GoogleAppsCardV1OnClick
170+
startIcon: GoogleAppsCardV1Icon
171+
switchControl: GoogleAppsCardV1SwitchControl
172+
text: str
173+
topLabel: str
174+
wrapText: bool
175+
176+
@typing.type_check_only
177+
class GoogleAppsCardV1Divider(typing_extensions.TypedDict, total=False): ...
178+
179+
@typing.type_check_only
180+
class GoogleAppsCardV1Grid(typing_extensions.TypedDict, total=False):
181+
borderStyle: GoogleAppsCardV1BorderStyle
182+
columnCount: int
183+
items: typing.List[GoogleAppsCardV1GridItem]
184+
onClick: GoogleAppsCardV1OnClick
185+
title: str
186+
187+
@typing.type_check_only
188+
class GoogleAppsCardV1GridItem(typing_extensions.TypedDict, total=False):
189+
id: str
190+
image: GoogleAppsCardV1ImageComponent
191+
layout: typing_extensions.Literal[
192+
"GRID_ITEM_LAYOUT_UNSPECIFIED", "TEXT_BELOW", "TEXT_ABOVE"
193+
]
194+
subtitle: str
195+
textAlignment: typing_extensions.Literal[
196+
"HORIZONTAL_ALIGNMENT_UNSPECIFIED", "START", "CENTER", "END"
197+
]
198+
title: str
199+
200+
@typing.type_check_only
201+
class GoogleAppsCardV1Icon(typing_extensions.TypedDict, total=False):
202+
altText: str
203+
iconUrl: str
204+
imageType: typing_extensions.Literal["SQUARE", "CIRCLE"]
205+
knownIcon: str
206+
207+
@typing.type_check_only
208+
class GoogleAppsCardV1Image(typing_extensions.TypedDict, total=False):
209+
altText: str
210+
imageUrl: str
211+
onClick: GoogleAppsCardV1OnClick
212+
213+
@typing.type_check_only
214+
class GoogleAppsCardV1ImageComponent(typing_extensions.TypedDict, total=False):
215+
altText: str
216+
borderStyle: GoogleAppsCardV1BorderStyle
217+
cropStyle: GoogleAppsCardV1ImageCropStyle
218+
imageUri: str
219+
220+
@typing.type_check_only
221+
class GoogleAppsCardV1ImageCropStyle(typing_extensions.TypedDict, total=False):
222+
aspectRatio: float
223+
type: typing_extensions.Literal[
224+
"IMAGE_CROP_TYPE_UNSPECIFIED",
225+
"SQUARE",
226+
"CIRCLE",
227+
"RECTANGLE_CUSTOM",
228+
"RECTANGLE_4_3",
229+
]
230+
231+
@typing.type_check_only
232+
class GoogleAppsCardV1OnClick(typing.Dict[str, typing.Any]): ...
233+
234+
@typing.type_check_only
235+
class GoogleAppsCardV1OpenLink(typing_extensions.TypedDict, total=False):
236+
onClose: typing_extensions.Literal["NOTHING", "RELOAD"]
237+
openAs: typing_extensions.Literal["FULL_SIZE", "OVERLAY"]
238+
url: str
239+
240+
@typing.type_check_only
241+
class GoogleAppsCardV1Section(typing.Dict[str, typing.Any]): ...
242+
243+
@typing.type_check_only
244+
class GoogleAppsCardV1SelectionInput(typing_extensions.TypedDict, total=False):
245+
items: typing.List[GoogleAppsCardV1SelectionItem]
246+
label: str
247+
name: str
248+
onChangeAction: GoogleAppsCardV1Action
249+
type: typing_extensions.Literal["CHECK_BOX", "RADIO_BUTTON", "SWITCH", "DROPDOWN"]
250+
251+
@typing.type_check_only
252+
class GoogleAppsCardV1SelectionItem(typing_extensions.TypedDict, total=False):
253+
selected: bool
254+
text: str
255+
value: str
256+
257+
@typing.type_check_only
258+
class GoogleAppsCardV1SuggestionItem(typing_extensions.TypedDict, total=False):
259+
text: str
260+
261+
@typing.type_check_only
262+
class GoogleAppsCardV1Suggestions(typing_extensions.TypedDict, total=False):
263+
items: typing.List[GoogleAppsCardV1SuggestionItem]
264+
265+
@typing.type_check_only
266+
class GoogleAppsCardV1SwitchControl(typing_extensions.TypedDict, total=False):
267+
controlType: typing_extensions.Literal["SWITCH", "CHECKBOX", "CHECK_BOX"]
268+
name: str
269+
onChangeAction: GoogleAppsCardV1Action
270+
selected: bool
271+
value: str
272+
273+
@typing.type_check_only
274+
class GoogleAppsCardV1TextInput(typing_extensions.TypedDict, total=False):
275+
autoCompleteAction: GoogleAppsCardV1Action
276+
hintText: str
277+
initialSuggestions: GoogleAppsCardV1Suggestions
278+
label: str
279+
name: str
280+
onChangeAction: GoogleAppsCardV1Action
281+
type: typing_extensions.Literal["SINGLE_LINE", "MULTIPLE_LINE"]
282+
value: str
283+
284+
@typing.type_check_only
285+
class GoogleAppsCardV1TextParagraph(typing_extensions.TypedDict, total=False):
286+
text: str
287+
288+
@typing.type_check_only
289+
class GoogleAppsCardV1Widget(typing.Dict[str, typing.Any]): ...
290+
94291
@typing.type_check_only
95292
class Image(typing_extensions.TypedDict, total=False):
96293
aspectRatio: float
@@ -203,21 +400,7 @@ class Membership(typing_extensions.TypedDict, total=False):
203400
]
204401

205402
@typing.type_check_only
206-
class Message(typing_extensions.TypedDict, total=False):
207-
actionResponse: ActionResponse
208-
annotations: typing.List[Annotation]
209-
argumentText: str
210-
attachment: typing.List[Attachment]
211-
cards: typing.List[Card]
212-
createTime: str
213-
fallbackText: str
214-
name: str
215-
previewText: str
216-
sender: User
217-
slashCommand: SlashCommand
218-
space: Space
219-
text: str
220-
thread: Thread
403+
class Message(typing.Dict[str, typing.Any]): ...
221404

222405
@typing.type_check_only
223406
class OnClick(typing_extensions.TypedDict, total=False):

googleapiclient-stubs/_apis/composer/v1beta1/resources.pyi

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,13 @@ class CloudComposerResource(googleapiclient.discovery.Resource):
1616
class LocationsResource(googleapiclient.discovery.Resource):
1717
@typing.type_check_only
1818
class EnvironmentsResource(googleapiclient.discovery.Resource):
19+
def checkUpgrade(
20+
self,
21+
*,
22+
environment: str,
23+
body: CheckUpgradeRequest = ...,
24+
**kwargs: typing.Any
25+
) -> OperationHttpRequest: ...
1926
def create(
2027
self, *, parent: str, body: Environment = ..., **kwargs: typing.Any
2128
) -> OperationHttpRequest: ...

googleapiclient-stubs/_apis/composer/v1beta1/schemas.pyi

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,18 @@ class AllowedIpRange(typing_extensions.TypedDict, total=False):
77
description: str
88
value: str
99

10+
@typing.type_check_only
11+
class CheckUpgradeRequest(typing_extensions.TypedDict, total=False):
12+
imageVersion: str
13+
14+
@typing.type_check_only
15+
class CheckUpgradeResponse(typing_extensions.TypedDict, total=False):
16+
buildLogUri: str
17+
containsPypiModulesConflict: typing_extensions.Literal[
18+
"CONFLICT_RESULT_UNSPECIFIED", "CONFLICT", "NO_CONFLICT"
19+
]
20+
pypiConflictBuildLogExtract: str
21+
1022
@typing.type_check_only
1123
class DatabaseConfig(typing_extensions.TypedDict, total=False):
1224
machineType: str

googleapiclient-stubs/_apis/containeranalysis/v1alpha1/resources.pyi

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ class ContainerAnalysisResource(googleapiclient.discovery.Resource):
122122
"DISCOVERY",
123123
"ATTESTATION_AUTHORITY",
124124
"UPGRADE",
125+
"COMPLIANCE",
125126
] = ...,
126127
name: str = ...,
127128
pageSize: int = ...,

0 commit comments

Comments
 (0)