ConditionDict¶
Union Type¶
ConditionDict
module-attribute
¶
ConditionDict = Union[ConditionMatchPrincipalsDict | ConditionMatchPathsDict | ConditionMatchModelsDict]
Dictionary form of Condition, setting exactly one variant.
Union Member Types¶
ConditionMatchPrincipalsDict
¶
Bases: TypedDict
Attributes¶
match_principals
instance-attribute
¶
match_principals: MatchPrincipals | MatchPrincipalsDict
A condition that matches on the identity of the caller making the request.
ConditionMatchPathsDict
¶
Bases: TypedDict
Attributes¶
match_paths
instance-attribute
¶
match_paths: MatchPaths | MatchPathsDict
A condition that matches on the request path.
ConditionMatchModelsDict
¶
Bases: TypedDict
Attributes¶
match_models
instance-attribute
¶
match_models: MatchModels | MatchModelsDict
A condition that matches on the model requested in an inference request.