New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@maxim_mazurok/gapi.client.translate-v3

Package Overview
Dependencies
Maintainers
1
Versions
45
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@maxim_mazurok/gapi.client.translate-v3 - npm Package Compare versions

Comparing version 0.0.20221111 to 0.0.20230106

2

package.json
{
"name": "@maxim_mazurok/gapi.client.translate-v3",
"version": "0.0.20221111",
"version": "0.0.20230106",
"description": "TypeScript typings for Cloud Translation API v3",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -6,3 +6,3 @@ /* This is stub file for gapi.client.translate-v3 definition tests */

// Revision: 20221111
// Revision: 20230106

@@ -79,2 +79,3 @@ gapi.load('client', async () => {

}, {
customizedAttribution: "Test string",
formatConversions: {

@@ -193,2 +194,3 @@ A: "Test string"

},
enableShadowRemovalNativePdf: true,
glossaryConfig: {

@@ -225,2 +227,63 @@ glossary: "Test string",

});
/** Creates a Dataset. */
await gapi.client.translate.projects.locations.datasets.create({
parent: "Test string",
}, {
createTime: "Test string",
displayName: "Test string",
exampleCount: 42,
name: "Test string",
sourceLanguageCode: "Test string",
targetLanguageCode: "Test string",
testExampleCount: 42,
trainExampleCount: 42,
updateTime: "Test string",
validateExampleCount: 42,
});
/** Deletes a dataset and all of its contents. */
await gapi.client.translate.projects.locations.datasets.delete({
name: "Test string",
});
/** Exports dataset's data to the provided output location. */
await gapi.client.translate.projects.locations.datasets.exportData({
dataset: "Test string",
}, {
outputConfig: {
gcsDestination: {
outputUriPrefix: "Test string",
},
},
});
/** Gets a Dataset. */
await gapi.client.translate.projects.locations.datasets.get({
name: "Test string",
});
/** Import sentence pairs into translation Dataset. */
await gapi.client.translate.projects.locations.datasets.importData({
dataset: "Test string",
}, {
inputConfig: {
inputFiles: [
{
gcsSource: {
inputUri: "Test string",
},
usage: "Test string",
}
],
},
});
/** Lists datasets. */
await gapi.client.translate.projects.locations.datasets.list({
pageSize: 42,
pageToken: "Test string",
parent: "Test string",
});
/** Lists sentence pairs in the dataset. */
await gapi.client.translate.projects.locations.datasets.examples.list({
filter: "Test string",
pageSize: 42,
pageToken: "Test string",
parent: "Test string",
});
/** Creates a glossary and returns the long-running operation. Returns NOT_FOUND, if the project doesn't exist. */

@@ -354,2 +417,33 @@ await gapi.client.translate.projects.locations.glossaries.create({

});
/** Creates a Model. */
await gapi.client.translate.projects.locations.models.create({
parent: "Test string",
}, {
createTime: "Test string",
dataset: "Test string",
deployTime: "Test string",
displayName: "Test string",
name: "Test string",
sourceLanguageCode: "Test string",
targetLanguageCode: "Test string",
testExampleCount: 42,
trainExampleCount: 42,
updateTime: "Test string",
validateExampleCount: 42,
});
/** Deletes a model. */
await gapi.client.translate.projects.locations.models.delete({
name: "Test string",
});
/** Gets a model. */
await gapi.client.translate.projects.locations.models.get({
name: "Test string",
});
/** Lists models. */
await gapi.client.translate.projects.locations.models.list({
filter: "Test string",
pageSize: 42,
pageToken: "Test string",
parent: "Test string",
});
/**

@@ -356,0 +450,0 @@ * Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc