Skip to content

Commit

Permalink
feat: check status of long running operation by its name; fix linting (
Browse files Browse the repository at this point in the history
…#531)

For each client method returning a long running operation, a separate method to check its status is added.

Added methods: `checkBatchTranslateTextProgress`, `checkCreateGlossaryProgress`, `checkDeleteGlossaryProgress`.
  • Loading branch information
alexander-fenster authored and Ace Nassri committed Nov 17, 2022
1 parent d18770e commit f0ee8fd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion translate/automl/automlTranslationDataset.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* https://cloud.google.com/translate/automl/docs
*/

`use strict`;
'use strict';

async function createDataset(projectId) {
// [START automl_translation_create_dataset]
Expand Down
2 changes: 1 addition & 1 deletion translate/automl/automlTranslationModel.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* https://cloud.google.com/translate/automl/docs
*/

`use strict`;
'use strict';

async function createModel(projectId, computeRegion, datasetId, modelName) {
// [START automl_translation_create_model]
Expand Down
2 changes: 1 addition & 1 deletion translate/automl/automlTranslationPredict.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
* https://cloud.google.com/translate/automl/docs
*/

`use strict`;
'use strict';

async function predict(
projectId,
Expand Down

0 comments on commit f0ee8fd

Please sign in to comment.