From ab1d906884c89890cea66bd0016f540eef356627 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 28 Jan 2025 01:35:42 +0000 Subject: [PATCH] feat(language)!: update the API BREAKING CHANGE: This release has breaking changes. #### language:v1beta2 The following keys were deleted: - schemas.XPSColumnSpecForecastingMetadata.description - schemas.XPSPreprocessResponse.description - schemas.XPSTrainResponse.description The following keys were changed: - schemas.AnnotateTextRequestFeatures.description - schemas.CpuMetric.properties.machineSpec.enum - schemas.CpuMetric.properties.machineSpec.enumDescriptions - schemas.GpuMetric.properties.machineSpec.enum - schemas.GpuMetric.properties.machineSpec.enumDescriptions - schemas.InfraUsage.description - schemas.RamMetric.properties.machineSpec.enum - schemas.RamMetric.properties.machineSpec.enumDescriptions - schemas.Sentiment.description - schemas.Sentiment.properties.magnitude.description - schemas.XPSExportModelOutputConfig.properties.outputGcrUri.description - schemas.XPSExportModelOutputConfig.properties.outputGcsUri.description - schemas.XPSFileSpec.description - schemas.XPSFileSpec.properties.fileFormat.enumDescriptions - schemas.XPSImageExportModelSpec.properties.exportModelOutputConfig.description - schemas.XPSImageModelArtifactSpec.properties.labelGcsUri.description - schemas.XPSImageModelArtifactSpec.properties.tfJsBinaryGcsPrefix.description - schemas.XPSImageModelArtifactSpec.properties.tfLiteMetadataGcsUri.description - schemas.XPSImageModelServingSpecModelThroughputEstimation.properties.computeEngineAcceleratorType.enum - schemas.XPSImageModelServingSpecModelThroughputEstimation.properties.computeEngineAcceleratorType.enumDescriptions - schemas.XPSImageModelServingSpecModelThroughputEstimation.properties.servomaticPartitionType.enumDescriptions - schemas.XPSModelArtifactItem.properties.gcsUri.description - schemas.XPSResponseExplanationSpec.description - schemas.XPSTablesDatasetMetadata.description - schemas.XPSTextComponentModel.description - schemas.XPSTextComponentModel.properties.partition.enumDescriptions - schemas.XPSTextComponentModel.properties.submodelType.enumDescriptions - schemas.XPSVideoExportModelSpec.properties.exportModelOutputConfig.description #### language:v1 The following keys were deleted: - schemas.XPSColumnSpecForecastingMetadata.description - schemas.XPSPreprocessResponse.description - schemas.XPSTrainResponse.description The following keys were changed: - schemas.CpuMetric.properties.machineSpec.enum - schemas.CpuMetric.properties.machineSpec.enumDescriptions - schemas.GpuMetric.properties.machineSpec.enum - schemas.GpuMetric.properties.machineSpec.enumDescriptions - schemas.InfraUsage.description - schemas.RamMetric.properties.machineSpec.enum - schemas.RamMetric.properties.machineSpec.enumDescriptions - schemas.XPSExportModelOutputConfig.properties.outputGcrUri.description - schemas.XPSExportModelOutputConfig.properties.outputGcsUri.description - schemas.XPSFileSpec.description - schemas.XPSFileSpec.properties.fileFormat.enumDescriptions - schemas.XPSImageExportModelSpec.properties.exportModelOutputConfig.description - schemas.XPSImageModelArtifactSpec.properties.labelGcsUri.description - schemas.XPSImageModelArtifactSpec.properties.tfJsBinaryGcsPrefix.description - schemas.XPSImageModelArtifactSpec.properties.tfLiteMetadataGcsUri.description - schemas.XPSImageModelServingSpecModelThroughputEstimation.properties.computeEngineAcceleratorType.enum - schemas.XPSImageModelServingSpecModelThroughputEstimation.properties.computeEngineAcceleratorType.enumDescriptions - schemas.XPSImageModelServingSpecModelThroughputEstimation.properties.servomaticPartitionType.enumDescriptions - schemas.XPSModelArtifactItem.properties.gcsUri.description - schemas.XPSResponseExplanationSpec.description - schemas.XPSTablesDatasetMetadata.description - schemas.XPSTextComponentModel.description - schemas.XPSTextComponentModel.properties.partition.enumDescriptions - schemas.XPSTextComponentModel.properties.submodelType.enumDescriptions - schemas.XPSVideoExportModelSpec.properties.exportModelOutputConfig.description #### language:v2 The following keys were deleted: - schemas.XPSColumnSpecForecastingMetadata.description - schemas.XPSPreprocessResponse.description - schemas.XPSTrainResponse.description The following keys were changed: - schemas.AnalyzeEntitiesResponse.properties.languageCode.description - schemas.AnalyzeSentimentResponse.properties.languageCode.description - schemas.AnnotateTextResponse.properties.entities.description - schemas.AnnotateTextResponse.properties.languageCode.description - schemas.ClassifyTextResponse.properties.languageCode.description - schemas.CpuMetric.properties.machineSpec.enum - schemas.CpuMetric.properties.machineSpec.enumDescriptions - schemas.Entity.properties.sentiment.description - schemas.EntityMention.properties.sentiment.description - schemas.GpuMetric.properties.machineSpec.enum - schemas.GpuMetric.properties.machineSpec.enumDescriptions - schemas.InfraUsage.description - schemas.ModerateTextResponse.properties.languageCode.description - schemas.RamMetric.properties.machineSpec.enum - schemas.RamMetric.properties.machineSpec.enumDescriptions - schemas.Sentiment.properties.magnitude.description - schemas.XPSExportModelOutputConfig.properties.outputGcrUri.description - schemas.XPSExportModelOutputConfig.properties.outputGcsUri.description - schemas.XPSFileSpec.description - schemas.XPSFileSpec.properties.fileFormat.enumDescriptions - schemas.XPSImageExportModelSpec.properties.exportModelOutputConfig.description - schemas.XPSImageModelArtifactSpec.properties.labelGcsUri.description - schemas.XPSImageModelArtifactSpec.properties.tfJsBinaryGcsPrefix.description - schemas.XPSImageModelArtifactSpec.properties.tfLiteMetadataGcsUri.description - schemas.XPSImageModelServingSpecModelThroughputEstimation.properties.computeEngineAcceleratorType.enum - schemas.XPSImageModelServingSpecModelThroughputEstimation.properties.computeEngineAcceleratorType.enumDescriptions - schemas.XPSImageModelServingSpecModelThroughputEstimation.properties.servomaticPartitionType.enumDescriptions - schemas.XPSModelArtifactItem.properties.gcsUri.description - schemas.XPSResponseExplanationSpec.description - schemas.XPSTablesDatasetMetadata.description - schemas.XPSTextComponentModel.description - schemas.XPSTextComponentModel.properties.partition.enumDescriptions - schemas.XPSTextComponentModel.properties.submodelType.enumDescriptions - schemas.XPSVideoExportModelSpec.properties.exportModelOutputConfig.description --- discovery/language-v1.json | 47 +++++++++++++----------- discovery/language-v1beta2.json | 53 +++++++++++++++------------ discovery/language-v2.json | 65 ++++++++++++++++++--------------- src/apis/language/v1.ts | 35 +++++++----------- src/apis/language/v1beta2.ts | 41 ++++++++------------- src/apis/language/v2.ts | 53 +++++++++++---------------- 6 files changed, 141 insertions(+), 153 deletions(-) diff --git a/discovery/language-v1.json b/discovery/language-v1.json index ae0d3ed06c..dd35bd4e46 100644 --- a/discovery/language-v1.json +++ b/discovery/language-v1.json @@ -246,7 +246,7 @@ } } }, - "revision": "20240929", + "revision": "20250105", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { @@ -761,6 +761,7 @@ "A3_HIGHGPU_4G", "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", + "A3_ULTRAGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -1050,6 +1051,7 @@ "", "", "", + "", "" ], "type": "string" @@ -1486,6 +1488,7 @@ "A3_HIGHGPU_4G", "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", + "A3_ULTRAGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -1775,6 +1778,7 @@ "", "", "", + "", "" ], "type": "string" @@ -1790,7 +1794,7 @@ "type": "object" }, "InfraUsage": { - "description": "Infra Usage of billing metrics. Next ID: 6", + "description": "Infra Usage of billing metrics.", "id": "InfraUsage", "properties": { "cpuMetrics": { @@ -2170,6 +2174,7 @@ "A3_HIGHGPU_4G", "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", + "A3_ULTRAGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -2459,6 +2464,7 @@ "", "", "", + "", "" ], "type": "string" @@ -2889,7 +2895,6 @@ "type": "object" }, "XPSColumnSpecForecastingMetadata": { - "description": "=========================================================================== # The fields below are used exclusively for Forecasting.", "id": "XPSColumnSpecForecastingMetadata", "properties": { "columnType": { @@ -3382,11 +3387,11 @@ "type": "boolean" }, "outputGcrUri": { - "description": "The Google Contained Registry (GCR) path the exported files to be pushed to. This location is set if the exported format is DOCKDER.", + "description": "The Google Contained Registry path the exported files to be pushed to. This location is set if the exported format is DOCKDER.", "type": "string" }, "outputGcsUri": { - "description": "The Google Cloud Storage (GCS) directory where XPS will output the exported models and related files. Format: gs://bucket/directory", + "description": "The Google Cloud Storage directory where XPS will output the exported models and related files. Format: gs://bucket/directory", "type": "string" }, "tfJsFormat": { @@ -3402,7 +3407,7 @@ "type": "object" }, "XPSFileSpec": { - "description": "Spec of input and output files, on external file systems (CNS, GCS, etc).", + "description": "Spec of input and output files, on external file systems (for example, Colossus Namespace System or Google Cloud Storage).", "id": "XPSFileSpec", "properties": { "directoryPath": { @@ -3430,7 +3435,7 @@ "enumDescriptions": [ "", "", - "Internal format for parallel text data used by Google Translate. go/rkvtools", + "Internal format for parallel text data used by Google Translate.", "", "Only the lexicographically first file described by the file_spec contains the header line.", "" @@ -3559,7 +3564,7 @@ "id": "XPSImageExportModelSpec", "properties": { "exportModelOutputConfig": { - "description": "Contains the model format and internal location of the model files to be exported/downloaded. Use the GCS bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files.", + "description": "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.", "items": { "$ref": "XPSExportModelOutputConfig" }, @@ -3584,7 +3589,7 @@ "type": "array" }, "labelGcsUri": { - "description": "GCS uri of decoded labels file for model export 'dict.txt'.", + "description": "Google Cloud Storage URI of decoded labels file for model export 'dict.txt'.", "type": "string" }, "servingArtifact": { @@ -3592,11 +3597,11 @@ "description": "The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud AI Platform API." }, "tfJsBinaryGcsPrefix": { - "description": "GCS uri prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin' Deprecated.", + "description": "Google Cloud Storage URI prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin'. Deprecated.", "type": "string" }, "tfLiteMetadataGcsUri": { - "description": "GCS uri of Tensorflow Lite metadata 'tflite_metadata.json'.", + "description": "Google Cloud Storage URI of Tensorflow Lite metadata 'tflite_metadata.json'.", "type": "string" } }, @@ -3641,6 +3646,7 @@ "NVIDIA_L4", "NVIDIA_H100_80GB", "NVIDIA_H100_MEGA_80GB", + "NVIDIA_H200_141GB", "TPU_V2", "TPU_V3", "TPU_V4_POD", @@ -3658,6 +3664,7 @@ "Nvidia L4 GPU.", "Nvidia H100 80Gb GPU.", "Nvidia H100 80Gb GPU.", + "Nvidia H200 141Gb GPU.", "TPU v2 (JellyFish).", "TPU v3 (DragonFish).", "TPU_v4 (PufferFish).", @@ -3688,7 +3695,7 @@ "", "The default partition.", "It has significantly lower replication than partition-0 and is located in the US only. It also has a larger model size limit and higher default RAM quota than partition-0. Customers with batch traffic, US-based traffic, or very large models should use this partition. Capacity in this partition is significantly cheaper than partition-0.", - "To be used by customers with Jellyfish-accelerated ops. See go/servomatic-jellyfish for details.", + "To be used by customers with Jellyfish-accelerated ops.", "The partition used by regionalized servomatic cloud regions.", "The partition used for loading models from custom storage." ], @@ -3948,14 +3955,13 @@ "type": "string" }, "gcsUri": { - "description": "The Google Cloud Storage (GCS) uri that stores the model binary files.", + "description": "The Google Cloud Storage URI that stores the model binary files.", "type": "string" } }, "type": "object" }, "XPSPreprocessResponse": { - "description": "Next ID: 8", "id": "XPSPreprocessResponse", "properties": { "outputExampleSet": { @@ -4129,7 +4135,7 @@ }, "XPSResponseExplanationSpec": { "deprecated": true, - "description": "Specification of Model explanation. Feature-based XAI in AutoML Vision ICN is deprecated, see b/288407203 for context.", + "description": "Specification of Model explanation. Feature-based XAI in AutoML Vision ICN is deprecated.", "id": "XPSResponseExplanationSpec", "properties": { "explanationType": { @@ -4585,7 +4591,7 @@ "type": "object" }, "XPSTablesDatasetMetadata": { - "description": "Metadata for a dataset used for AutoML Tables. Next ID: 6", + "description": "Metadata for a dataset used for AutoML Tables.", "id": "XPSTablesDatasetMetadata", "properties": { "mlUseColumnId": { @@ -4829,7 +4835,7 @@ "type": "object" }, "XPSTextComponentModel": { - "description": "Component model. Next ID: 10", + "description": "Component model.", "id": "XPSTextComponentModel", "properties": { "batchPredictionModelGcsUri": { @@ -4854,7 +4860,7 @@ "", "The default partition.", "It has significantly lower replication than partition-0 and is located in the US only. It also has a larger model size limit and higher default RAM quota than partition-0. Customers with batch traffic, US-based traffic, or very large models should use this partition. Capacity in this partition is significantly cheaper than partition-0.", - "To be used by customers with Jellyfish-accelerated ops. See go/servomatic-jellyfish for details.", + "To be used by customers with Jellyfish-accelerated ops.", "The partition used by regionalized servomatic cloud regions.", "The partition used for loading models from custom storage." ], @@ -4899,7 +4905,7 @@ "", "Model type for entity extraction.", "Model type for relationship extraction.", - "A composite model represents a set of component models that have to be used together for prediction. A composite model appears to be a single model to the model user. It may contain only one component model. Please refer to go/cnl-composite-models for more information.", + "A composite model represents a set of component models that have to be used together for prediction. A composite model appears to be a single model to the model user. It may contain only one component model.", "Model type used to train default, MA, and ATC models in a single batch worker pipeline.", "BERT pipeline needs a specific model type, since it uses a different TFX configuration compared with DEFAULT (despite sharing most of the code).", "Model type for EncPaLM." @@ -5134,7 +5140,6 @@ "type": "object" }, "XPSTrainResponse": { - "description": "Next ID: 18", "id": "XPSTrainResponse", "properties": { "deployedModelSizeBytes": { @@ -5411,7 +5416,7 @@ "id": "XPSVideoExportModelSpec", "properties": { "exportModelOutputConfig": { - "description": "Contains the model format and internal location of the model files to be exported/downloaded. Use the GCS bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files.", + "description": "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.", "items": { "$ref": "XPSExportModelOutputConfig" }, diff --git a/discovery/language-v1beta2.json b/discovery/language-v1beta2.json index 9c4ca533dc..01812cee23 100644 --- a/discovery/language-v1beta2.json +++ b/discovery/language-v1beta2.json @@ -246,7 +246,7 @@ } } }, - "revision": "20240929", + "revision": "20250105", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { @@ -472,7 +472,7 @@ "type": "object" }, "AnnotateTextRequestFeatures": { - "description": "All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input. Next ID: 12", + "description": "All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input.", "id": "AnnotateTextRequestFeatures", "properties": { "classificationModelOptions": { @@ -761,6 +761,7 @@ "A3_HIGHGPU_4G", "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", + "A3_ULTRAGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -1050,6 +1051,7 @@ "", "", "", + "", "" ], "type": "string" @@ -1504,6 +1506,7 @@ "A3_HIGHGPU_4G", "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", + "A3_ULTRAGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -1793,6 +1796,7 @@ "", "", "", + "", "" ], "type": "string" @@ -1808,7 +1812,7 @@ "type": "object" }, "InfraUsage": { - "description": "Infra Usage of billing metrics. Next ID: 6", + "description": "Infra Usage of billing metrics.", "id": "InfraUsage", "properties": { "cpuMetrics": { @@ -2188,6 +2192,7 @@ "A3_HIGHGPU_4G", "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", + "A3_ULTRAGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -2477,6 +2482,7 @@ "", "", "", + "", "" ], "type": "string" @@ -2550,11 +2556,11 @@ "type": "object" }, "Sentiment": { - "description": "Represents the feeling associated with the entire text or entities in the text. Next ID: 6", + "description": "Represents the feeling associated with the entire text or entities in the text.", "id": "Sentiment", "properties": { "magnitude": { - "description": "A non-negative number in the [0, +inf) range, which represents the absolute magnitude of sentiment regardless of score (positive or negative).", + "description": "A non-negative number in the [0, +inf] range, which represents the absolute magnitude of sentiment regardless of score (positive or negative).", "format": "float", "type": "number" }, @@ -2907,7 +2913,6 @@ "type": "object" }, "XPSColumnSpecForecastingMetadata": { - "description": "=========================================================================== # The fields below are used exclusively for Forecasting.", "id": "XPSColumnSpecForecastingMetadata", "properties": { "columnType": { @@ -3400,11 +3405,11 @@ "type": "boolean" }, "outputGcrUri": { - "description": "The Google Contained Registry (GCR) path the exported files to be pushed to. This location is set if the exported format is DOCKDER.", + "description": "The Google Contained Registry path the exported files to be pushed to. This location is set if the exported format is DOCKDER.", "type": "string" }, "outputGcsUri": { - "description": "The Google Cloud Storage (GCS) directory where XPS will output the exported models and related files. Format: gs://bucket/directory", + "description": "The Google Cloud Storage directory where XPS will output the exported models and related files. Format: gs://bucket/directory", "type": "string" }, "tfJsFormat": { @@ -3420,7 +3425,7 @@ "type": "object" }, "XPSFileSpec": { - "description": "Spec of input and output files, on external file systems (CNS, GCS, etc).", + "description": "Spec of input and output files, on external file systems (for example, Colossus Namespace System or Google Cloud Storage).", "id": "XPSFileSpec", "properties": { "directoryPath": { @@ -3448,7 +3453,7 @@ "enumDescriptions": [ "", "", - "Internal format for parallel text data used by Google Translate. go/rkvtools", + "Internal format for parallel text data used by Google Translate.", "", "Only the lexicographically first file described by the file_spec contains the header line.", "" @@ -3577,7 +3582,7 @@ "id": "XPSImageExportModelSpec", "properties": { "exportModelOutputConfig": { - "description": "Contains the model format and internal location of the model files to be exported/downloaded. Use the GCS bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files.", + "description": "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.", "items": { "$ref": "XPSExportModelOutputConfig" }, @@ -3602,7 +3607,7 @@ "type": "array" }, "labelGcsUri": { - "description": "GCS uri of decoded labels file for model export 'dict.txt'.", + "description": "Google Cloud Storage URI of decoded labels file for model export 'dict.txt'.", "type": "string" }, "servingArtifact": { @@ -3610,11 +3615,11 @@ "description": "The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud AI Platform API." }, "tfJsBinaryGcsPrefix": { - "description": "GCS uri prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin' Deprecated.", + "description": "Google Cloud Storage URI prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin'. Deprecated.", "type": "string" }, "tfLiteMetadataGcsUri": { - "description": "GCS uri of Tensorflow Lite metadata 'tflite_metadata.json'.", + "description": "Google Cloud Storage URI of Tensorflow Lite metadata 'tflite_metadata.json'.", "type": "string" } }, @@ -3659,6 +3664,7 @@ "NVIDIA_L4", "NVIDIA_H100_80GB", "NVIDIA_H100_MEGA_80GB", + "NVIDIA_H200_141GB", "TPU_V2", "TPU_V3", "TPU_V4_POD", @@ -3676,6 +3682,7 @@ "Nvidia L4 GPU.", "Nvidia H100 80Gb GPU.", "Nvidia H100 80Gb GPU.", + "Nvidia H200 141Gb GPU.", "TPU v2 (JellyFish).", "TPU v3 (DragonFish).", "TPU_v4 (PufferFish).", @@ -3706,7 +3713,7 @@ "", "The default partition.", "It has significantly lower replication than partition-0 and is located in the US only. It also has a larger model size limit and higher default RAM quota than partition-0. Customers with batch traffic, US-based traffic, or very large models should use this partition. Capacity in this partition is significantly cheaper than partition-0.", - "To be used by customers with Jellyfish-accelerated ops. See go/servomatic-jellyfish for details.", + "To be used by customers with Jellyfish-accelerated ops.", "The partition used by regionalized servomatic cloud regions.", "The partition used for loading models from custom storage." ], @@ -3966,14 +3973,13 @@ "type": "string" }, "gcsUri": { - "description": "The Google Cloud Storage (GCS) uri that stores the model binary files.", + "description": "The Google Cloud Storage URI that stores the model binary files.", "type": "string" } }, "type": "object" }, "XPSPreprocessResponse": { - "description": "Next ID: 8", "id": "XPSPreprocessResponse", "properties": { "outputExampleSet": { @@ -4147,7 +4153,7 @@ }, "XPSResponseExplanationSpec": { "deprecated": true, - "description": "Specification of Model explanation. Feature-based XAI in AutoML Vision ICN is deprecated, see b/288407203 for context.", + "description": "Specification of Model explanation. Feature-based XAI in AutoML Vision ICN is deprecated.", "id": "XPSResponseExplanationSpec", "properties": { "explanationType": { @@ -4603,7 +4609,7 @@ "type": "object" }, "XPSTablesDatasetMetadata": { - "description": "Metadata for a dataset used for AutoML Tables. Next ID: 6", + "description": "Metadata for a dataset used for AutoML Tables.", "id": "XPSTablesDatasetMetadata", "properties": { "mlUseColumnId": { @@ -4847,7 +4853,7 @@ "type": "object" }, "XPSTextComponentModel": { - "description": "Component model. Next ID: 10", + "description": "Component model.", "id": "XPSTextComponentModel", "properties": { "batchPredictionModelGcsUri": { @@ -4872,7 +4878,7 @@ "", "The default partition.", "It has significantly lower replication than partition-0 and is located in the US only. It also has a larger model size limit and higher default RAM quota than partition-0. Customers with batch traffic, US-based traffic, or very large models should use this partition. Capacity in this partition is significantly cheaper than partition-0.", - "To be used by customers with Jellyfish-accelerated ops. See go/servomatic-jellyfish for details.", + "To be used by customers with Jellyfish-accelerated ops.", "The partition used by regionalized servomatic cloud regions.", "The partition used for loading models from custom storage." ], @@ -4917,7 +4923,7 @@ "", "Model type for entity extraction.", "Model type for relationship extraction.", - "A composite model represents a set of component models that have to be used together for prediction. A composite model appears to be a single model to the model user. It may contain only one component model. Please refer to go/cnl-composite-models for more information.", + "A composite model represents a set of component models that have to be used together for prediction. A composite model appears to be a single model to the model user. It may contain only one component model.", "Model type used to train default, MA, and ATC models in a single batch worker pipeline.", "BERT pipeline needs a specific model type, since it uses a different TFX configuration compared with DEFAULT (despite sharing most of the code).", "Model type for EncPaLM." @@ -5152,7 +5158,6 @@ "type": "object" }, "XPSTrainResponse": { - "description": "Next ID: 18", "id": "XPSTrainResponse", "properties": { "deployedModelSizeBytes": { @@ -5429,7 +5434,7 @@ "id": "XPSVideoExportModelSpec", "properties": { "exportModelOutputConfig": { - "description": "Contains the model format and internal location of the model files to be exported/downloaded. Use the GCS bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files.", + "description": "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.", "items": { "$ref": "XPSExportModelOutputConfig" }, diff --git a/discovery/language-v2.json b/discovery/language-v2.json index 8cf36eb865..e70969ae70 100644 --- a/discovery/language-v2.json +++ b/discovery/language-v2.json @@ -208,7 +208,7 @@ } } }, - "revision": "20240929", + "revision": "20250105", "rootUrl": "https://language.googleapis.com/", "schemas": { "AnalyzeEntitiesRequest": { @@ -250,7 +250,7 @@ "type": "array" }, "languageCode": { - "description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.", + "description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language_code field for more details.", "type": "string" }, "languageSupported": { @@ -296,7 +296,7 @@ "description": "The overall sentiment of the input document." }, "languageCode": { - "description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.", + "description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language_code field for more details.", "type": "string" }, "languageSupported": { @@ -383,14 +383,14 @@ "description": "The overall sentiment for the document. Populated if the user enables AnnotateTextRequest.Features.extract_document_sentiment." }, "entities": { - "description": "Entities, along with their semantic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_entities or AnnotateTextRequest.Features.extract_entity_sentiment.", + "description": "Entities, along with their semantic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_entities .", "items": { "$ref": "Entity" }, "type": "array" }, "languageCode": { - "description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.", + "description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language_code field for more details.", "type": "string" }, "languageSupported": { @@ -458,7 +458,7 @@ "type": "array" }, "languageCode": { - "description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.", + "description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language_code field for more details.", "type": "string" }, "languageSupported": { @@ -586,6 +586,7 @@ "A3_HIGHGPU_4G", "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", + "A3_ULTRAGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -875,6 +876,7 @@ "", "", "", + "", "" ], "type": "string" @@ -977,7 +979,7 @@ }, "sentiment": { "$ref": "Sentiment", - "description": "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." + "description": "For calls to AnalyzeEntitySentiment this field will contain the aggregate sentiment expressed for this entity in the provided document." }, "type": { "description": "The entity type.", @@ -1027,7 +1029,7 @@ }, "sentiment": { "$ref": "Sentiment", - "description": "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." + "description": "For calls to AnalyzeEntitySentiment this field will contain the sentiment expressed for this mention of the entity in the provided document." }, "text": { "$ref": "TextSpan", @@ -1125,6 +1127,7 @@ "A3_HIGHGPU_4G", "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", + "A3_ULTRAGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -1414,6 +1417,7 @@ "", "", "", + "", "" ], "type": "string" @@ -1429,7 +1433,7 @@ "type": "object" }, "InfraUsage": { - "description": "Infra Usage of billing metrics. Next ID: 6", + "description": "Infra Usage of billing metrics.", "id": "InfraUsage", "properties": { "cpuMetrics": { @@ -1500,7 +1504,7 @@ "id": "ModerateTextResponse", "properties": { "languageCode": { - "description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details.", + "description": "The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language_code field for more details.", "type": "string" }, "languageSupported": { @@ -1564,6 +1568,7 @@ "A3_HIGHGPU_4G", "A3_HIGHGPU_8G", "A3_MEGAGPU_8G", + "A3_ULTRAGPU_8G", "E2_STANDARD_2", "E2_STANDARD_4", "E2_STANDARD_8", @@ -1853,6 +1858,7 @@ "", "", "", + "", "" ], "type": "string" @@ -1930,7 +1936,7 @@ "id": "Sentiment", "properties": { "magnitude": { - "description": "A non-negative number in the [0, +inf) range, which represents the absolute magnitude of sentiment regardless of score (positive or negative).", + "description": "A non-negative number in the [0, +inf] range, which represents the absolute magnitude of sentiment regardless of score (positive or negative).", "format": "float", "type": "number" }, @@ -2260,7 +2266,6 @@ "type": "object" }, "XPSColumnSpecForecastingMetadata": { - "description": "=========================================================================== # The fields below are used exclusively for Forecasting.", "id": "XPSColumnSpecForecastingMetadata", "properties": { "columnType": { @@ -2753,11 +2758,11 @@ "type": "boolean" }, "outputGcrUri": { - "description": "The Google Contained Registry (GCR) path the exported files to be pushed to. This location is set if the exported format is DOCKDER.", + "description": "The Google Contained Registry path the exported files to be pushed to. This location is set if the exported format is DOCKDER.", "type": "string" }, "outputGcsUri": { - "description": "The Google Cloud Storage (GCS) directory where XPS will output the exported models and related files. Format: gs://bucket/directory", + "description": "The Google Cloud Storage directory where XPS will output the exported models and related files. Format: gs://bucket/directory", "type": "string" }, "tfJsFormat": { @@ -2773,7 +2778,7 @@ "type": "object" }, "XPSFileSpec": { - "description": "Spec of input and output files, on external file systems (CNS, GCS, etc).", + "description": "Spec of input and output files, on external file systems (for example, Colossus Namespace System or Google Cloud Storage).", "id": "XPSFileSpec", "properties": { "directoryPath": { @@ -2801,7 +2806,7 @@ "enumDescriptions": [ "", "", - "Internal format for parallel text data used by Google Translate. go/rkvtools", + "Internal format for parallel text data used by Google Translate.", "", "Only the lexicographically first file described by the file_spec contains the header line.", "" @@ -2930,7 +2935,7 @@ "id": "XPSImageExportModelSpec", "properties": { "exportModelOutputConfig": { - "description": "Contains the model format and internal location of the model files to be exported/downloaded. Use the GCS bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files.", + "description": "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.", "items": { "$ref": "XPSExportModelOutputConfig" }, @@ -2955,7 +2960,7 @@ "type": "array" }, "labelGcsUri": { - "description": "GCS uri of decoded labels file for model export 'dict.txt'.", + "description": "Google Cloud Storage URI of decoded labels file for model export 'dict.txt'.", "type": "string" }, "servingArtifact": { @@ -2963,11 +2968,11 @@ "description": "The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud AI Platform API." }, "tfJsBinaryGcsPrefix": { - "description": "GCS uri prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin' Deprecated.", + "description": "Google Cloud Storage URI prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin'. Deprecated.", "type": "string" }, "tfLiteMetadataGcsUri": { - "description": "GCS uri of Tensorflow Lite metadata 'tflite_metadata.json'.", + "description": "Google Cloud Storage URI of Tensorflow Lite metadata 'tflite_metadata.json'.", "type": "string" } }, @@ -3012,6 +3017,7 @@ "NVIDIA_L4", "NVIDIA_H100_80GB", "NVIDIA_H100_MEGA_80GB", + "NVIDIA_H200_141GB", "TPU_V2", "TPU_V3", "TPU_V4_POD", @@ -3029,6 +3035,7 @@ "Nvidia L4 GPU.", "Nvidia H100 80Gb GPU.", "Nvidia H100 80Gb GPU.", + "Nvidia H200 141Gb GPU.", "TPU v2 (JellyFish).", "TPU v3 (DragonFish).", "TPU_v4 (PufferFish).", @@ -3059,7 +3066,7 @@ "", "The default partition.", "It has significantly lower replication than partition-0 and is located in the US only. It also has a larger model size limit and higher default RAM quota than partition-0. Customers with batch traffic, US-based traffic, or very large models should use this partition. Capacity in this partition is significantly cheaper than partition-0.", - "To be used by customers with Jellyfish-accelerated ops. See go/servomatic-jellyfish for details.", + "To be used by customers with Jellyfish-accelerated ops.", "The partition used by regionalized servomatic cloud regions.", "The partition used for loading models from custom storage." ], @@ -3319,14 +3326,13 @@ "type": "string" }, "gcsUri": { - "description": "The Google Cloud Storage (GCS) uri that stores the model binary files.", + "description": "The Google Cloud Storage URI that stores the model binary files.", "type": "string" } }, "type": "object" }, "XPSPreprocessResponse": { - "description": "Next ID: 8", "id": "XPSPreprocessResponse", "properties": { "outputExampleSet": { @@ -3500,7 +3506,7 @@ }, "XPSResponseExplanationSpec": { "deprecated": true, - "description": "Specification of Model explanation. Feature-based XAI in AutoML Vision ICN is deprecated, see b/288407203 for context.", + "description": "Specification of Model explanation. Feature-based XAI in AutoML Vision ICN is deprecated.", "id": "XPSResponseExplanationSpec", "properties": { "explanationType": { @@ -3956,7 +3962,7 @@ "type": "object" }, "XPSTablesDatasetMetadata": { - "description": "Metadata for a dataset used for AutoML Tables. Next ID: 6", + "description": "Metadata for a dataset used for AutoML Tables.", "id": "XPSTablesDatasetMetadata", "properties": { "mlUseColumnId": { @@ -4200,7 +4206,7 @@ "type": "object" }, "XPSTextComponentModel": { - "description": "Component model. Next ID: 10", + "description": "Component model.", "id": "XPSTextComponentModel", "properties": { "batchPredictionModelGcsUri": { @@ -4225,7 +4231,7 @@ "", "The default partition.", "It has significantly lower replication than partition-0 and is located in the US only. It also has a larger model size limit and higher default RAM quota than partition-0. Customers with batch traffic, US-based traffic, or very large models should use this partition. Capacity in this partition is significantly cheaper than partition-0.", - "To be used by customers with Jellyfish-accelerated ops. See go/servomatic-jellyfish for details.", + "To be used by customers with Jellyfish-accelerated ops.", "The partition used by regionalized servomatic cloud regions.", "The partition used for loading models from custom storage." ], @@ -4270,7 +4276,7 @@ "", "Model type for entity extraction.", "Model type for relationship extraction.", - "A composite model represents a set of component models that have to be used together for prediction. A composite model appears to be a single model to the model user. It may contain only one component model. Please refer to go/cnl-composite-models for more information.", + "A composite model represents a set of component models that have to be used together for prediction. A composite model appears to be a single model to the model user. It may contain only one component model.", "Model type used to train default, MA, and ATC models in a single batch worker pipeline.", "BERT pipeline needs a specific model type, since it uses a different TFX configuration compared with DEFAULT (despite sharing most of the code).", "Model type for EncPaLM." @@ -4505,7 +4511,6 @@ "type": "object" }, "XPSTrainResponse": { - "description": "Next ID: 18", "id": "XPSTrainResponse", "properties": { "deployedModelSizeBytes": { @@ -4782,7 +4787,7 @@ "id": "XPSVideoExportModelSpec", "properties": { "exportModelOutputConfig": { - "description": "Contains the model format and internal location of the model files to be exported/downloaded. Use the GCS bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files.", + "description": "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.", "items": { "$ref": "XPSExportModelOutputConfig" }, diff --git a/src/apis/language/v1.ts b/src/apis/language/v1.ts index a901e59d94..631e353045 100644 --- a/src/apis/language/v1.ts +++ b/src/apis/language/v1.ts @@ -535,7 +535,7 @@ export namespace language_v1 { trackingLabels?: {[key: string]: string} | null; } /** - * Infra Usage of billing metrics. Next ID: 6 + * Infra Usage of billing metrics. */ export interface Schema$InfraUsage { /** @@ -914,9 +914,6 @@ export namespace language_v1 { columnId?: number | null; correlationStats?: Schema$XPSCorrelationStats; } - /** - * =========================================================================== # The fields below are used exclusively for Forecasting. - */ export interface Schema$XPSColumnSpecForecastingMetadata { /** * The type of the column for FORECASTING model training purposes. @@ -1220,11 +1217,11 @@ export namespace language_v1 { */ exportFirebaseAuxiliaryInfo?: boolean | null; /** - * The Google Contained Registry (GCR) path the exported files to be pushed to. This location is set if the exported format is DOCKDER. + * The Google Contained Registry path the exported files to be pushed to. This location is set if the exported format is DOCKDER. */ outputGcrUri?: string | null; /** - * The Google Cloud Storage (GCS) directory where XPS will output the exported models and related files. Format: gs://bucket/directory + * The Google Cloud Storage directory where XPS will output the exported models and related files. Format: gs://bucket/directory */ outputGcsUri?: string | null; tfJsFormat?: Schema$XPSTfJsFormat; @@ -1232,7 +1229,7 @@ export namespace language_v1 { tfSavedModelFormat?: Schema$XPSTfSavedModelFormat; } /** - * Spec of input and output files, on external file systems (CNS, GCS, etc). + * Spec of input and output files, on external file systems (for example, Colossus Namespace System or Google Cloud Storage). */ export interface Schema$XPSFileSpec { /** @@ -1320,7 +1317,7 @@ export namespace language_v1 { */ export interface Schema$XPSImageExportModelSpec { /** - * Contains the model format and internal location of the model files to be exported/downloaded. Use the GCS bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files. + * 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. */ exportModelOutputConfig?: Schema$XPSExportModelOutputConfig[]; } @@ -1337,7 +1334,7 @@ export namespace language_v1 { */ exportArtifact?: Schema$XPSModelArtifactItem[]; /** - * GCS uri of decoded labels file for model export 'dict.txt'. + * Google Cloud Storage URI of decoded labels file for model export 'dict.txt'. */ labelGcsUri?: string | null; /** @@ -1345,11 +1342,11 @@ export namespace language_v1 { */ servingArtifact?: Schema$XPSModelArtifactItem; /** - * GCS uri prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin' Deprecated. + * Google Cloud Storage URI prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin'. Deprecated. */ tfJsBinaryGcsPrefix?: string | null; /** - * GCS uri of Tensorflow Lite metadata 'tflite_metadata.json'. + * Google Cloud Storage URI of Tensorflow Lite metadata 'tflite_metadata.json'. */ tfLiteMetadataGcsUri?: string | null; } @@ -1534,13 +1531,10 @@ export namespace language_v1 { */ artifactFormat?: string | null; /** - * The Google Cloud Storage (GCS) uri that stores the model binary files. + * The Google Cloud Storage URI that stores the model binary files. */ gcsUri?: string | null; } - /** - * Next ID: 8 - */ export interface Schema$XPSPreprocessResponse { /** * Preprocessed examples, that are to be imported into AutoML storage. This should point to RecordIO file(s) of PreprocessedExample messages. The PreprocessedExample.mvp_training_data-s returned here are later verbatim passed to Train() call in TrainExample.mvp_training_data. @@ -1653,7 +1647,7 @@ export namespace language_v1 { xraiAttribution?: Schema$XPSXraiAttribution; } /** - * Specification of Model explanation. Feature-based XAI in AutoML Vision ICN is deprecated, see b/288407203 for context. + * Specification of Model explanation. Feature-based XAI in AutoML Vision ICN is deprecated. */ export interface Schema$XPSResponseExplanationSpec { /** @@ -1929,7 +1923,7 @@ export namespace language_v1 { truePositiveRate?: number | null; } /** - * Metadata for a dataset used for AutoML Tables. Next ID: 6 + * Metadata for a dataset used for AutoML Tables. */ export interface Schema$XPSTablesDatasetMetadata { /** @@ -2110,7 +2104,7 @@ export namespace language_v1 { trainCostMilliNodeHours?: string | null; } /** - * Component model. Next ID: 10 + * Component model. */ export interface Schema$XPSTextComponentModel { /** @@ -2311,9 +2305,6 @@ export namespace language_v1 { */ value?: number | null; } - /** - * Next ID: 18 - */ export interface Schema$XPSTrainResponse { /** * Estimated model size in bytes once deployed. @@ -2484,7 +2475,7 @@ export namespace language_v1 { */ export interface Schema$XPSVideoExportModelSpec { /** - * Contains the model format and internal location of the model files to be exported/downloaded. Use the GCS bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files. + * 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. */ exportModelOutputConfig?: Schema$XPSExportModelOutputConfig[]; } diff --git a/src/apis/language/v1beta2.ts b/src/apis/language/v1beta2.ts index d55d765105..f233ef4712 100644 --- a/src/apis/language/v1beta2.ts +++ b/src/apis/language/v1beta2.ts @@ -254,7 +254,7 @@ export namespace language_v1beta2 { features?: Schema$AnnotateTextRequestFeatures; } /** - * All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input. Next ID: 12 + * All available features for sentiment, syntax, and semantic analysis. Setting each one to true will enable that specific analysis for the input. */ export interface Schema$AnnotateTextRequestFeatures { /** @@ -543,7 +543,7 @@ export namespace language_v1beta2 { trackingLabels?: {[key: string]: string} | null; } /** - * Infra Usage of billing metrics. Next ID: 6 + * Infra Usage of billing metrics. */ export interface Schema$InfraUsage { /** @@ -674,11 +674,11 @@ export namespace language_v1beta2 { text?: Schema$TextSpan; } /** - * Represents the feeling associated with the entire text or entities in the text. Next ID: 6 + * Represents the feeling associated with the entire text or entities in the text. */ export interface Schema$Sentiment { /** - * A non-negative number in the [0, +inf) range, which represents the absolute magnitude of sentiment regardless of score (positive or negative). + * A non-negative number in the [0, +inf] range, which represents the absolute magnitude of sentiment regardless of score (positive or negative). */ magnitude?: number | null; /** @@ -922,9 +922,6 @@ export namespace language_v1beta2 { columnId?: number | null; correlationStats?: Schema$XPSCorrelationStats; } - /** - * =========================================================================== # The fields below are used exclusively for Forecasting. - */ export interface Schema$XPSColumnSpecForecastingMetadata { /** * The type of the column for FORECASTING model training purposes. @@ -1228,11 +1225,11 @@ export namespace language_v1beta2 { */ exportFirebaseAuxiliaryInfo?: boolean | null; /** - * The Google Contained Registry (GCR) path the exported files to be pushed to. This location is set if the exported format is DOCKDER. + * The Google Contained Registry path the exported files to be pushed to. This location is set if the exported format is DOCKDER. */ outputGcrUri?: string | null; /** - * The Google Cloud Storage (GCS) directory where XPS will output the exported models and related files. Format: gs://bucket/directory + * The Google Cloud Storage directory where XPS will output the exported models and related files. Format: gs://bucket/directory */ outputGcsUri?: string | null; tfJsFormat?: Schema$XPSTfJsFormat; @@ -1240,7 +1237,7 @@ export namespace language_v1beta2 { tfSavedModelFormat?: Schema$XPSTfSavedModelFormat; } /** - * Spec of input and output files, on external file systems (CNS, GCS, etc). + * Spec of input and output files, on external file systems (for example, Colossus Namespace System or Google Cloud Storage). */ export interface Schema$XPSFileSpec { /** @@ -1328,7 +1325,7 @@ export namespace language_v1beta2 { */ export interface Schema$XPSImageExportModelSpec { /** - * Contains the model format and internal location of the model files to be exported/downloaded. Use the GCS bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files. + * 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. */ exportModelOutputConfig?: Schema$XPSExportModelOutputConfig[]; } @@ -1345,7 +1342,7 @@ export namespace language_v1beta2 { */ exportArtifact?: Schema$XPSModelArtifactItem[]; /** - * GCS uri of decoded labels file for model export 'dict.txt'. + * Google Cloud Storage URI of decoded labels file for model export 'dict.txt'. */ labelGcsUri?: string | null; /** @@ -1353,11 +1350,11 @@ export namespace language_v1beta2 { */ servingArtifact?: Schema$XPSModelArtifactItem; /** - * GCS uri prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin' Deprecated. + * Google Cloud Storage URI prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin'. Deprecated. */ tfJsBinaryGcsPrefix?: string | null; /** - * GCS uri of Tensorflow Lite metadata 'tflite_metadata.json'. + * Google Cloud Storage URI of Tensorflow Lite metadata 'tflite_metadata.json'. */ tfLiteMetadataGcsUri?: string | null; } @@ -1542,13 +1539,10 @@ export namespace language_v1beta2 { */ artifactFormat?: string | null; /** - * The Google Cloud Storage (GCS) uri that stores the model binary files. + * The Google Cloud Storage URI that stores the model binary files. */ gcsUri?: string | null; } - /** - * Next ID: 8 - */ export interface Schema$XPSPreprocessResponse { /** * Preprocessed examples, that are to be imported into AutoML storage. This should point to RecordIO file(s) of PreprocessedExample messages. The PreprocessedExample.mvp_training_data-s returned here are later verbatim passed to Train() call in TrainExample.mvp_training_data. @@ -1661,7 +1655,7 @@ export namespace language_v1beta2 { xraiAttribution?: Schema$XPSXraiAttribution; } /** - * Specification of Model explanation. Feature-based XAI in AutoML Vision ICN is deprecated, see b/288407203 for context. + * Specification of Model explanation. Feature-based XAI in AutoML Vision ICN is deprecated. */ export interface Schema$XPSResponseExplanationSpec { /** @@ -1937,7 +1931,7 @@ export namespace language_v1beta2 { truePositiveRate?: number | null; } /** - * Metadata for a dataset used for AutoML Tables. Next ID: 6 + * Metadata for a dataset used for AutoML Tables. */ export interface Schema$XPSTablesDatasetMetadata { /** @@ -2118,7 +2112,7 @@ export namespace language_v1beta2 { trainCostMilliNodeHours?: string | null; } /** - * Component model. Next ID: 10 + * Component model. */ export interface Schema$XPSTextComponentModel { /** @@ -2319,9 +2313,6 @@ export namespace language_v1beta2 { */ value?: number | null; } - /** - * Next ID: 18 - */ export interface Schema$XPSTrainResponse { /** * Estimated model size in bytes once deployed. @@ -2492,7 +2483,7 @@ export namespace language_v1beta2 { */ export interface Schema$XPSVideoExportModelSpec { /** - * Contains the model format and internal location of the model files to be exported/downloaded. Use the GCS bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files. + * 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. */ exportModelOutputConfig?: Schema$XPSExportModelOutputConfig[]; } diff --git a/src/apis/language/v2.ts b/src/apis/language/v2.ts index 1f198d75c9..4d83fb1ec9 100644 --- a/src/apis/language/v2.ts +++ b/src/apis/language/v2.ts @@ -146,7 +146,7 @@ export namespace language_v2 { */ entities?: Schema$Entity[]; /** - * The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details. + * The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language_code field for more details. */ languageCode?: string | null; /** @@ -176,7 +176,7 @@ export namespace language_v2 { */ documentSentiment?: Schema$Sentiment; /** - * The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details. + * The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language_code field for more details. */ languageCode?: string | null; /** @@ -239,11 +239,11 @@ export namespace language_v2 { */ documentSentiment?: Schema$Sentiment; /** - * Entities, along with their semantic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_entities or AnnotateTextRequest.Features.extract_entity_sentiment. + * Entities, along with their semantic information, in the input document. Populated if the user enables AnnotateTextRequest.Features.extract_entities . */ entities?: Schema$Entity[]; /** - * The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details. + * The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language_code field for more details. */ languageCode?: string | null; /** @@ -294,7 +294,7 @@ export namespace language_v2 { */ categories?: Schema$ClassificationCategory[]; /** - * The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details. + * The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language_code field for more details. */ languageCode?: string | null; /** @@ -396,7 +396,7 @@ export namespace language_v2 { */ name?: string | null; /** - * 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. + * For calls to AnalyzeEntitySentiment this field will contain the aggregate sentiment expressed for this entity in the provided document. */ sentiment?: Schema$Sentiment; /** @@ -413,7 +413,7 @@ export namespace language_v2 { */ probability?: number | null; /** - * 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. + * For calls to AnalyzeEntitySentiment this field will contain the sentiment expressed for this mention of the entity in the provided document. */ sentiment?: Schema$Sentiment; /** @@ -444,7 +444,7 @@ export namespace language_v2 { trackingLabels?: {[key: string]: string} | null; } /** - * Infra Usage of billing metrics. Next ID: 6 + * Infra Usage of billing metrics. */ export interface Schema$InfraUsage { /** @@ -486,7 +486,7 @@ export namespace language_v2 { */ export interface Schema$ModerateTextResponse { /** - * The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language field for more details. + * The language of the text, which will be the same as the language specified in the request or, if not specified, the automatically-detected language. See Document.language_code field for more details. */ languageCode?: string | null; /** @@ -538,7 +538,7 @@ export namespace language_v2 { */ export interface Schema$Sentiment { /** - * A non-negative number in the [0, +inf) range, which represents the absolute magnitude of sentiment regardless of score (positive or negative). + * A non-negative number in the [0, +inf] range, which represents the absolute magnitude of sentiment regardless of score (positive or negative). */ magnitude?: number | null; /** @@ -761,9 +761,6 @@ export namespace language_v2 { columnId?: number | null; correlationStats?: Schema$XPSCorrelationStats; } - /** - * =========================================================================== # The fields below are used exclusively for Forecasting. - */ export interface Schema$XPSColumnSpecForecastingMetadata { /** * The type of the column for FORECASTING model training purposes. @@ -1067,11 +1064,11 @@ export namespace language_v2 { */ exportFirebaseAuxiliaryInfo?: boolean | null; /** - * The Google Contained Registry (GCR) path the exported files to be pushed to. This location is set if the exported format is DOCKDER. + * The Google Contained Registry path the exported files to be pushed to. This location is set if the exported format is DOCKDER. */ outputGcrUri?: string | null; /** - * The Google Cloud Storage (GCS) directory where XPS will output the exported models and related files. Format: gs://bucket/directory + * The Google Cloud Storage directory where XPS will output the exported models and related files. Format: gs://bucket/directory */ outputGcsUri?: string | null; tfJsFormat?: Schema$XPSTfJsFormat; @@ -1079,7 +1076,7 @@ export namespace language_v2 { tfSavedModelFormat?: Schema$XPSTfSavedModelFormat; } /** - * Spec of input and output files, on external file systems (CNS, GCS, etc). + * Spec of input and output files, on external file systems (for example, Colossus Namespace System or Google Cloud Storage). */ export interface Schema$XPSFileSpec { /** @@ -1167,7 +1164,7 @@ export namespace language_v2 { */ export interface Schema$XPSImageExportModelSpec { /** - * Contains the model format and internal location of the model files to be exported/downloaded. Use the GCS bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files. + * 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. */ exportModelOutputConfig?: Schema$XPSExportModelOutputConfig[]; } @@ -1184,7 +1181,7 @@ export namespace language_v2 { */ exportArtifact?: Schema$XPSModelArtifactItem[]; /** - * GCS uri of decoded labels file for model export 'dict.txt'. + * Google Cloud Storage URI of decoded labels file for model export 'dict.txt'. */ labelGcsUri?: string | null; /** @@ -1192,11 +1189,11 @@ export namespace language_v2 { */ servingArtifact?: Schema$XPSModelArtifactItem; /** - * GCS uri prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin' Deprecated. + * Google Cloud Storage URI prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin'. Deprecated. */ tfJsBinaryGcsPrefix?: string | null; /** - * GCS uri of Tensorflow Lite metadata 'tflite_metadata.json'. + * Google Cloud Storage URI of Tensorflow Lite metadata 'tflite_metadata.json'. */ tfLiteMetadataGcsUri?: string | null; } @@ -1381,13 +1378,10 @@ export namespace language_v2 { */ artifactFormat?: string | null; /** - * The Google Cloud Storage (GCS) uri that stores the model binary files. + * The Google Cloud Storage URI that stores the model binary files. */ gcsUri?: string | null; } - /** - * Next ID: 8 - */ export interface Schema$XPSPreprocessResponse { /** * Preprocessed examples, that are to be imported into AutoML storage. This should point to RecordIO file(s) of PreprocessedExample messages. The PreprocessedExample.mvp_training_data-s returned here are later verbatim passed to Train() call in TrainExample.mvp_training_data. @@ -1500,7 +1494,7 @@ export namespace language_v2 { xraiAttribution?: Schema$XPSXraiAttribution; } /** - * Specification of Model explanation. Feature-based XAI in AutoML Vision ICN is deprecated, see b/288407203 for context. + * Specification of Model explanation. Feature-based XAI in AutoML Vision ICN is deprecated. */ export interface Schema$XPSResponseExplanationSpec { /** @@ -1776,7 +1770,7 @@ export namespace language_v2 { truePositiveRate?: number | null; } /** - * Metadata for a dataset used for AutoML Tables. Next ID: 6 + * Metadata for a dataset used for AutoML Tables. */ export interface Schema$XPSTablesDatasetMetadata { /** @@ -1957,7 +1951,7 @@ export namespace language_v2 { trainCostMilliNodeHours?: string | null; } /** - * Component model. Next ID: 10 + * Component model. */ export interface Schema$XPSTextComponentModel { /** @@ -2158,9 +2152,6 @@ export namespace language_v2 { */ value?: number | null; } - /** - * Next ID: 18 - */ export interface Schema$XPSTrainResponse { /** * Estimated model size in bytes once deployed. @@ -2331,7 +2322,7 @@ export namespace language_v2 { */ export interface Schema$XPSVideoExportModelSpec { /** - * Contains the model format and internal location of the model files to be exported/downloaded. Use the GCS bucket name which is provided via TrainRequest.gcs_bucket_name to store the model files. + * 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. */ exportModelOutputConfig?: Schema$XPSExportModelOutputConfig[]; }