Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
var PAGE_DESCRIPTORS = {
listDocuments: new gax.PageDescriptor(
'pageToken',
'nextPageToken',
'documents'
),
listCollectionIds: new gax.PageDescriptor(
'pageToken',
'nextPageToken',
'collectionIds'
),
};
var STREAM_DESCRIPTORS = {
batchGetDocuments: new gax.StreamDescriptor(gax.StreamType.SERVER_STREAMING),
runQuery: new gax.StreamDescriptor(gax.StreamType.SERVER_STREAMING),
write: new gax.StreamDescriptor(gax.StreamType.BIDI_STREAMING),
listen: new gax.StreamDescriptor(gax.StreamType.BIDI_STREAMING),
};
/*!
* The scopes needed to make gRPC calls to all of the methods defined in
* this service.
*/
var ALL_SCOPES = [
'https://www.googleapis.com/auth/cloud-platform',
'https://www.googleapis.com/auth/datastore',
];
/**
* The Cloud Firestore service.
*
var PAGE_DESCRIPTORS = {
listDocuments: new gax.PageDescriptor(
'pageToken',
'nextPageToken',
'documents'
),
listCollectionIds: new gax.PageDescriptor(
'pageToken',
'nextPageToken',
'collectionIds'
),
};
var STREAM_DESCRIPTORS = {
batchGetDocuments: new gax.StreamDescriptor(gax.StreamType.SERVER_STREAMING),
runQuery: new gax.StreamDescriptor(gax.StreamType.SERVER_STREAMING),
write: new gax.StreamDescriptor(gax.StreamType.BIDI_STREAMING),
listen: new gax.StreamDescriptor(gax.StreamType.BIDI_STREAMING),
};
/*!
* The scopes needed to make gRPC calls to all of the methods defined in
* this service.
*/
var ALL_SCOPES = [
'https://www.googleapis.com/auth/cloud-platform',
'https://www.googleapis.com/auth/datastore',
];
/**
* The Cloud Firestore service.
listDocuments: new gax.PageDescriptor(
'pageToken',
'nextPageToken',
'documents'
),
listCollectionIds: new gax.PageDescriptor(
'pageToken',
'nextPageToken',
'collectionIds'
),
};
var STREAM_DESCRIPTORS = {
batchGetDocuments: new gax.StreamDescriptor(gax.StreamType.SERVER_STREAMING),
runQuery: new gax.StreamDescriptor(gax.StreamType.SERVER_STREAMING),
write: new gax.StreamDescriptor(gax.StreamType.BIDI_STREAMING),
listen: new gax.StreamDescriptor(gax.StreamType.BIDI_STREAMING),
};
/*!
* The scopes needed to make gRPC calls to all of the methods defined in
* this service.
*/
var ALL_SCOPES = [
'https://www.googleapis.com/auth/cloud-platform',
'https://www.googleapis.com/auth/datastore',
];
/**
* The Cloud Firestore service.
*
* This service exposes several types of comparable timestamps:
'pageToken',
'nextPageToken',
'documents'
),
listCollectionIds: new gax.PageDescriptor(
'pageToken',
'nextPageToken',
'collectionIds'
),
};
var STREAM_DESCRIPTORS = {
batchGetDocuments: new gax.StreamDescriptor(gax.StreamType.SERVER_STREAMING),
runQuery: new gax.StreamDescriptor(gax.StreamType.SERVER_STREAMING),
write: new gax.StreamDescriptor(gax.StreamType.BIDI_STREAMING),
listen: new gax.StreamDescriptor(gax.StreamType.BIDI_STREAMING),
};
/*!
* The scopes needed to make gRPC calls to all of the methods defined in
* this service.
*/
var ALL_SCOPES = [
'https://www.googleapis.com/auth/cloud-platform',
'https://www.googleapis.com/auth/datastore',
];
/**
* The Cloud Firestore service.
*
* This service exposes several types of comparable timestamps:
*