Contents

AccountGoogle

The declaration to configure a Google account.

Declaration

object AccountGoogle

Properties

NameTypeDescription
UserIdentityAssetReference Requiredstring

The identifier of an asset declaration that contains the user identity for this Google account. Set the corresponding asset type to UserIdentity and ensure that it contains an EmailAddress key that specifies the full Google email address for the account.

VisibleNamestring

The name that apps show to the user for this Google account. If not present, the system generates a suitable default.

Discussion

Specify com.apple.configuration.account.google as the declaration type.

Configuration availability

Allowed in supervised enrollment

iOS, macOS, Shared iPad, visionOS

Allowed in device enrollment

iOS, Shared iPad, visionOS

Allowed in user enrollment

iOS, macOS, Shared iPad, visionOS

Allowed in local enrollment

iOS, macOS, Shared iPad, visionOS

Allowed in system scope

iOS, visionOS

Allowed in user scope

macOS, Shared iPad

Configuration example

{
    "Type": "com.apple.configuration.account.google",
    "Identifier": "EB13EE2B-5D63-4EBA-810F-5B81D07F5017",
    "ServerToken": "E180CA9A-F089-4FA3-BBDF-94CC159C4AE8",
    "Payload": {
        "VisibleName": "Work Google",
        "UserIdentityAssetReference": "CB3E6C7F-2318-437B-8A9E-D50C69376DE4"
    }
}

See Also

Configurations