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

AssignedUserRole

import type { AssignedUserRole } from "https://googleapis.deno.dev/v1/displayvideo:v3.ts";

A single assigned user role, which defines a user's authorized interaction with a specified partner or advertiser.

interface AssignedUserRole {
advertiserId?: bigint;
readonly assignedUserRoleId?: string;
partnerId?: bigint;
userRole?:
| "USER_ROLE_UNSPECIFIED"
| "ADMIN"
| "ADMIN_PARTNER_CLIENT"
| "STANDARD"
| "STANDARD_PLANNER"
| "STANDARD_PLANNER_LIMITED"
| "STANDARD_PARTNER_CLIENT"
| "READ_ONLY"
| "REPORTING_ONLY"
| "LIMITED_REPORTING_ONLY"
| "CREATIVE"
| "CREATIVE_ADMIN";
}

§Properties

§
advertiserId?: bigint
[src]

The ID of the advertiser that the assigend user role applies to.

§
readonly assignedUserRoleId?: string
[src]

Output only. The ID of the assigned user role.

§
partnerId?: bigint
[src]

The ID of the partner that the assigned user role applies to.

§
userRole?: "USER_ROLE_UNSPECIFIED" | "ADMIN" | "ADMIN_PARTNER_CLIENT" | "STANDARD" | "STANDARD_PLANNER" | "STANDARD_PLANNER_LIMITED" | "STANDARD_PARTNER_CLIENT" | "READ_ONLY" | "REPORTING_ONLY" | "LIMITED_REPORTING_ONLY" | "CREATIVE" | "CREATIVE_ADMIN"
[src]

Required. The user role to assign to a user for the entity.