@maxim_mazurok/gapi.client.language-v2 0.0.20250126 → 0.0.20250202
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 +7 -7
- package/package.json +1 -1
- package/readme.md +2 -2
package/index.d.ts
CHANGED
|
@@ -9,14 +9,14 @@
|
|
|
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=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20250202
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
16
16
|
declare namespace gapi.client {
|
|
17
17
|
/** Load Cloud Natural Language API v2 */
|
|
18
18
|
function load(
|
|
19
|
-
urlOrObject: 'https://language.googleapis.com/$discovery/rest?version=v2'
|
|
19
|
+
urlOrObject: 'https://language.googleapis.com/$discovery/rest?version=v2',
|
|
20
20
|
): Promise<void>;
|
|
21
21
|
/** @deprecated Please load APIs with discovery documents. */
|
|
22
22
|
function load(name: 'language', version: 'v2'): Promise<void>;
|
|
@@ -1268,7 +1268,7 @@ declare namespace gapi.client {
|
|
|
1268
1268
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1269
1269
|
uploadType?: string;
|
|
1270
1270
|
},
|
|
1271
|
-
body: AnalyzeEntitiesRequest
|
|
1271
|
+
body: AnalyzeEntitiesRequest,
|
|
1272
1272
|
): Request<AnalyzeEntitiesResponse>;
|
|
1273
1273
|
/** Analyzes the sentiment of the provided text. */
|
|
1274
1274
|
analyzeSentiment(request: {
|
|
@@ -1322,7 +1322,7 @@ declare namespace gapi.client {
|
|
|
1322
1322
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1323
1323
|
uploadType?: string;
|
|
1324
1324
|
},
|
|
1325
|
-
body: AnalyzeSentimentRequest
|
|
1325
|
+
body: AnalyzeSentimentRequest,
|
|
1326
1326
|
): Request<AnalyzeSentimentResponse>;
|
|
1327
1327
|
/** A convenience method that provides all features in one call. */
|
|
1328
1328
|
annotateText(request: {
|
|
@@ -1376,7 +1376,7 @@ declare namespace gapi.client {
|
|
|
1376
1376
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1377
1377
|
uploadType?: string;
|
|
1378
1378
|
},
|
|
1379
|
-
body: AnnotateTextRequest
|
|
1379
|
+
body: AnnotateTextRequest,
|
|
1380
1380
|
): Request<AnnotateTextResponse>;
|
|
1381
1381
|
/** Classifies a document into categories. */
|
|
1382
1382
|
classifyText(request: {
|
|
@@ -1430,7 +1430,7 @@ declare namespace gapi.client {
|
|
|
1430
1430
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1431
1431
|
uploadType?: string;
|
|
1432
1432
|
},
|
|
1433
|
-
body: ClassifyTextRequest
|
|
1433
|
+
body: ClassifyTextRequest,
|
|
1434
1434
|
): Request<ClassifyTextResponse>;
|
|
1435
1435
|
/** Moderates a document for harmful and sensitive categories. */
|
|
1436
1436
|
moderateText(request: {
|
|
@@ -1484,7 +1484,7 @@ declare namespace gapi.client {
|
|
|
1484
1484
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1485
1485
|
uploadType?: string;
|
|
1486
1486
|
},
|
|
1487
|
-
body: ModerateTextRequest
|
|
1487
|
+
body: ModerateTextRequest,
|
|
1488
1488
|
): Request<ModerateTextResponse>;
|
|
1489
1489
|
}
|
|
1490
1490
|
|
package/package.json
CHANGED
package/readme.md
CHANGED