@@ -22,18 +22,37 @@ class AccessPolicy(typing_extensions.TypedDict, total=False):
2222 etag : str
2323 name : str
2424 parent : str
25+ scopes : _list [str ]
2526 title : str
2627
2728@typing .type_check_only
2829class ApiOperation (typing_extensions .TypedDict , total = False ):
2930 methodSelectors : _list [MethodSelector ]
3031 serviceName : str
3132
33+ @typing .type_check_only
34+ class AuditConfig (typing_extensions .TypedDict , total = False ):
35+ auditLogConfigs : _list [AuditLogConfig ]
36+ service : str
37+
38+ @typing .type_check_only
39+ class AuditLogConfig (typing_extensions .TypedDict , total = False ):
40+ exemptedMembers : _list [str ]
41+ logType : typing_extensions .Literal [
42+ "LOG_TYPE_UNSPECIFIED" , "ADMIN_READ" , "DATA_WRITE" , "DATA_READ"
43+ ]
44+
3245@typing .type_check_only
3346class BasicLevel (typing_extensions .TypedDict , total = False ):
3447 combiningFunction : typing_extensions .Literal ["AND" , "OR" ]
3548 conditions : _list [Condition ]
3649
50+ @typing .type_check_only
51+ class Binding (typing_extensions .TypedDict , total = False ):
52+ condition : Expr
53+ members : _list [str ]
54+ role : str
55+
3756@typing .type_check_only
3857class CancelOperationRequest (typing_extensions .TypedDict , total = False ): ...
3958
@@ -108,6 +127,14 @@ class GcpUserAccessBindingOperationMetadata(
108127 typing_extensions .TypedDict , total = False
109128): ...
110129
130+ @typing .type_check_only
131+ class GetIamPolicyRequest (typing_extensions .TypedDict , total = False ):
132+ options : GetPolicyOptions
133+
134+ @typing .type_check_only
135+ class GetPolicyOptions (typing_extensions .TypedDict , total = False ):
136+ requestedPolicyVersion : int
137+
111138@typing .type_check_only
112139class IngressFrom (typing_extensions .TypedDict , total = False ):
113140 identities : _list [str ]
@@ -186,6 +213,13 @@ class OsConstraint(typing_extensions.TypedDict, total=False):
186213 ]
187214 requireVerifiedChromeOs : bool
188215
216+ @typing .type_check_only
217+ class Policy (typing_extensions .TypedDict , total = False ):
218+ auditConfigs : _list [AuditConfig ]
219+ bindings : _list [Binding ]
220+ etag : str
221+ version : int
222+
189223@typing .type_check_only
190224class ReplaceAccessLevelsRequest (typing_extensions .TypedDict , total = False ):
191225 accessLevels : _list [AccessLevel ]
@@ -225,12 +259,25 @@ class ServicePerimeterConfig(typing_extensions.TypedDict, total=False):
225259 restrictedServices : _list [str ]
226260 vpcAccessibleServices : VpcAccessibleServices
227261
262+ @typing .type_check_only
263+ class SetIamPolicyRequest (typing_extensions .TypedDict , total = False ):
264+ policy : Policy
265+ updateMask : str
266+
228267@typing .type_check_only
229268class Status (typing_extensions .TypedDict , total = False ):
230269 code : int
231270 details : _list [dict [str , typing .Any ]]
232271 message : str
233272
273+ @typing .type_check_only
274+ class TestIamPermissionsRequest (typing_extensions .TypedDict , total = False ):
275+ permissions : _list [str ]
276+
277+ @typing .type_check_only
278+ class TestIamPermissionsResponse (typing_extensions .TypedDict , total = False ):
279+ permissions : _list [str ]
280+
234281@typing .type_check_only
235282class VpcAccessibleServices (typing_extensions .TypedDict , total = False ):
236283 allowedServices : _list [str ]
0 commit comments