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

Client

import type { Client } from "https://googleapis.deno.dev/v1/authorizedbuyersmarketplace:v1.ts";

A client represents an agency, a brand, or an advertiser customer of the buyer. Based on the client's role, its client users will have varying levels of restricted access to the Marketplace and certain other sections of the Authorized Buyers UI.

interface Client {
displayName?: string;
readonly name?: string;
partnerClientId?: string;
role?:
| "CLIENT_ROLE_UNSPECIFIED"
| "CLIENT_DEAL_VIEWER"
| "CLIENT_DEAL_NEGOTIATOR"
| "CLIENT_DEAL_APPROVER";
sellerVisible?: boolean;
readonly state?: "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE";
}

§Properties

§
displayName?: string
[src]

Required. Display name shown to publishers. Must be unique for clients without partnerClientId specified. Maximum length of 255 characters is allowed.

§
readonly name?: string
[src]

Output only. The resource name of the client. Format: buyers/{accountId}/clients/{clientAccountId}

§
partnerClientId?: string
[src]

Arbitrary unique identifier provided by the buyer. This field can be used to associate a client with an identifier in the namespace of the buyer, lookup clients by that identifier and verify whether an Authorized Buyers account of the client already exists. If present, must be unique across all the clients.

§
role?: "CLIENT_ROLE_UNSPECIFIED" | "CLIENT_DEAL_VIEWER" | "CLIENT_DEAL_NEGOTIATOR" | "CLIENT_DEAL_APPROVER"
[src]

Required. The role assigned to the client. Each role implies a set of permissions granted to the client.

§
sellerVisible?: boolean
[src]

Whether the client will be visible to sellers.

§
readonly state?: "STATE_UNSPECIFIED" | "ACTIVE" | "INACTIVE"
[src]

Output only. The state of the client.