#NEWLINE# def validate_allocate_ids_req( self , req ) : #NEWLINE# #INDENT# 'Validates an AllocateIdsRequest.\n\n    Args:\n      req: a googledatastore.AllocateIdsRequest\n\n    Raises:\n      ValidationError: if the request is invalid\n    ' #NEWLINE# _assert_initialized ( req ) #NEWLINE# self . __entity_validator . validate_keys ( ALLOCATE_KEY_ID , req . keys )