I'm pretty sure there is no documentation that shows all the attribute names of various Maya nodes (someone let me know if I'm wrong). However, if you open the script editor, and manually change object attributes in the GUI, you'll see feedback showing the attribute name (most of the time). For example, if I change the 'Enable Overrides' checkbox of an object, this outputs in the script editor. And that's how I knew how to answer your question.
setAttr "pCylinder1.overrideEnabled" 1;
This is of course the MEL equivalent of what you eventually want in Python. But still, you can see that overrideEnabled is the attribute name. After a while, it becomes second nature to convert MEL statements to Python.
Another way to find hard to find attribute names is to view the node who owns the attribute you want to change in the node editor. You may need to r-click on the node and pick 'Show all attributes' to reveal ones that are hidden by default. Unfortunately, you'll see "nice" attribute names, and not the actual names you would use in code to set them. But if you connect an attribute of another node (or even from the same node) to the target attribute, again, the script editor will output the code attribute name you're looking for. It's sort of a pain, but it works.