The best way to control Claude Code, Codex and more from any computer or phone

main
ts 20 lines 598 Bytes
Raw
1 import * as bigquery from "@distilled.cloud/gcp/bigquery_v2";
2 import * as Layer from "effect/Layer";
3 import { makeTableHttpBinding } from "./BindingHttp.ts";
4 import { ListTabledata } from "./ListTabledata.ts";
5
6 /**
7 * HTTP implementation of {@link ListTabledata}.
8 *
9 * @layer
10 * @provides GCP.BigQuery.ListTabledata
11 */
12 export const ListTabledataHttp = Layer.effect(
13 ListTabledata,
14 makeTableHttpBinding({
15 tag: "GCP.BigQuery.ListTabledata",
16 // bigquery.tables.getData
17 iam: { role: "roles/bigquery.dataViewer", on: "bigquery.table" },
18 operation: bigquery.listTabledata,
19 }),
20 );