DriveRecipient resource

The DriveRecipient resource represents a person, group, or other recipient to share with using the invite action.

JSON representation

{
  "email": "string",
  "alias": "string",
  "objectId": "string",
}

Properties

The recipients resource has these properties.

Property name Type Description
email String The email address for the recipient, if the recipient has an associated email address.
alias String The alias of the domain object, for cases where an email address is unavailable (e.g. security groups).
objectId String The unique identifier for the recipient in the directory.

Remarks

When using invite to add permissions, the DriveRecipient can specify email, alias, or objectId. Only one of these values is required.