I thought I had applied all of the necessary scopes / requested the necessary authorizations with the following:
"https://www.googleapis.com/auth/admin.directory.customer.readonly",
"https://www.googleapis.com/auth/admin.directory.domain.readonly",
"https://www.googleapis.com/auth/admin.directory.user.readonly"
I am able to query the Google Directory for a user list successfully, but as soon as I start passing show_deleted: "true" I get the following:
Caught error forbidden: Not Authorized to access this resource/api
Error - #<Google::Apis::ClientError: forbidden: Not Authorized to access this resource/api>
Google::Apis::ClientError: forbidden: Not Authorized to access this resource/api
I cannot find anything in the API documentation that suggests I needed to request a different authorization type to get deleted users.