Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

ClientUser

import type { ClientUser } from "https://googleapis.deno.dev/v1/adexchangebuyer2:v2beta1.ts";

A client user is created under a client buyer and has restricted access to the Marketplace and certain other sections of the Authorized Buyers UI based on the role granted to the associated client buyer. The only way a new client user can be created is through accepting an email invitation (see the accounts.clients.invitations.create method). All fields are required unless otherwise specified.

interface ClientUser {
clientAccountId?: bigint;
email?: string;
status?:
| "USER_STATUS_UNSPECIFIED"
| "PENDING"
| "ACTIVE"
| "DISABLED";
userId?: bigint;
}

§Properties

§
clientAccountId?: bigint
[src]

Numerical account ID of the client buyer with which the user is associated; the buyer must be a client of the current sponsor buyer. The value of this field is ignored in an update operation.

§
email?: string
[src]

User's email address. The value of this field is ignored in an update operation.

§
status?: "USER_STATUS_UNSPECIFIED" | "PENDING" | "ACTIVE" | "DISABLED"
[src]

The status of the client user.

§
userId?: bigint
[src]

The unique numerical ID of the client user that has accepted an invitation. The value of this field is ignored in an update operation.