@maxim_mazurok/gapi.client.language-v2 0.0.20241027 → 0.0.20241103
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 +13 -13
- 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=v2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20241103
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -153,7 +153,7 @@ declare namespace gapi.client {
|
|
|
153
153
|
metadata?: {[P in string]: string};
|
|
154
154
|
/** The representative name for the entity. */
|
|
155
155
|
name?: string;
|
|
156
|
-
/** For calls to
|
|
156
|
+
/** For calls to AnalyzeEntitySentimentRequest 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. */
|
|
157
157
|
sentiment?: Sentiment;
|
|
158
158
|
/** The entity type. */
|
|
159
159
|
type?: string;
|
|
@@ -161,7 +161,7 @@ declare namespace gapi.client {
|
|
|
161
161
|
interface EntityMention {
|
|
162
162
|
/** Probability score associated with the entity. The score shows the probability of the entity mention being the entity type. The score is in (0, 1] range. */
|
|
163
163
|
probability?: number;
|
|
164
|
-
/** For calls to
|
|
164
|
+
/** For calls to AnalyzeEntitySentimentRequest 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. */
|
|
165
165
|
sentiment?: Sentiment;
|
|
166
166
|
/** The mention text. */
|
|
167
167
|
text?: TextSpan;
|
|
@@ -217,13 +217,13 @@ declare namespace gapi.client {
|
|
|
217
217
|
trackingLabels?: {[P in string]: string};
|
|
218
218
|
}
|
|
219
219
|
interface Sentence {
|
|
220
|
-
/** For calls to
|
|
220
|
+
/** For calls to AnalyzeSentimentRequest or if AnnotateTextRequest.Features.extract_document_sentiment is set to true, this field will contain the sentiment for the sentence. */
|
|
221
221
|
sentiment?: Sentiment;
|
|
222
222
|
/** The sentence text. */
|
|
223
223
|
text?: TextSpan;
|
|
224
224
|
}
|
|
225
225
|
interface Sentiment {
|
|
226
|
-
/** A non-negative number in the [0, +inf
|
|
226
|
+
/** A non-negative number in the [0, +inf] range, which represents the absolute magnitude of sentiment regardless of score (positive or negative). */
|
|
227
227
|
magnitude?: number;
|
|
228
228
|
/** Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment). */
|
|
229
229
|
score?: number;
|
|
@@ -490,9 +490,9 @@ declare namespace gapi.client {
|
|
|
490
490
|
edgeTpuTfLiteFormat?: any;
|
|
491
491
|
/** For any model and format: If true, will additionally export FirebaseExportedModelInfo in a firebase.txt file. */
|
|
492
492
|
exportFirebaseAuxiliaryInfo?: boolean;
|
|
493
|
-
/** The Google Contained Registry
|
|
493
|
+
/** The Google Contained Registry path the exported files to be pushed to. This location is set if the exported format is DOCKDER. */
|
|
494
494
|
outputGcrUri?: string;
|
|
495
|
-
/** The Google Cloud Storage
|
|
495
|
+
/** The Google Cloud Storage directory where XPS will output the exported models and related files. Format: gs://bucket/directory */
|
|
496
496
|
outputGcsUri?: string;
|
|
497
497
|
tfJsFormat?: any;
|
|
498
498
|
tfLiteFormat?: any;
|
|
@@ -542,7 +542,7 @@ declare namespace gapi.client {
|
|
|
542
542
|
trainCostNodeSeconds?: string;
|
|
543
543
|
}
|
|
544
544
|
interface XPSImageExportModelSpec {
|
|
545
|
-
/** Contains the model format and internal location of the model files to be exported/downloaded. Use the
|
|
545
|
+
/** Contains the model format and internal location of the model files to be exported/downloaded. Use the Google Cloud Storage bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files. */
|
|
546
546
|
exportModelOutputConfig?: XPSExportModelOutputConfig[];
|
|
547
547
|
}
|
|
548
548
|
interface XPSImageModelArtifactSpec {
|
|
@@ -550,13 +550,13 @@ declare namespace gapi.client {
|
|
|
550
550
|
checkpointArtifact?: XPSModelArtifactItem;
|
|
551
551
|
/** The model binary files in different formats for model export. */
|
|
552
552
|
exportArtifact?: XPSModelArtifactItem[];
|
|
553
|
-
/**
|
|
553
|
+
/** Google Cloud Storage URI of decoded labels file for model export 'dict.txt'. */
|
|
554
554
|
labelGcsUri?: string;
|
|
555
555
|
/** The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud AI Platform API. */
|
|
556
556
|
servingArtifact?: XPSModelArtifactItem;
|
|
557
|
-
/**
|
|
557
|
+
/** Google Cloud Storage URI prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin'. Deprecated. */
|
|
558
558
|
tfJsBinaryGcsPrefix?: string;
|
|
559
|
-
/**
|
|
559
|
+
/** Google Cloud Storage URI of Tensorflow Lite metadata 'tflite_metadata.json'. */
|
|
560
560
|
tfLiteMetadataGcsUri?: string;
|
|
561
561
|
}
|
|
562
562
|
interface XPSImageModelServingSpec {
|
|
@@ -653,7 +653,7 @@ declare namespace gapi.client {
|
|
|
653
653
|
interface XPSModelArtifactItem {
|
|
654
654
|
/** The model artifact format. */
|
|
655
655
|
artifactFormat?: string;
|
|
656
|
-
/** The Google Cloud Storage
|
|
656
|
+
/** The Google Cloud Storage URI that stores the model binary files. */
|
|
657
657
|
gcsUri?: string;
|
|
658
658
|
}
|
|
659
659
|
interface XPSPreprocessResponse {
|
|
@@ -1136,7 +1136,7 @@ declare namespace gapi.client {
|
|
|
1136
1136
|
trainCostNodeSeconds?: string;
|
|
1137
1137
|
}
|
|
1138
1138
|
interface XPSVideoExportModelSpec {
|
|
1139
|
-
/** Contains the model format and internal location of the model files to be exported/downloaded. Use the
|
|
1139
|
+
/** Contains the model format and internal location of the model files to be exported/downloaded. Use the Google Cloud Storage bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files. */
|
|
1140
1140
|
exportModelOutputConfig?: XPSExportModelOutputConfig[];
|
|
1141
1141
|
}
|
|
1142
1142
|
interface XPSVideoModelArtifactSpec {
|