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.
§
targetLocation?: TargetLocation
[src]The target location this invitation is for.