@maxim_mazurok/gapi.client.language-v1beta2 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=v1beta2
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20241103
|
|
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 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. */
|
|
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 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. */
|
|
214
214
|
sentiment?: Sentiment;
|
|
215
215
|
/** The mention text. */
|
|
216
216
|
text?: TextSpan;
|
|
@@ -286,13 +286,13 @@ 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 AnalyzeSentimentRequest 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;
|
|
293
293
|
}
|
|
294
294
|
interface Sentiment {
|
|
295
|
-
/** A non-negative number in the [0, +inf
|
|
295
|
+
/** A non-negative number in the [0, +inf] range, which represents the absolute magnitude of sentiment regardless of score (positive or negative). */
|
|
296
296
|
magnitude?: number;
|
|
297
297
|
/** Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment). */
|
|
298
298
|
score?: number;
|
|
@@ -569,9 +569,9 @@ declare namespace gapi.client {
|
|
|
569
569
|
edgeTpuTfLiteFormat?: any;
|
|
570
570
|
/** For any model and format: If true, will additionally export FirebaseExportedModelInfo in a firebase.txt file. */
|
|
571
571
|
exportFirebaseAuxiliaryInfo?: boolean;
|
|
572
|
-
/** The Google Contained Registry
|
|
572
|
+
/** The Google Contained Registry path the exported files to be pushed to. This location is set if the exported format is DOCKDER. */
|
|
573
573
|
outputGcrUri?: string;
|
|
574
|
-
/** The Google Cloud Storage
|
|
574
|
+
/** The Google Cloud Storage directory where XPS will output the exported models and related files. Format: gs://bucket/directory */
|
|
575
575
|
outputGcsUri?: string;
|
|
576
576
|
tfJsFormat?: any;
|
|
577
577
|
tfLiteFormat?: any;
|
|
@@ -621,7 +621,7 @@ declare namespace gapi.client {
|
|
|
621
621
|
trainCostNodeSeconds?: string;
|
|
622
622
|
}
|
|
623
623
|
interface XPSImageExportModelSpec {
|
|
624
|
-
/** Contains the model format and internal location of the model files to be exported/downloaded. Use the
|
|
624
|
+
/** 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. */
|
|
625
625
|
exportModelOutputConfig?: XPSExportModelOutputConfig[];
|
|
626
626
|
}
|
|
627
627
|
interface XPSImageModelArtifactSpec {
|
|
@@ -629,13 +629,13 @@ declare namespace gapi.client {
|
|
|
629
629
|
checkpointArtifact?: XPSModelArtifactItem;
|
|
630
630
|
/** The model binary files in different formats for model export. */
|
|
631
631
|
exportArtifact?: XPSModelArtifactItem[];
|
|
632
|
-
/**
|
|
632
|
+
/** Google Cloud Storage URI of decoded labels file for model export 'dict.txt'. */
|
|
633
633
|
labelGcsUri?: string;
|
|
634
634
|
/** The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud AI Platform API. */
|
|
635
635
|
servingArtifact?: XPSModelArtifactItem;
|
|
636
|
-
/**
|
|
636
|
+
/** Google Cloud Storage URI prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin'. Deprecated. */
|
|
637
637
|
tfJsBinaryGcsPrefix?: string;
|
|
638
|
-
/**
|
|
638
|
+
/** Google Cloud Storage URI of Tensorflow Lite metadata 'tflite_metadata.json'. */
|
|
639
639
|
tfLiteMetadataGcsUri?: string;
|
|
640
640
|
}
|
|
641
641
|
interface XPSImageModelServingSpec {
|
|
@@ -732,7 +732,7 @@ declare namespace gapi.client {
|
|
|
732
732
|
interface XPSModelArtifactItem {
|
|
733
733
|
/** The model artifact format. */
|
|
734
734
|
artifactFormat?: string;
|
|
735
|
-
/** The Google Cloud Storage
|
|
735
|
+
/** The Google Cloud Storage URI that stores the model binary files. */
|
|
736
736
|
gcsUri?: string;
|
|
737
737
|
}
|
|
738
738
|
interface XPSPreprocessResponse {
|
|
@@ -1215,7 +1215,7 @@ declare namespace gapi.client {
|
|
|
1215
1215
|
trainCostNodeSeconds?: string;
|
|
1216
1216
|
}
|
|
1217
1217
|
interface XPSVideoExportModelSpec {
|
|
1218
|
-
/** Contains the model format and internal location of the model files to be exported/downloaded. Use the
|
|
1218
|
+
/** 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. */
|
|
1219
1219
|
exportModelOutputConfig?: XPSExportModelOutputConfig[];
|
|
1220
1220
|
}
|
|
1221
1221
|
interface XPSVideoModelArtifactSpec {
|