Skip to content

Commit f0ee8fd

Browse files
alexander-fensterAce Nassri
authored andcommitted
feat: check status of long running operation by its name; fix linting (#531)
For each client method returning a long running operation, a separate method to check its status is added. Added methods: `checkBatchTranslateTextProgress`, `checkCreateGlossaryProgress`, `checkDeleteGlossaryProgress`.
1 parent d18770e commit f0ee8fd

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

translate/automl/automlTranslationDataset.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* https://cloud.google.com/translate/automl/docs
2121
*/
2222

23-
`use strict`;
23+
'use strict';
2424

2525
async function createDataset(projectId) {
2626
// [START automl_translation_create_dataset]

translate/automl/automlTranslationModel.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* https://cloud.google.com/translate/automl/docs
2121
*/
2222

23-
`use strict`;
23+
'use strict';
2424

2525
async function createModel(projectId, computeRegion, datasetId, modelName) {
2626
// [START automl_translation_create_model]

translate/automl/automlTranslationPredict.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
* https://cloud.google.com/translate/automl/docs
2121
*/
2222

23-
`use strict`;
23+
'use strict';
2424

2525
async function predict(
2626
projectId,

0 commit comments

Comments
 (0)