LangChain Reference home pageLangChain ReferenceLangChain Reference
  • GitHub
  • Main Docs
Deep Agents
LangChain
LangGraph
Integrations
LangSmith
LangSmith
  • Client
  • Run Trees
  • Traceable
  • Evaluation
  • Schemas
  • Langchain
  • Jest
  • Vitest
  • Wrappers
  • Anonymizer
  • Jestlike
  • Vercel
  • Anthropic
  • Sandbox
⌘I

LangChain Assistant

Ask a question to get started

Enter to send•Shift+Enter new line

Menu

LangSmith
ClientRun TreesTraceableEvaluationSchemasLangchainJestVitestWrappersAnonymizerJestlikeVercelAnthropicSandbox
Language
Theme
JavaScriptlangsmithsandboxSandboxGcpAuthRule
Interface●Since v0.8

SandboxGcpAuthRule

GCP auth rule for sandbox proxy OAuth bearer injection.

Copy
interface SandboxGcpAuthRule

Properties

View source on GitHub
property
enabled: boolean
property
env_vars: Record<string, string>
property
gcp: __type
property
name: string
property
type: "gcp"

Whether the rule is enabled.

Plaintext environment variables set for every command in the sandbox while the rule is enabled, for tools that refuse to run unless a credential variable is present even though the proxy injects the real credential on the wire.

GCP service-account credential and OAuth scopes.

Rule name.

GCP auth rules use the sandbox proxy's built-in Google API host matcher.