#NEWLINE# def __init__( self , session , project_id = None , **kwargs ) : #NEWLINE# #INDENT# kwargs . setdefault ( 'interface' , _DEFAULT_SERVICE_INTERFACE ) #NEWLINE# kwargs . setdefault ( 'service_type' , _DEFAULT_SERVICE_TYPE ) #NEWLINE# kwargs . setdefault ( 'version' , _DEFAULT_API_VERSION ) #NEWLINE# endpoint = kwargs . pop ( 'endpoint' , None ) #NEWLINE# super ( _HTTPClient , self ) . __init__ ( session , ** kwargs ) #NEWLINE# if endpoint : #NEWLINE# #INDENT# self . endpoint_override = '{0}/{1}' . format ( endpoint , self . version ) #NEWLINE# #UNINDENT# if ( project_id is None ) : #NEWLINE# #INDENT# self . _default_headers = dict ( ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . _default_headers = { #NEWLINE# #INDENT# 'X-Project-Id' : project_id , #NEWLINE# #UNINDENT# }