@@ -549,8 +549,8 @@ export class DatastoreAdminClient {
549
549
options . otherArgs . headers = options . otherArgs . headers || { } ;
550
550
options . otherArgs . headers [ 'x-goog-request-params' ] =
551
551
this . _gaxModule . routingHeader . fromParams ( {
552
- project_id : request . projectId || '' ,
553
- index_id : request . indexId || '' ,
552
+ project_id : request . projectId ?? '' ,
553
+ index_id : request . indexId ?? '' ,
554
554
} ) ;
555
555
this . initialize ( ) ;
556
556
return this . innerApiCalls . getIndex ( request , options , callback ) ;
@@ -684,7 +684,7 @@ export class DatastoreAdminClient {
684
684
options . otherArgs . headers = options . otherArgs . headers || { } ;
685
685
options . otherArgs . headers [ 'x-goog-request-params' ] =
686
686
this . _gaxModule . routingHeader . fromParams ( {
687
- project_id : request . projectId || '' ,
687
+ project_id : request . projectId ?? '' ,
688
688
} ) ;
689
689
this . initialize ( ) ;
690
690
return this . innerApiCalls . exportEntities ( request , options , callback ) ;
@@ -847,7 +847,7 @@ export class DatastoreAdminClient {
847
847
options . otherArgs . headers = options . otherArgs . headers || { } ;
848
848
options . otherArgs . headers [ 'x-goog-request-params' ] =
849
849
this . _gaxModule . routingHeader . fromParams ( {
850
- project_id : request . projectId || '' ,
850
+ project_id : request . projectId ?? '' ,
851
851
} ) ;
852
852
this . initialize ( ) ;
853
853
return this . innerApiCalls . importEntities ( request , options , callback ) ;
@@ -1001,7 +1001,7 @@ export class DatastoreAdminClient {
1001
1001
options . otherArgs . headers = options . otherArgs . headers || { } ;
1002
1002
options . otherArgs . headers [ 'x-goog-request-params' ] =
1003
1003
this . _gaxModule . routingHeader . fromParams ( {
1004
- project_id : request . projectId || '' ,
1004
+ project_id : request . projectId ?? '' ,
1005
1005
} ) ;
1006
1006
this . initialize ( ) ;
1007
1007
return this . innerApiCalls . createIndex ( request , options , callback ) ;
@@ -1150,8 +1150,8 @@ export class DatastoreAdminClient {
1150
1150
options . otherArgs . headers = options . otherArgs . headers || { } ;
1151
1151
options . otherArgs . headers [ 'x-goog-request-params' ] =
1152
1152
this . _gaxModule . routingHeader . fromParams ( {
1153
- project_id : request . projectId || '' ,
1154
- index_id : request . indexId || '' ,
1153
+ project_id : request . projectId ?? '' ,
1154
+ index_id : request . indexId ?? '' ,
1155
1155
} ) ;
1156
1156
this . initialize ( ) ;
1157
1157
return this . innerApiCalls . deleteIndex ( request , options , callback ) ;
@@ -1282,7 +1282,7 @@ export class DatastoreAdminClient {
1282
1282
options . otherArgs . headers = options . otherArgs . headers || { } ;
1283
1283
options . otherArgs . headers [ 'x-goog-request-params' ] =
1284
1284
this . _gaxModule . routingHeader . fromParams ( {
1285
- project_id : request . projectId || '' ,
1285
+ project_id : request . projectId ?? '' ,
1286
1286
} ) ;
1287
1287
this . initialize ( ) ;
1288
1288
return this . innerApiCalls . listIndexes ( request , options , callback ) ;
@@ -1322,7 +1322,7 @@ export class DatastoreAdminClient {
1322
1322
options . otherArgs . headers = options . otherArgs . headers || { } ;
1323
1323
options . otherArgs . headers [ 'x-goog-request-params' ] =
1324
1324
this . _gaxModule . routingHeader . fromParams ( {
1325
- project_id : request . projectId || '' ,
1325
+ project_id : request . projectId ?? '' ,
1326
1326
} ) ;
1327
1327
const defaultCallSettings = this . _defaults [ 'listIndexes' ] ;
1328
1328
const callSettings = defaultCallSettings . merge ( options ) ;
@@ -1371,7 +1371,7 @@ export class DatastoreAdminClient {
1371
1371
options . otherArgs . headers = options . otherArgs . headers || { } ;
1372
1372
options . otherArgs . headers [ 'x-goog-request-params' ] =
1373
1373
this . _gaxModule . routingHeader . fromParams ( {
1374
- project_id : request . projectId || '' ,
1374
+ project_id : request . projectId ?? '' ,
1375
1375
} ) ;
1376
1376
const defaultCallSettings = this . _defaults [ 'listIndexes' ] ;
1377
1377
const callSettings = defaultCallSettings . merge ( options ) ;
0 commit comments