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

Invitation

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

Represents a pending invitation.

interface Invitation {
name?: string;
readonly role?:
| "ADMIN_ROLE_UNSPECIFIED"
| "PRIMARY_OWNER"
| "OWNER"
| "MANAGER"
| "SITE_MANAGER";
targetAccount?: Account;
targetLocation?: TargetLocation;
readonly targetType?: "TARGET_TYPE_UNSPECIFIED" | "ACCOUNTS_ONLY" | "LOCATIONS_ONLY";
}

§Properties

§
name?: string
[src]

Required. The resource name for the invitation. accounts/{account_id}/invitations/{invitation_id}.

§
readonly role?: "ADMIN_ROLE_UNSPECIFIED" | "PRIMARY_OWNER" | "OWNER" | "MANAGER" | "SITE_MANAGER"
[src]

Output only. The invited role on the account.

§
targetAccount?: Account
[src]

The sparsely populated account this invitation is for.

§
targetLocation?: TargetLocation
[src]

The target location this invitation is for.

§
readonly targetType?: "TARGET_TYPE_UNSPECIFIED" | "ACCOUNTS_ONLY" | "LOCATIONS_ONLY"
[src]

Output only. Specifies which target types should appear in the response.