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

Principal

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

Reference to a user, group, or domain.

interface Principal {
groupResourceName?: string;
gsuitePrincipal?: GSuitePrincipal;
userResourceName?: string;
}

§Properties

§
groupResourceName?: string
[src]

This principal is a group identified using an external identity. The name field must specify the group resource name with this format: identitysources/{source_id}/groups/{ID}

§
gsuitePrincipal?: GSuitePrincipal
[src]

This principal is a Google Workspace user, group or domain.

§
userResourceName?: string
[src]

This principal is a user identified using an external identity. The name field must specify the user resource name with this format: identitysources/{source_id}/users/{ID}