What is the script of Glossy BSDF roughness value? This is the script I am working on
BsdfGlossy_node = material_gold.node_tree.nodes.new('ShaderNodeBsdfGlossy')
        BsdfGlossy_node.location = (0,-100)
        BsdfGlossy_node.outputs[0].default_value = (0.144, 1, 0.8, 1)
        BsdfGlossy_node.select = False
        BsdfGlossy_node.hide = True

I want to know the roughness value script

Also, how can I script the colour of this node? I tried BsdfGlossy_node.outputs[0].default_value
but it has an error
BsdfGlossy_node.inputs['Roughness'].default_value