Optional. If set, impersonate a request with given Firebase Auth context and evaluate the auth policies on the operation. If omitted, bypass any defined auth policies.
Impersonation
Impersonation configures the Firebase Auth context to impersonate.
JSON representation
{// Union field kind can be only one of the following:"unauthenticated": boolean,"authClaims": {object}// End of list of possible types for union field kind.}
Fields
Union field kind.
kind can be only one of the following:
unauthenticated
boolean
Evaluate the auth policy as an unauthenticated request. Can only be set to true.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-20 UTC."],[],[],null,["# GraphqlRequestExtensions contains additional information of `GraphqlRequest`.\n\n| JSON representation |\n|-------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"impersonate\": { object (/docs/reference/data-connect/rest/v1beta/GraphqlRequestExtensions#Impersonation) } } ``` |\n\n| Fields ||\n|---------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `impersonate` | `object (`[Impersonation](/docs/reference/data-connect/rest/v1beta/GraphqlRequestExtensions#Impersonation)`)` Optional. If set, impersonate a request with given Firebase Auth context and evaluate the auth policies on the operation. If omitted, bypass any defined auth policies. |\n\nImpersonation\n-------------\n\nImpersonation configures the Firebase Auth context to impersonate.\n\n| JSON representation |\n|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { // Union field `kind` can be only one of the following: \"unauthenticated\": boolean, \"authClaims\": { object } // End of list of possible types for union field `kind`. } ``` |\n\n| Fields ||\n|-------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| Union field `kind`. `kind` can be only one of the following: ||\n| `unauthenticated` | `boolean` Evaluate the auth policy as an unauthenticated request. Can only be set to true. |\n| `authClaims` | `object (`[Struct](https://protobuf.dev/reference/protobuf/google.protobuf/#struct)` format)` Evaluate the auth policy with a customized JWT auth token. Should follow the Firebase Auth token format. \u003chttps://firebase.google.com/docs/rules/rules-and-auth\u003e For example: a verified user may have authClaims of {\"sub\": , \"email_verified\": true} |"]]