Contents

GoogleAccount

The payload that configures a Google account.

Declaration

object GoogleAccount

Properties

NameTypeDescription
AccountDescriptionstring

A user-visible description of the Google account, shown in the Mail and Settings apps.

AccountNamestring

The user’s full name for the Google account. This name appears in sent messages.

CommunicationServiceRulesGoogleAccount.CommunicationServiceRules

The communication service handler rules for this account.

Available: iOS 10+ | iPadOS 10+ | visionOS 1.1+

EmailAddress Requiredstring

The full Google email address for the account.

VPNUUIDstring

The VPNUUID of the per-app VPN the account uses for network communication.

Available: iOS 14+ | iPadOS 14+ | visionOS 1.1+

Discussion

Specify com.apple.google-oauth as the payload type.

You can install multiple Google payloads. Each sets up a Google email address and any other Google services the user enables after authentication.

The payload never contains credentials; the system prompts the user to enter credentials shortly after installation of the payload.

Profile availability

Device channel

iOS, visionOS

User channel

Shared iPad

Allow manual install

iOS, visionOS

Requires supervision

N/A

Requires user-approved MDM

N/A

Allowed in user enrollment

iOS, visionOS

Allow multiple payloads

iOS, Shared iPad, visionOS

Profile example

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>PayloadContent</key>
    <array>
        <dict>
            <key>AccountDescription</key>
            <string>Google Account</string>
            <key>AccountName</key>
            <string>Juan Chavez</string>
            <key>EmailAddress</key>
            <string>juanchavez4@example.com</string>
            <key>PayloadIdentifier</key>
            <string>com.example.mygoogleaccountpayload</string>
            <key>PayloadType</key>
            <string>com.apple.google-oauth</string>
            <key>PayloadUUID</key>
            <string>0fe8f4dc-8cf0-4da3-9d5b-f734efb98a59</string>
            <key>PayloadVersion</key>
            <integer>1</integer>
        </dict>
    </array>
    <key>PayloadDisplayName</key>
    <string>GoogleAccount</string>
    <key>PayloadIdentifier</key>
    <string>com.example.myprofile</string>
    <key>PayloadType</key>
    <string>Configuration</string>
    <key>PayloadUUID</key>
    <string>80141025-50d3-4a38-9387-ca610ff3a247</string>
    <key>PayloadVersion</key>
    <integer>1</integer>
</dict>
</plist>

Topics

Objects

See Also

Accounts