@google-cloud/language
Advanced tools
Comparing version 5.2.2 to 5.3.0
@@ -48,2 +48,6 @@ { | ||
}, | ||
"ModerateText": { | ||
"retry_codes_name": "non_idempotent", | ||
"retry_params_name": "default" | ||
}, | ||
"AnnotateText": { | ||
@@ -50,0 +54,0 @@ "timeout_millis": 600000, |
@@ -161,4 +161,6 @@ import type * as gax from 'google-gax'; | ||
/** | ||
* Finds entities, similar to {@link google.cloud.language.v1.LanguageService.AnalyzeEntities|AnalyzeEntities} in the text and analyzes | ||
* sentiment associated with each entity and its mentions. | ||
* Finds entities, similar to | ||
* {@link google.cloud.language.v1.LanguageService.AnalyzeEntities|AnalyzeEntities} | ||
* in the text and analyzes sentiment associated with each entity and its | ||
* mentions. | ||
* | ||
@@ -244,2 +246,26 @@ * @param {Object} request | ||
/** | ||
* Moderates a document for harmful and sensitive categories. | ||
* | ||
* @param {Object} request | ||
* The request object that will be sent. | ||
* @param {google.cloud.language.v1.Document} request.document | ||
* Required. Input document. | ||
* @param {object} [options] | ||
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. | ||
* @returns {Promise} - The promise which resolves to an array. | ||
* The first element of the array is an object representing {@link google.cloud.language.v1.ModerateTextResponse | ModerateTextResponse}. | ||
* Please see the | ||
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) | ||
* for more details and examples. | ||
* @example <caption>include:samples/generated/v1/language_service.moderate_text.js</caption> | ||
* region_tag:language_v1_generated_LanguageService_ModerateText_async | ||
*/ | ||
moderateText(request?: protos.google.cloud.language.v1.IModerateTextRequest, options?: CallOptions): Promise<[ | ||
protos.google.cloud.language.v1.IModerateTextResponse, | ||
protos.google.cloud.language.v1.IModerateTextRequest | undefined, | ||
{} | undefined | ||
]>; | ||
moderateText(request: protos.google.cloud.language.v1.IModerateTextRequest, options: CallOptions, callback: Callback<protos.google.cloud.language.v1.IModerateTextResponse, protos.google.cloud.language.v1.IModerateTextRequest | null | undefined, {} | null | undefined>): void; | ||
moderateText(request: protos.google.cloud.language.v1.IModerateTextRequest, callback: Callback<protos.google.cloud.language.v1.IModerateTextResponse, protos.google.cloud.language.v1.IModerateTextRequest | null | undefined, {} | null | undefined>): void; | ||
/** | ||
* A convenience method that provides all the features that analyzeSentiment, | ||
@@ -246,0 +272,0 @@ * analyzeEntities, and analyzeSyntax provide in one call. |
@@ -177,2 +177,3 @@ "use strict"; | ||
'classifyText', | ||
'moderateText', | ||
'annotateText', | ||
@@ -320,2 +321,18 @@ ]; | ||
} | ||
moderateText(request, optionsOrCallback, callback) { | ||
request = request || {}; | ||
let options; | ||
if (typeof optionsOrCallback === 'function' && callback === undefined) { | ||
callback = optionsOrCallback; | ||
options = {}; | ||
} | ||
else { | ||
options = optionsOrCallback; | ||
} | ||
options = options || {}; | ||
options.otherArgs = options.otherArgs || {}; | ||
options.otherArgs.headers = options.otherArgs.headers || {}; | ||
this.initialize(); | ||
return this.innerApiCalls.moderateText(request, options, callback); | ||
} | ||
annotateText(request, optionsOrCallback, callback) { | ||
@@ -322,0 +339,0 @@ request = request || {}; |
@@ -48,2 +48,6 @@ { | ||
}, | ||
"ModerateText": { | ||
"retry_codes_name": "non_idempotent", | ||
"retry_params_name": "default" | ||
}, | ||
"AnnotateText": { | ||
@@ -50,0 +54,0 @@ "timeout_millis": 600000, |
@@ -162,4 +162,6 @@ import type * as gax from 'google-gax'; | ||
/** | ||
* Finds entities, similar to {@link google.cloud.language.v1beta2.LanguageService.AnalyzeEntities|AnalyzeEntities} in the text and analyzes | ||
* sentiment associated with each entity and its mentions. | ||
* Finds entities, similar to | ||
* {@link google.cloud.language.v1beta2.LanguageService.AnalyzeEntities|AnalyzeEntities} | ||
* in the text and analyzes sentiment associated with each entity and its | ||
* mentions. | ||
* | ||
@@ -245,2 +247,26 @@ * @param {Object} request | ||
/** | ||
* Moderates a document for harmful and sensitive categories. | ||
* | ||
* @param {Object} request | ||
* The request object that will be sent. | ||
* @param {google.cloud.language.v1beta2.Document} request.document | ||
* Required. Input document. | ||
* @param {object} [options] | ||
* Call options. See {@link https://googleapis.dev/nodejs/google-gax/latest/interfaces/CallOptions.html|CallOptions} for more details. | ||
* @returns {Promise} - The promise which resolves to an array. | ||
* The first element of the array is an object representing {@link google.cloud.language.v1beta2.ModerateTextResponse | ModerateTextResponse}. | ||
* Please see the | ||
* [documentation](https://github.com/googleapis/gax-nodejs/blob/master/client-libraries.md#regular-methods) | ||
* for more details and examples. | ||
* @example <caption>include:samples/generated/v1beta2/language_service.moderate_text.js</caption> | ||
* region_tag:language_v1beta2_generated_LanguageService_ModerateText_async | ||
*/ | ||
moderateText(request?: protos.google.cloud.language.v1beta2.IModerateTextRequest, options?: CallOptions): Promise<[ | ||
protos.google.cloud.language.v1beta2.IModerateTextResponse, | ||
protos.google.cloud.language.v1beta2.IModerateTextRequest | undefined, | ||
{} | undefined | ||
]>; | ||
moderateText(request: protos.google.cloud.language.v1beta2.IModerateTextRequest, options: CallOptions, callback: Callback<protos.google.cloud.language.v1beta2.IModerateTextResponse, protos.google.cloud.language.v1beta2.IModerateTextRequest | null | undefined, {} | null | undefined>): void; | ||
moderateText(request: protos.google.cloud.language.v1beta2.IModerateTextRequest, callback: Callback<protos.google.cloud.language.v1beta2.IModerateTextResponse, protos.google.cloud.language.v1beta2.IModerateTextRequest | null | undefined, {} | null | undefined>): void; | ||
/** | ||
* A convenience method that provides all syntax, sentiment, entity, and | ||
@@ -247,0 +273,0 @@ * classification features in one call. |
@@ -177,2 +177,3 @@ "use strict"; | ||
'classifyText', | ||
'moderateText', | ||
'annotateText', | ||
@@ -320,2 +321,18 @@ ]; | ||
} | ||
moderateText(request, optionsOrCallback, callback) { | ||
request = request || {}; | ||
let options; | ||
if (typeof optionsOrCallback === 'function' && callback === undefined) { | ||
callback = optionsOrCallback; | ||
options = {}; | ||
} | ||
else { | ||
options = optionsOrCallback; | ||
} | ||
options = options || {}; | ||
options.otherArgs = options.otherArgs || {}; | ||
options.otherArgs.headers = options.otherArgs.headers || {}; | ||
this.initialize(); | ||
return this.innerApiCalls.moderateText(request, options, callback); | ||
} | ||
annotateText(request, optionsOrCallback, callback) { | ||
@@ -322,0 +339,0 @@ request = request || {}; |
@@ -7,2 +7,9 @@ # Changelog | ||
## [5.3.0](https://github.com/googleapis/google-cloud-node/compare/language-v5.2.2...language-v5.3.0) (2023-05-26) | ||
### Features | ||
* [language] Added client library support for ModerateText in the Natural Language API (V1) ([#4298](https://github.com/googleapis/google-cloud-node/issues/4298)) ([2c5e862](https://github.com/googleapis/google-cloud-node/commit/2c5e862c151f5e0294b3933808388a5f7e83cf62)) | ||
## [5.2.2](https://github.com/googleapis/google-cloud-node/compare/language-v5.2.1...language-v5.2.2) (2023-04-13) | ||
@@ -9,0 +16,0 @@ |
{ | ||
"name": "@google-cloud/language", | ||
"description": "Google Cloud Natural Language API client for Node.js", | ||
"version": "5.2.2", | ||
"version": "5.3.0", | ||
"license": "Apache-2.0", | ||
@@ -39,16 +39,16 @@ "author": "Google Inc", | ||
"scripts": { | ||
"docs": "jsdoc -c .jsdoc.js", | ||
"lint": "gts check", | ||
"samples-test": "npm run compile && cd samples/ && npm link ../ && npm i && npm test", | ||
"system-test": "npm run compile && c8 mocha build/system-test", | ||
"test": "c8 mocha build/test", | ||
"fix": "gts fix", | ||
"docs-test": "linkinator docs", | ||
"clean": "gts clean", | ||
"compile": "tsc -p . && cp -r protos build/ && minifyProtoJson", | ||
"compile": "tsc -p . && cp -r protos build/", | ||
"compile-protos": "compileProtos src", | ||
"docs": "jsdoc -c .jsdoc.js", | ||
"predocs-test": "npm run docs", | ||
"prepare": "npm run compile", | ||
"prelint": "cd samples; npm link ../; npm install", | ||
"precompile": "gts clean" | ||
"docs-test": "linkinator docs", | ||
"fix": "gts fix", | ||
"lint": "gts check", | ||
"prepare": "npm run compile-protos && npm run compile", | ||
"prelint": "cd samples; npm link ../; npm i", | ||
"postpack": "minifyProtoJson", | ||
"samples-test": "cd samples/ && npm link ../ && npm i && npm test", | ||
"system-test": "c8 mocha build/system-test", | ||
"test": "c8 mocha build/test" | ||
}, | ||
@@ -69,2 +69,3 @@ "dependencies": { | ||
"linkinator": "^4.0.0", | ||
"long": "^5.2.3", | ||
"mocha": "^9.2.2", | ||
@@ -71,0 +72,0 @@ "null-loader": "^4.0.0", |
@@ -5,3 +5,3 @@ [//]: # "This README.md file is auto-generated, all changes to this file will be lost." | ||
# [Natural Language: Node.js Client](https://github.com/googleapis/google-cloud-node) | ||
# [Natural Language: Node.js Client](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-language) | ||
@@ -91,20 +91,21 @@ [![release level](https://img.shields.io/badge/release%20level-stable-brightgreen.svg?style=flat)](https://cloud.google.com/terms/launch-stages) | ||
Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/samples) directory. Each sample's `README.md` has instructions for running its sample. | ||
Samples are in the [`samples/`](https://github.com/googleapis/google-cloud-node/tree/main/packages/google-cloud-language/samples) directory. Each sample's `README.md` has instructions for running its sample. | ||
| Sample | Source Code | Try it | | ||
| --------------------------- | --------------------------------- | ------ | | ||
| Language_service.analyze_entities | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.analyze_entities.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.analyze_entities.js,samples/README.md) | | ||
| Language_service.analyze_entity_sentiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.analyze_entity_sentiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.analyze_entity_sentiment.js,samples/README.md) | | ||
| Language_service.analyze_sentiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.analyze_sentiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.analyze_sentiment.js,samples/README.md) | | ||
| Language_service.analyze_syntax | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.analyze_syntax.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.analyze_syntax.js,samples/README.md) | | ||
| Language_service.annotate_text | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.annotate_text.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.annotate_text.js,samples/README.md) | | ||
| Language_service.classify_text | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.classify_text.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.classify_text.js,samples/README.md) | | ||
| Language_service.analyze_entities | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entities.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entities.js,samples/README.md) | | ||
| Language_service.analyze_entity_sentiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entity_sentiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entity_sentiment.js,samples/README.md) | | ||
| Language_service.analyze_sentiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_sentiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_sentiment.js,samples/README.md) | | ||
| Language_service.analyze_syntax | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_syntax.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_syntax.js,samples/README.md) | | ||
| Language_service.annotate_text | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.annotate_text.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.annotate_text.js,samples/README.md) | | ||
| Language_service.classify_text | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.classify_text.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.classify_text.js,samples/README.md) | | ||
| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/quickstart.js,samples/README.md) | | ||
| Quickstart.test | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/test/quickstart.test.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/test/quickstart.test.js,samples/README.md) | | ||
| Language_service.analyze_entities | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.analyze_entities.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.analyze_entities.js,packages/google-cloud-language/samples/README.md) | | ||
| Language_service.analyze_entity_sentiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.analyze_entity_sentiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.analyze_entity_sentiment.js,packages/google-cloud-language/samples/README.md) | | ||
| Language_service.analyze_sentiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.analyze_sentiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.analyze_sentiment.js,packages/google-cloud-language/samples/README.md) | | ||
| Language_service.analyze_syntax | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.analyze_syntax.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.analyze_syntax.js,packages/google-cloud-language/samples/README.md) | | ||
| Language_service.annotate_text | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.annotate_text.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.annotate_text.js,packages/google-cloud-language/samples/README.md) | | ||
| Language_service.classify_text | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.classify_text.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.classify_text.js,packages/google-cloud-language/samples/README.md) | | ||
| Language_service.moderate_text | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1/language_service.moderate_text.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1/language_service.moderate_text.js,packages/google-cloud-language/samples/README.md) | | ||
| Language_service.analyze_entities | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entities.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entities.js,packages/google-cloud-language/samples/README.md) | | ||
| Language_service.analyze_entity_sentiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entity_sentiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_entity_sentiment.js,packages/google-cloud-language/samples/README.md) | | ||
| Language_service.analyze_sentiment | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_sentiment.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_sentiment.js,packages/google-cloud-language/samples/README.md) | | ||
| Language_service.analyze_syntax | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_syntax.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.analyze_syntax.js,packages/google-cloud-language/samples/README.md) | | ||
| Language_service.annotate_text | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.annotate_text.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.annotate_text.js,packages/google-cloud-language/samples/README.md) | | ||
| Language_service.classify_text | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.classify_text.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.classify_text.js,packages/google-cloud-language/samples/README.md) | | ||
| Language_service.moderate_text | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/generated/v1beta2/language_service.moderate_text.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/generated/v1beta2/language_service.moderate_text.js,packages/google-cloud-language/samples/README.md) | | ||
| Quickstart | [source code](https://github.com/googleapis/google-cloud-node/blob/main/packages/google-cloud-language/samples/quickstart.js) | [![Open in Cloud Shell][shell_img]](https://console.cloud.google.com/cloudshell/open?git_repo=https://github.com/googleapis/google-cloud-node&page=editor&open_in_editor=packages/google-cloud-language/samples/quickstart.js,packages/google-cloud-language/samples/README.md) | | ||
@@ -111,0 +112,0 @@ |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
2891128
46709
0
179
19