Skip to content

Commit

Permalink
feat: Automated regeneration of Language client
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Nov 5, 2024
1 parent 9bd4424 commit caa3618
Show file tree
Hide file tree
Showing 33 changed files with 39 additions and 39 deletions.
2 changes: 1 addition & 1 deletion clients/language/lib/google_api/language/v1/metadata.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.Language.V1 do
API client metadata for GoogleApi.Language.V1.
"""

@discovery_revision "20240929"
@discovery_revision "20241103"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

defmodule GoogleApi.Language.V1.Model.InfraUsage do
@moduledoc """
Infra Usage of billing metrics. Next ID: 6
Infra Usage of billing metrics.
## Attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

defmodule GoogleApi.Language.V1.Model.XPSColumnSpecForecastingMetadata do
@moduledoc """
=========================================================================== # The fields below are used exclusively for Forecasting.
## Attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ defmodule GoogleApi.Language.V1.Model.XPSExportModelOutputConfig do
* `dockerFormat` (*type:* `GoogleApi.Language.V1.Model.XPSDockerFormat.t`, *default:* `nil`) -
* `edgeTpuTfLiteFormat` (*type:* `GoogleApi.Language.V1.Model.XPSEdgeTpuTfLiteFormat.t`, *default:* `nil`) -
* `exportFirebaseAuxiliaryInfo` (*type:* `boolean()`, *default:* `nil`) - For any model and format: If true, will additionally export FirebaseExportedModelInfo in a firebase.txt file.
* `outputGcrUri` (*type:* `String.t`, *default:* `nil`) - The Google Contained Registry (GCR) path the exported files to be pushed to. This location is set if the exported format is DOCKDER.
* `outputGcsUri` (*type:* `String.t`, *default:* `nil`) - The Google Cloud Storage (GCS) directory where XPS will output the exported models and related files. Format: gs://bucket/directory
* `outputGcrUri` (*type:* `String.t`, *default:* `nil`) - The Google Contained Registry path the exported files to be pushed to. This location is set if the exported format is DOCKDER.
* `outputGcsUri` (*type:* `String.t`, *default:* `nil`) - The Google Cloud Storage directory where XPS will output the exported models and related files. Format: gs://bucket/directory
* `tfJsFormat` (*type:* `GoogleApi.Language.V1.Model.XPSTfJsFormat.t`, *default:* `nil`) -
* `tfLiteFormat` (*type:* `GoogleApi.Language.V1.Model.XPSTfLiteFormat.t`, *default:* `nil`) -
* `tfSavedModelFormat` (*type:* `GoogleApi.Language.V1.Model.XPSTfSavedModelFormat.t`, *default:* `nil`) -
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

defmodule GoogleApi.Language.V1.Model.XPSFileSpec do
@moduledoc """
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).
## Attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule GoogleApi.Language.V1.Model.XPSImageExportModelSpec do
## Attributes
* `exportModelOutputConfig` (*type:* `list(GoogleApi.Language.V1.Model.XPSExportModelOutputConfig.t)`, *default:* `nil`) - 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.
* `exportModelOutputConfig` (*type:* `list(GoogleApi.Language.V1.Model.XPSExportModelOutputConfig.t)`, *default:* `nil`) - 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.
"""

use GoogleApi.Gax.ModelBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ defmodule GoogleApi.Language.V1.Model.XPSImageModelArtifactSpec do
* `checkpointArtifact` (*type:* `GoogleApi.Language.V1.Model.XPSModelArtifactItem.t`, *default:* `nil`) - The Tensorflow checkpoint files. e.g. Used for resumable training.
* `exportArtifact` (*type:* `list(GoogleApi.Language.V1.Model.XPSModelArtifactItem.t)`, *default:* `nil`) - The model binary files in different formats for model export.
* `labelGcsUri` (*type:* `String.t`, *default:* `nil`) - GCS uri of decoded labels file for model export 'dict.txt'.
* `labelGcsUri` (*type:* `String.t`, *default:* `nil`) - Google Cloud Storage URI of decoded labels file for model export 'dict.txt'.
* `servingArtifact` (*type:* `GoogleApi.Language.V1.Model.XPSModelArtifactItem.t`, *default:* `nil`) - The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud AI Platform API.
* `tfJsBinaryGcsPrefix` (*type:* `String.t`, *default:* `nil`) - GCS uri prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin' Deprecated.
* `tfLiteMetadataGcsUri` (*type:* `String.t`, *default:* `nil`) - GCS uri of Tensorflow Lite metadata 'tflite_metadata.json'.
* `tfJsBinaryGcsPrefix` (*type:* `String.t`, *default:* `nil`) - Google Cloud Storage URI prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin'. Deprecated.
* `tfLiteMetadataGcsUri` (*type:* `String.t`, *default:* `nil`) - Google Cloud Storage URI of Tensorflow Lite metadata 'tflite_metadata.json'.
"""

use GoogleApi.Gax.ModelBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule GoogleApi.Language.V1.Model.XPSModelArtifactItem do
## Attributes
* `artifactFormat` (*type:* `String.t`, *default:* `nil`) - The model artifact format.
* `gcsUri` (*type:* `String.t`, *default:* `nil`) - The Google Cloud Storage (GCS) uri that stores the model binary files.
* `gcsUri` (*type:* `String.t`, *default:* `nil`) - The Google Cloud Storage URI that stores the model binary files.
"""

use GoogleApi.Gax.ModelBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

defmodule GoogleApi.Language.V1.Model.XPSPreprocessResponse do
@moduledoc """
Next ID: 8
## Attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

defmodule GoogleApi.Language.V1.Model.XPSResponseExplanationSpec do
@moduledoc """
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.
## Attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

defmodule GoogleApi.Language.V1.Model.XPSTablesDatasetMetadata do
@moduledoc """
Metadata for a dataset used for AutoML Tables. Next ID: 6
Metadata for a dataset used for AutoML Tables.
## Attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

defmodule GoogleApi.Language.V1.Model.XPSTextComponentModel do
@moduledoc """
Component model. Next ID: 10
Component model.
## Attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

defmodule GoogleApi.Language.V1.Model.XPSTrainResponse do
@moduledoc """
Next ID: 18
## Attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule GoogleApi.Language.V1.Model.XPSVideoExportModelSpec do
## Attributes
* `exportModelOutputConfig` (*type:* `list(GoogleApi.Language.V1.Model.XPSExportModelOutputConfig.t)`, *default:* `nil`) - 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.
* `exportModelOutputConfig` (*type:* `list(GoogleApi.Language.V1.Model.XPSExportModelOutputConfig.t)`, *default:* `nil`) - 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.
"""

use GoogleApi.Gax.ModelBase
Expand Down
2 changes: 1 addition & 1 deletion clients/language/lib/google_api/language/v2/metadata.ex
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ defmodule GoogleApi.Language.V2 do
API client metadata for GoogleApi.Language.V2.
"""

@discovery_revision "20240929"
@discovery_revision "20241103"

def discovery_revision(), do: @discovery_revision
end
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ defmodule GoogleApi.Language.V2.Model.Entity do
* `mentions` (*type:* `list(GoogleApi.Language.V2.Model.EntityMention.t)`, *default:* `nil`) - The mentions of this entity in the input document. The API currently supports proper noun mentions.
* `metadata` (*type:* `map()`, *default:* `nil`) - Metadata associated with the entity. For the metadata associated with other entity types, see the Type table below.
* `name` (*type:* `String.t`, *default:* `nil`) - The representative name for the entity.
* `sentiment` (*type:* `GoogleApi.Language.V2.Model.Sentiment.t`, *default:* `nil`) - 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.
* `sentiment` (*type:* `GoogleApi.Language.V2.Model.Sentiment.t`, *default:* `nil`) - 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.
* `type` (*type:* `String.t`, *default:* `nil`) - The entity type.
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule GoogleApi.Language.V2.Model.EntityMention do
## Attributes
* `probability` (*type:* `number()`, *default:* `nil`) - 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.
* `sentiment` (*type:* `GoogleApi.Language.V2.Model.Sentiment.t`, *default:* `nil`) - 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.
* `sentiment` (*type:* `GoogleApi.Language.V2.Model.Sentiment.t`, *default:* `nil`) - 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.
* `text` (*type:* `GoogleApi.Language.V2.Model.TextSpan.t`, *default:* `nil`) - The mention text.
* `type` (*type:* `String.t`, *default:* `nil`) - The type of the entity mention.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

defmodule GoogleApi.Language.V2.Model.InfraUsage do
@moduledoc """
Infra Usage of billing metrics. Next ID: 6
Infra Usage of billing metrics.
## Attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule GoogleApi.Language.V2.Model.Sentence do
## Attributes
* `sentiment` (*type:* `GoogleApi.Language.V2.Model.Sentiment.t`, *default:* `nil`) - For calls to AnalyzeSentiment or if AnnotateTextRequest.Features.extract_document_sentiment is set to true, this field will contain the sentiment for the sentence.
* `sentiment` (*type:* `GoogleApi.Language.V2.Model.Sentiment.t`, *default:* `nil`) - For calls to AnalyzeSentimentRequest or if AnnotateTextRequest.Features.extract_document_sentiment is set to true, this field will contain the sentiment for the sentence.
* `text` (*type:* `GoogleApi.Language.V2.Model.TextSpan.t`, *default:* `nil`) - The sentence text.
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule GoogleApi.Language.V2.Model.Sentiment do
## Attributes
* `magnitude` (*type:* `number()`, *default:* `nil`) - A non-negative number in the [0, +inf) range, which represents the absolute magnitude of sentiment regardless of score (positive or negative).
* `magnitude` (*type:* `number()`, *default:* `nil`) - A non-negative number in the [0, +inf] range, which represents the absolute magnitude of sentiment regardless of score (positive or negative).
* `score` (*type:* `number()`, *default:* `nil`) - Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).
"""

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

defmodule GoogleApi.Language.V2.Model.XPSColumnSpecForecastingMetadata do
@moduledoc """
=========================================================================== # The fields below are used exclusively for Forecasting.
## Attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ defmodule GoogleApi.Language.V2.Model.XPSExportModelOutputConfig do
* `dockerFormat` (*type:* `GoogleApi.Language.V2.Model.XPSDockerFormat.t`, *default:* `nil`) -
* `edgeTpuTfLiteFormat` (*type:* `GoogleApi.Language.V2.Model.XPSEdgeTpuTfLiteFormat.t`, *default:* `nil`) -
* `exportFirebaseAuxiliaryInfo` (*type:* `boolean()`, *default:* `nil`) - For any model and format: If true, will additionally export FirebaseExportedModelInfo in a firebase.txt file.
* `outputGcrUri` (*type:* `String.t`, *default:* `nil`) - The Google Contained Registry (GCR) path the exported files to be pushed to. This location is set if the exported format is DOCKDER.
* `outputGcsUri` (*type:* `String.t`, *default:* `nil`) - The Google Cloud Storage (GCS) directory where XPS will output the exported models and related files. Format: gs://bucket/directory
* `outputGcrUri` (*type:* `String.t`, *default:* `nil`) - The Google Contained Registry path the exported files to be pushed to. This location is set if the exported format is DOCKDER.
* `outputGcsUri` (*type:* `String.t`, *default:* `nil`) - The Google Cloud Storage directory where XPS will output the exported models and related files. Format: gs://bucket/directory
* `tfJsFormat` (*type:* `GoogleApi.Language.V2.Model.XPSTfJsFormat.t`, *default:* `nil`) -
* `tfLiteFormat` (*type:* `GoogleApi.Language.V2.Model.XPSTfLiteFormat.t`, *default:* `nil`) -
* `tfSavedModelFormat` (*type:* `GoogleApi.Language.V2.Model.XPSTfSavedModelFormat.t`, *default:* `nil`) -
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

defmodule GoogleApi.Language.V2.Model.XPSFileSpec do
@moduledoc """
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).
## Attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule GoogleApi.Language.V2.Model.XPSImageExportModelSpec do
## Attributes
* `exportModelOutputConfig` (*type:* `list(GoogleApi.Language.V2.Model.XPSExportModelOutputConfig.t)`, *default:* `nil`) - 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.
* `exportModelOutputConfig` (*type:* `list(GoogleApi.Language.V2.Model.XPSExportModelOutputConfig.t)`, *default:* `nil`) - 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.
"""

use GoogleApi.Gax.ModelBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ defmodule GoogleApi.Language.V2.Model.XPSImageModelArtifactSpec do
* `checkpointArtifact` (*type:* `GoogleApi.Language.V2.Model.XPSModelArtifactItem.t`, *default:* `nil`) - The Tensorflow checkpoint files. e.g. Used for resumable training.
* `exportArtifact` (*type:* `list(GoogleApi.Language.V2.Model.XPSModelArtifactItem.t)`, *default:* `nil`) - The model binary files in different formats for model export.
* `labelGcsUri` (*type:* `String.t`, *default:* `nil`) - GCS uri of decoded labels file for model export 'dict.txt'.
* `labelGcsUri` (*type:* `String.t`, *default:* `nil`) - Google Cloud Storage URI of decoded labels file for model export 'dict.txt'.
* `servingArtifact` (*type:* `GoogleApi.Language.V2.Model.XPSModelArtifactItem.t`, *default:* `nil`) - The default model binary file used for serving (e.g. online predict, batch predict) via public Cloud AI Platform API.
* `tfJsBinaryGcsPrefix` (*type:* `String.t`, *default:* `nil`) - GCS uri prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin' Deprecated.
* `tfLiteMetadataGcsUri` (*type:* `String.t`, *default:* `nil`) - GCS uri of Tensorflow Lite metadata 'tflite_metadata.json'.
* `tfJsBinaryGcsPrefix` (*type:* `String.t`, *default:* `nil`) - Google Cloud Storage URI prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin'. Deprecated.
* `tfLiteMetadataGcsUri` (*type:* `String.t`, *default:* `nil`) - Google Cloud Storage URI of Tensorflow Lite metadata 'tflite_metadata.json'.
"""

use GoogleApi.Gax.ModelBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ defmodule GoogleApi.Language.V2.Model.XPSModelArtifactItem do
## Attributes
* `artifactFormat` (*type:* `String.t`, *default:* `nil`) - The model artifact format.
* `gcsUri` (*type:* `String.t`, *default:* `nil`) - The Google Cloud Storage (GCS) uri that stores the model binary files.
* `gcsUri` (*type:* `String.t`, *default:* `nil`) - The Google Cloud Storage URI that stores the model binary files.
"""

use GoogleApi.Gax.ModelBase
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

defmodule GoogleApi.Language.V2.Model.XPSPreprocessResponse do
@moduledoc """
Next ID: 8
## Attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

defmodule GoogleApi.Language.V2.Model.XPSResponseExplanationSpec do
@moduledoc """
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.
## Attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

defmodule GoogleApi.Language.V2.Model.XPSTablesDatasetMetadata do
@moduledoc """
Metadata for a dataset used for AutoML Tables. Next ID: 6
Metadata for a dataset used for AutoML Tables.
## Attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

defmodule GoogleApi.Language.V2.Model.XPSTextComponentModel do
@moduledoc """
Component model. Next ID: 10
Component model.
## Attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@

defmodule GoogleApi.Language.V2.Model.XPSTrainResponse do
@moduledoc """
Next ID: 18
## Attributes
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ defmodule GoogleApi.Language.V2.Model.XPSVideoExportModelSpec do
## Attributes
* `exportModelOutputConfig` (*type:* `list(GoogleApi.Language.V2.Model.XPSExportModelOutputConfig.t)`, *default:* `nil`) - 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.
* `exportModelOutputConfig` (*type:* `list(GoogleApi.Language.V2.Model.XPSExportModelOutputConfig.t)`, *default:* `nil`) - 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.
"""

use GoogleApi.Gax.ModelBase
Expand Down
2 changes: 1 addition & 1 deletion clients/language/mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
defmodule GoogleApi.Language.Mixfile do
use Mix.Project

@version "0.16.0"
@version "0.16.1"

def project() do
[
Expand Down

0 comments on commit caa3618

Please sign in to comment.