1import * as translate from "@distilled.cloud/gcp/translate_v3";
2import * as Layer from "effect/Layer";
3import { makeGlossaryEntryHttpBinding } from "./BindingHttp.ts";
4import { GetGlossariesGlossaryEntry } from "./GetGlossariesGlossaryEntry.ts";
5
6/**
7 * HTTP implementation of {@link GetGlossariesGlossaryEntry}.
8 *
9 * @layer
10 * @provides GCP.Translate.GetGlossariesGlossaryEntry
11 */
12export const GetGlossariesGlossaryEntryHttp = Layer.effect(
13 GetGlossariesGlossaryEntry,
14 makeGlossaryEntryHttpBinding({
15 tag: "GCP.Translate.GetGlossariesGlossaryEntry",
16 operation: translate.getProjectsLocationsGlossariesGlossaryEntries,
17 iam: { role: "roles/cloudtranslate.viewer" },
18 }),
19);