@maxim_mazurok/gapi.client.language-v1beta2 0.0.20241103 → 0.0.20241110
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +4 -4
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://language.googleapis.com/$discovery/rest?version=v1beta2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20241110
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -204,13 +204,13 @@ declare namespace gapi.client {
|
|
|
204
204
|
name?: string;
|
|
205
205
|
/** The salience score associated with the entity in the [0, 1.0] range. The salience score for an entity provides information about the importance or centrality of that entity to the entire document text. Scores closer to 0 are less salient, while scores closer to 1.0 are highly salient. */
|
|
206
206
|
salience?: number;
|
|
207
|
-
/** For calls to
|
|
207
|
+
/** For calls to AnalyzeEntitySentiment or if AnnotateTextRequest.Features.extract_entity_sentiment is set to true, this field will contain the aggregate sentiment expressed for this entity in the provided document. */
|
|
208
208
|
sentiment?: Sentiment;
|
|
209
209
|
/** The entity type. */
|
|
210
210
|
type?: string;
|
|
211
211
|
}
|
|
212
212
|
interface EntityMention {
|
|
213
|
-
/** For calls to
|
|
213
|
+
/** For calls to AnalyzeEntitySentiment or if AnnotateTextRequest.Features.extract_entity_sentiment is set to true, this field will contain the sentiment expressed for this mention of the entity in the provided document. */
|
|
214
214
|
sentiment?: Sentiment;
|
|
215
215
|
/** The mention text. */
|
|
216
216
|
text?: TextSpan;
|
|
@@ -286,7 +286,7 @@ declare namespace gapi.client {
|
|
|
286
286
|
trackingLabels?: {[P in string]: string};
|
|
287
287
|
}
|
|
288
288
|
interface Sentence {
|
|
289
|
-
/** For calls to
|
|
289
|
+
/** For calls to AnalyzeSentiment or if AnnotateTextRequest.Features.extract_document_sentiment is set to true, this field will contain the sentiment for the sentence. */
|
|
290
290
|
sentiment?: Sentiment;
|
|
291
291
|
/** The sentence text. */
|
|
292
292
|
text?: TextSpan;
|