#NEWLINE# def attach_disk( self , disk_name , instance_name ) : #NEWLINE# #INDENT# config = dict ( deviceName = disk_name , autoDelete = False , boot = False , source = ( 'https://www.googleapis.com/compute/v1/projects/%s/zones/%s/disks/%s' % ( self . _project , self . _zone , disk_name ) ) ) #NEWLINE# return self . _do_blocking_operation ( self . _compute . instances ( ) . attachDisk , instance = instance_name , body = config , timeout_sec = VOLUME_ATTACH_TIMEOUT )