GraphqlOptions interface
Stay organized with collections
Save and categorize content based on your preferences.
Interface representing GraphQL options.
Signature:
export interface GraphqlOptions<Variables>
Properties
Property |
Type |
Description |
impersonate |
ImpersonateAuthenticated | ImpersonateUnauthenticated |
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. |
operationName |
string |
The name of the GraphQL operation. Required only if query contains multiple operations. |
variables |
Variables |
Values for GraphQL variables provided in this query or mutation. |
GraphqlOptions.impersonate
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.
Signature:
impersonate?: ImpersonateAuthenticated | ImpersonateUnauthenticated;
GraphqlOptions.operationName
The name of the GraphQL operation. Required only if query
contains multiple operations.
Signature:
operationName?: string;
GraphqlOptions.variables
Values for GraphQL variables provided in this query or mutation.
Signature:
variables?: Variables;
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-03-05 UTC.
[null,null,["Last updated 2025-03-05 UTC."],[],[],null,["Interface representing GraphQL options.\n\n**Signature:** \n\n export interface GraphqlOptions\u003cVariables\u003e \n\nProperties\n\nGraphqlOptions.impersonate\n\nIf 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\n**Signature:** \n\n impersonate?: ImpersonateAuthenticated | ImpersonateUnauthenticated;\n\nGraphqlOptions.operationName\n\nThe name of the GraphQL operation. Required only if `query` contains multiple operations.\n\n**Signature:** \n\n operationName?: string;\n\nGraphqlOptions.variables\n\nValues for GraphQL variables provided in this query or mutation.\n\n**Signature:** \n\n variables?: Variables;"]]