GCP.AuthorizedBuyersMarketplace reference
BuyersClientsUser
Section titled “BuyersClientsUser”Source:
packages/gcp/src/AuthorizedBuyersMarketplace/BuyersClientsUser.ts
An Authorized Buyers Marketplace client user
(buyers/{buyer}/clients/{client}/users/{user}).
Client users have no labels or description — Alchemy stamps ownership
into the email plus-tag so list / nuke can find them. Parent and
email are identity; changing either replaces the user. Create sends an
invitation (INVITED). Activate and deactivate only apply after the
invitee accepts.
BuyersClientsUser: Creating a Client User
Section titled “BuyersClientsUser: Creating a Client User”Generated email
const user = yield* GCP.AuthorizedBuyersMarketplace.BuyersClientsUser( "Analyst", { parent: "buyers/123/clients/456" },);Invite a known mailbox
const user = yield* GCP.AuthorizedBuyersMarketplace.BuyersClientsUser( "Analyst", { parent: "buyers/123/clients/456", email: "analyst@example.com", },);BuyersClientsUser: Updating a Client User
Section titled “BuyersClientsUser: Updating a Client User”// Same logical id, changed state: the engine keeps the same user.const user = yield* GCP.AuthorizedBuyersMarketplace.BuyersClientsUser( "Analyst", { parent: "buyers/123/clients/456", email: "analyst@example.com", state: "INACTIVE", },);BuyersClientsUser: Looking up an existing buyers clients user
Section titled “BuyersClientsUser: Looking up an existing buyers clients user”BuyersClientsUser.lookup references a buyers clients user Alchemy
doesn’t manage (created in the console or by another stack). It is read
during plan/deploy, never created, updated or deleted, and binds like a
declared buyers clients user.
const buyersClientsUser = GCP.AuthorizedBuyersMarketplace.BuyersClientsUser.lookup({ parent: "my-parent",});