[docs]classUserCredentialDocument(GlobusPayload):""" Convenience class for constructing a UserCredential document to use as the `data` parameter to `create_user_credential` and `update_user_credential` :param DATA_TYPE: Versioned document type. :param identity_id: UUID of the Globus identity this credential will provide access for :param connector_id: UUID of the connector this credential is for :param username: Username of the local account this credential will provide access to, format is connector specific :param display_name: Display name for this credential :param storage_gateway_id: UUID of the storage gateway this credential is for :param policies: Connector specific policies for this credential :param additional_fields: Additional data for inclusion in the document """def__init__(self,DATA_TYPE:str="user_credential#1.0.0",identity_id:UUIDLike|MissingType=MISSING,connector_id:UUIDLike|MissingType=MISSING,username:str|MissingType=MISSING,display_name:str|MissingType=MISSING,storage_gateway_id:UUIDLike|MissingType=MISSING,policies:dict[str,t.Any]|MissingType=MISSING,additional_fields:dict[str,t.Any]|None=None,)->None:super().__init__()self["DATA_TYPE"]=DATA_TYPEself["identity_id"]=identity_idself["connector_id"]=connector_idself["username"]=usernameself["display_name"]=display_nameself["storage_gateway_id"]=storage_gateway_idself["policies"]=policiesself.update(additional_fieldsor{})