@@ -251,11 +251,10 @@ class BigtableClient {
251251 options = options || { } ;
252252 options . otherArgs = options . otherArgs || { } ;
253253 options . otherArgs . headers = options . otherArgs . headers || { } ;
254- options . otherArgs . headers [
255- 'x-goog-request-params'
256- ] = gax . routingHeader . fromParams ( {
257- table_name : request . tableName ,
258- } ) ;
254+ options . otherArgs . headers [ 'x-goog-request-params' ] =
255+ gax . routingHeader . fromParams ( {
256+ 'table_name' : request . tableName
257+ } ) ;
259258
260259 return this . _innerApiCalls . readRows ( request , options ) ;
261260 }
@@ -298,11 +297,10 @@ class BigtableClient {
298297 options = options || { } ;
299298 options . otherArgs = options . otherArgs || { } ;
300299 options . otherArgs . headers = options . otherArgs . headers || { } ;
301- options . otherArgs . headers [
302- 'x-goog-request-params'
303- ] = gax . routingHeader . fromParams ( {
304- table_name : request . tableName ,
305- } ) ;
300+ options . otherArgs . headers [ 'x-goog-request-params' ] =
301+ gax . routingHeader . fromParams ( {
302+ 'table_name' : request . tableName
303+ } ) ;
306304
307305 return this . _innerApiCalls . sampleRowKeys ( request , options ) ;
308306 }
@@ -372,11 +370,10 @@ class BigtableClient {
372370 options = options || { } ;
373371 options . otherArgs = options . otherArgs || { } ;
374372 options . otherArgs . headers = options . otherArgs . headers || { } ;
375- options . otherArgs . headers [
376- 'x-goog-request-params'
377- ] = gax . routingHeader . fromParams ( {
378- table_name : request . tableName ,
379- } ) ;
373+ options . otherArgs . headers [ 'x-goog-request-params' ] =
374+ gax . routingHeader . fromParams ( {
375+ 'table_name' : request . tableName
376+ } ) ;
380377
381378 return this . _innerApiCalls . mutateRow ( request , options , callback ) ;
382379 }
@@ -429,11 +426,10 @@ class BigtableClient {
429426 options = options || { } ;
430427 options . otherArgs = options . otherArgs || { } ;
431428 options . otherArgs . headers = options . otherArgs . headers || { } ;
432- options . otherArgs . headers [
433- 'x-goog-request-params'
434- ] = gax . routingHeader . fromParams ( {
435- table_name : request . tableName ,
436- } ) ;
429+ options . otherArgs . headers [ 'x-goog-request-params' ] =
430+ gax . routingHeader . fromParams ( {
431+ 'table_name' : request . tableName
432+ } ) ;
437433
438434 return this . _innerApiCalls . mutateRows ( request , options ) ;
439435 }
@@ -518,11 +514,10 @@ class BigtableClient {
518514 options = options || { } ;
519515 options . otherArgs = options . otherArgs || { } ;
520516 options . otherArgs . headers = options . otherArgs . headers || { } ;
521- options . otherArgs . headers [
522- 'x-goog-request-params'
523- ] = gax . routingHeader . fromParams ( {
524- table_name : request . tableName ,
525- } ) ;
517+ options . otherArgs . headers [ 'x-goog-request-params' ] =
518+ gax . routingHeader . fromParams ( {
519+ 'table_name' : request . tableName
520+ } ) ;
526521
527522 return this . _innerApiCalls . checkAndMutateRow ( request , options , callback ) ;
528523 }
@@ -596,11 +591,10 @@ class BigtableClient {
596591 options = options || { } ;
597592 options . otherArgs = options . otherArgs || { } ;
598593 options . otherArgs . headers = options . otherArgs . headers || { } ;
599- options . otherArgs . headers [
600- 'x-goog-request-params'
601- ] = gax . routingHeader . fromParams ( {
602- table_name : request . tableName ,
603- } ) ;
594+ options . otherArgs . headers [ 'x-goog-request-params' ] =
595+ gax . routingHeader . fromParams ( {
596+ 'table_name' : request . tableName
597+ } ) ;
604598
605599 return this . _innerApiCalls . readModifyWriteRow ( request , options , callback ) ;
606600 }
@@ -633,7 +627,9 @@ class BigtableClient {
633627 * @returns {String } - A string representing the project.
634628 */
635629 matchProjectFromTableName ( tableName ) {
636- return this . _pathTemplates . tablePathTemplate . match ( tableName ) . project ;
630+ return this . _pathTemplates . tablePathTemplate
631+ . match ( tableName )
632+ . project ;
637633 }
638634
639635 /**
@@ -644,7 +640,9 @@ class BigtableClient {
644640 * @returns {String } - A string representing the instance.
645641 */
646642 matchInstanceFromTableName ( tableName ) {
647- return this . _pathTemplates . tablePathTemplate . match ( tableName ) . instance ;
643+ return this . _pathTemplates . tablePathTemplate
644+ . match ( tableName )
645+ . instance ;
648646 }
649647
650648 /**
@@ -655,8 +653,11 @@ class BigtableClient {
655653 * @returns {String } - A string representing the table.
656654 */
657655 matchTableFromTableName ( tableName ) {
658- return this . _pathTemplates . tablePathTemplate . match ( tableName ) . table ;
656+ return this . _pathTemplates . tablePathTemplate
657+ . match ( tableName )
658+ . table ;
659659 }
660660}
661661
662+
662663module . exports = BigtableClient ;
0 commit comments