#NEWLINE# def call( self , record_dict , creds ) : #NEWLINE# #INDENT# valid_creds = self . api . auth . checkCredentials ( creds , 'update' ) #NEWLINE# hrn = record_dict . get ( 'hrn' , '' ) #NEWLINE# self . api . auth . verify_object_permission ( hrn ) #NEWLINE# origin_hrn = Credential ( string = valid_creds [ 0 ] ) . get_gid_caller ( ) . get_hrn ( ) #NEWLINE# self . api . logger . info ( ( 'interface: %s\tcaller-hrn: %s\ttarget-hrn: %s\tmethod-name: %s' % ( self . api . interface , origin_hrn , hrn , self . name ) ) ) #NEWLINE# return self . api . manager . Update ( self . api , record_dict )