https://developers.google.com/admin-sdk/directory/v1/guides/search-users states that when "a user schema named EmploymentData
with the fields projects
" exists, you can set query
to EmploymentData.projects:'blah'
, and it will search for all users having projects
field on EmploymentData
schema set to "blah"
.
It all works for me when schema name is single word, but now I have schema called my-schema
. Dashes and underscores are allowed by API in schema names. As in googleapis
TypeScript library (and guess in all other libraries) this field is just a string, I was not able to find some quotes combination to make it work. "my-schema.fieldName"
, "my-schema".fieldName
, etc.
How can I search by schema field where schema name contains dashes?