#NEWLINE# def _verifyResourceProperties( self , job , resource ) : #NEWLINE# #INDENT# self . _verifyReadonlyResourceProperties ( job , resource ) #NEWLINE# config = resource . get ( 'configuration' , { #NEWLINE# #INDENT# #NEWLINE# #UNINDENT# } ) . get ( 'extract' ) #NEWLINE# self . assertEqual ( job . destination_uris , config [ 'destinationUris' ] ) #NEWLINE# table_ref = config [ 'sourceTable' ] #NEWLINE# self . assertEqual ( job . source . project , table_ref [ 'projectId' ] ) #NEWLINE# self . assertEqual ( job . source . dataset_name , table_ref [ 'datasetId' ] ) #NEWLINE# self . assertEqual ( job . source . name , table_ref [ 'tableId' ] ) #NEWLINE# if ( 'compression' in config ) : #NEWLINE# #INDENT# self . assertEqual ( job . compression , config [ 'compression' ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . assertTrue ( ( self . compression is None ) ) #NEWLINE# #UNINDENT# if ( 'destinationFormat' in config ) : #NEWLINE# #INDENT# self . assertEqual ( job . destination_format , config [ 'destinationFormat' ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . assertTrue ( ( job . destination_format is None ) ) #NEWLINE# #UNINDENT# if ( 'fieldDelimiter' in config ) : #NEWLINE# #INDENT# self . assertEqual ( job . field_delimiter , config [ 'fieldDelimiter' ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . assertTrue ( ( job . field_delimiter is None ) ) #NEWLINE# #UNINDENT# if ( 'printHeader' in config ) : #NEWLINE# #INDENT# self . assertEqual ( job . print_header , config [ 'printHeader' ] ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . assertTrue ( ( job . print_header is None ) )