# Google.Apis

**Kind:** Service

**Source:** `Pams/Logic/Pams.Storage/Pams.Storage.csproj` (line 1)

**Part of:** [Pams](subsystem-pams)

NuGet package dependency

`Google.Apis` is a NuGet package dependency declared by `Pams.Storage`. It supplies Google API client library types that storage code can reference when interacting with Google services.

## Diagram

```mermaid
flowchart LR
  Storage["Pams.Storage"] --> Project["Pams.Storage.csproj"]
  Project --> Package["Google.Apis NuGet package"]
  Package --> GoogleServices["Google API client libraries"]
```

## Usage

```ts
import { execFileSync } from "node:child_process";

const projectFile = "Pams/Logic/Pams.Storage/Pams.Storage.csproj";

const packages = execFileSync(
  "dotnet",
  ["list", projectFile, "package"],
  { encoding: "utf8" },
);

if (!packages.includes("Google.Apis")) {
  throw new Error("Google.Apis is not declared for Pams.Storage.");
}

console.log("Google.Apis dependency is available to Pams.Storage.");
```

## AI Coding Instructions

- Keep `Google.Apis` dependency changes in `Pams.Storage.csproj`.
- Confirm package changes with `dotnet list Pams/Logic/Pams.Storage/Pams.Storage.csproj package`.
- Use Google API client types from the .NET storage project, not directly from TypeScript code.
- Check existing package declaration format before changing package metadata.

## Used by

1 reference from 1 file. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Injected or called by (1)

- `Pams.Storage` — `Pams/Logic/Pams.Storage/Pams.Storage.csproj`:1
