Google Apps Security and Compliance Services Web Services Application Programming Interface Guide, Early Access Version 1.5 User Manual
Page 56

54
Message Security and Compliance Application Programming Interface Guide RELEASE EA version 1.5
•
BlockedSenderAddresses -- An unlimited list of blocked sender
addresses to add to the user. This is optional.
Type: AddressList. An AddressList has an unlimited number of blocked
sender Address elements.
Responses
For each NewUserRecord request, the service responds with a
AddUsersResponse which holds a UserAddStatus struct for each new user.
The number of UserAddStatus structs contained in an AddUserResponse is
unlimited.
A UserAddStatus struct contains:
•
Address -- The primary user address value given in the NewUserRecord
request. This is required.
Type: string
•
Org -- If specified, the Org value from the NewUserRecord request.
Type: string
In the request when an organization is unspecified, automatically the user is
associated with the account organization. If unspecified in the request, this
response element is empty even though the user is associated with an
account organization.
•
Status -- The success or failure value of the primary user address creation.
Failures are reported in a status field in the response data structure, rather
than as an exception. This is required. For more information about the
AddStatus enumerated types, see “Enumerated Types for AddStatus,
ModifyStatus, and DeleteStatus” on page 45.
Type: AddStatus.
If failed, this user’s UserAddStatus has the Address and Status elements
only. If the user can not be created, no other request actions are attempted
for this user.
•
Message -- The User Sync API may return human readable messages to
help when debugging your application. These messages do not happen in
every case and, since they are subject to change, your application should
not be dependent upon or use these strings.
•
AliasStatus -- Unlimited list of structures holding the status of the specified
user’s aliases.
Type: UserAddStatusAliasStatus. A UserAddStatusAliasStatus has a struct
element named ‘item’. This ‘item’ is of type UserAddStatusAliasStatusItem
For each requested alias for this user, the alias item holds these sub-
elements:
•
Address -- The alias address requested in the NewUserRecord Aliases
field. This is required.
Type: string