Parameters

userCredential: the client user credential.

requestedLocale: optional locale to use for this request.

partitionName: optional name of the campaign partition to use.

reference: optional reference for the component instance that contains the desired attributes. If not supplied, then the update is restricted to global metadata definitions. Throws InvalidComponentException if the supplied reference is invalid.

allowCreate: if true, metadata definitions that currently do not exist are created (functionally equivalent to using the createAttributeMetadata() method).

attributeMetadata: an array of attribute metadata definitions to be updated (and added if the allowCreate flag is true). The attribute name is used to locate the metadata definition to update, and the remaining data are used to update the existing definition. (Refer to Update logic.)