I'm trying to create a CEL query for a Google dynamic group to match a custom attribute defined in customSchemas. It's defined that way (looking at it via gam) :
Schema: EmployeeType
schemaId: xxx
displayName: EmployeeType
Field: UserType
fieldId: _xxx
fieldType: STRING
displayName: UserType
multiValued: False
readAccessType: ADMINS_AND_SELF
indexed: True
which, when looking at the user's info, is mapped this way : customSchemas.EmployeeType.UserType
My issue is that I can't seem to build a query to return users for a given UserType value. I tried the following :
user.EmployeeType.exists(x x.UserType=='MyValue')
user.customSchemas.EmployeeType.exists(x x.UserType=='MyValue')
user.customSchemas.exists(x x.EmployeeType.UserType=='MyValue')
Nothing is working. I think dynamic groups might not handle custom attributes, but I could also just have the wrong query. Can someone shed some light on it ?