#NEWLINE# def GetInstance( self , instance_name ) : #NEWLINE# #INDENT# "Gets instance information.\n\n    Args:\n      instance_name: Name of the instance to get information about.\n    Returns:\n      Google Compute Engine instance resource.  None if not found.\n      https://developers.google.com/compute/docs/reference/latest/instances\n    Raises:\n      HttpError on error, except for 'resource not found' error.\n    " #NEWLINE# try : #NEWLINE# #INDENT# return self . GetApi ( ) . instances ( ) . get ( project = self . _project , zone = self . _zone , instance = instance_name ) . execute ( ) #NEWLINE# #UNINDENT# except apiclient . errors . HttpError as e : #NEWLINE# #INDENT# if self . IsNotFoundError ( e ) : #NEWLINE# #INDENT# return None #NEWLINE# #UNINDENT# raise self