Skip to content

Commit

Permalink
feat: Automated regeneration of language v2 client (#20543)
Browse files Browse the repository at this point in the history
Auto-created at 2024-11-10 09:48:21 +0000 using the toys pull request generator.
  • Loading branch information
yoshi-code-bot authored Nov 10, 2024
1 parent 147d575 commit a57de6e
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 31 deletions.
4 changes: 4 additions & 0 deletions generated/google-apis-language_v2/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Release history for google-apis-language_v2

### v0.8.0 (2024-11-10)

* Regenerated from discovery document revision 20241103

### v0.7.0 (2024-10-06)

* Regenerated from discovery document revision 20240929
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ def update!(**args)
end
end

# Infra Usage of billing metrics. Next ID: 6
# Infra Usage of billing metrics.
class InfraUsage
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -885,7 +885,7 @@ def update!(**args)
class Sentiment
include Google::Apis::Core::Hashable

# A non-negative number in the [0, +inf) range, which represents the absolute
# A non-negative number in the [0, +inf] range, which represents the absolute
# magnitude of sentiment regardless of score (positive or negative).
# Corresponds to the JSON property `magnitude`
# @return [Float]
Expand Down Expand Up @@ -1364,8 +1364,7 @@ class XpsColumnSpec
# @return [String]
attr_accessor :display_name

# =========================================================================== #
# The fields below are used exclusively for Forecasting.
#
# Corresponds to the JSON property `forecastingMetadata`
# @return [Google::Apis::LanguageV2::XpsColumnSpecForecastingMetadata]
attr_accessor :forecasting_metadata
Expand Down Expand Up @@ -1418,8 +1417,7 @@ def update!(**args)
end
end

# =========================================================================== #
# The fields below are used exclusively for Forecasting.
#
class XpsColumnSpecForecastingMetadata
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -2017,7 +2015,8 @@ class XpsEvaluationMetricsSet
# @return [Array<Google::Apis::LanguageV2::XpsEvaluationMetrics>]
attr_accessor :evaluation_metrics

# 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).
# Corresponds to the JSON property `fileSpec`
# @return [Google::Apis::LanguageV2::XpsFileSpec]
attr_accessor :file_spec
Expand All @@ -2043,7 +2042,8 @@ def update!(**args)
class XpsExampleSet
include Google::Apis::Core::Hashable

# 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).
# Corresponds to the JSON property `fileSpec`
# @return [Google::Apis::LanguageV2::XpsFileSpec]
attr_accessor :file_spec
Expand Down Expand Up @@ -2104,14 +2104,14 @@ class XpsExportModelOutputConfig
attr_accessor :export_firebase_auxiliary_info
alias_method :export_firebase_auxiliary_info?, :export_firebase_auxiliary_info

# 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.
# Corresponds to the JSON property `outputGcrUri`
# @return [String]
attr_accessor :output_gcr_uri

# 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
# Corresponds to the JSON property `outputGcsUri`
# @return [String]
attr_accessor :output_gcs_uri
Expand Down Expand Up @@ -2151,7 +2151,8 @@ def update!(**args)
end
end

# 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).
class XpsFileSpec
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -2348,8 +2349,8 @@ class XpsImageExportModelSpec
include Google::Apis::Core::Hashable

# 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.
# exported/downloaded. Use the Google Cloud Storage bucket name which is
# provided via TrainRequest.gcs_bucket_name to store the model files.
# Corresponds to the JSON property `exportModelOutputConfig`
# @return [Array<Google::Apis::LanguageV2::XpsExportModelOutputConfig>]
attr_accessor :export_model_output_config
Expand Down Expand Up @@ -2379,7 +2380,7 @@ class XpsImageModelArtifactSpec
# @return [Array<Google::Apis::LanguageV2::XpsModelArtifactItem>]
attr_accessor :export_artifact

# GCS uri of decoded labels file for model export 'dict.txt'.
# Google Cloud Storage URI of decoded labels file for model export 'dict.txt'.
# Corresponds to the JSON property `labelGcsUri`
# @return [String]
attr_accessor :label_gcs_uri
Expand All @@ -2389,13 +2390,13 @@ class XpsImageModelArtifactSpec
# @return [Google::Apis::LanguageV2::XpsModelArtifactItem]
attr_accessor :serving_artifact

# 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.
# Corresponds to the JSON property `tfJsBinaryGcsPrefix`
# @return [String]
attr_accessor :tf_js_binary_gcs_prefix

# GCS uri of Tensorflow Lite metadata 'tflite_metadata.json'.
# Google Cloud Storage URI of Tensorflow Lite metadata 'tflite_metadata.json'.
# Corresponds to the JSON property `tfLiteMetadataGcsUri`
# @return [String]
attr_accessor :tf_lite_metadata_gcs_uri
Expand Down Expand Up @@ -2810,7 +2811,7 @@ class XpsModelArtifactItem
# @return [String]
attr_accessor :artifact_format

# The Google Cloud Storage (GCS) uri that stores the model binary files.
# The Google Cloud Storage URI that stores the model binary files.
# Corresponds to the JSON property `gcsUri`
# @return [String]
attr_accessor :gcs_uri
Expand All @@ -2826,7 +2827,7 @@ def update!(**args)
end
end

# Next ID: 8
#
class XpsPreprocessResponse
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -3070,7 +3071,7 @@ def update!(**args)
end

# Specification of Model explanation. Feature-based XAI in AutoML Vision ICN is
# deprecated, see b/288407203 for context.
# deprecated.
class XpsResponseExplanationSpec
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -3680,7 +3681,7 @@ def update!(**args)
end
end

# Metadata for a dataset used for AutoML Tables. Next ID: 6
# Metadata for a dataset used for AutoML Tables.
class XpsTablesDatasetMetadata
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -3861,7 +3862,7 @@ def update!(**args)
class XpsTablesPreprocessResponse
include Google::Apis::Core::Hashable

# Metadata for a dataset used for AutoML Tables. Next ID: 6
# Metadata for a dataset used for AutoML Tables.
# Corresponds to the JSON property `tablesDatasetMetadata`
# @return [Google::Apis::LanguageV2::XpsTablesDatasetMetadata]
attr_accessor :tables_dataset_metadata
Expand Down Expand Up @@ -4020,7 +4021,7 @@ def update!(**args)
end
end

# Component model. Next ID: 10
# Component model.
class XpsTextComponentModel
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -4416,7 +4417,7 @@ def update!(**args)
end
end

# Next ID: 18
#
class XpsTrainResponse
include Google::Apis::Core::Hashable

Expand Down Expand Up @@ -4841,8 +4842,8 @@ class XpsVideoExportModelSpec
include Google::Apis::Core::Hashable

# 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.
# exported/downloaded. Use the Google Cloud Storage bucket name which is
# provided via TrainRequest.gcs_bucket_name to store the model files.
# Corresponds to the JSON property `exportModelOutputConfig`
# @return [Array<Google::Apis::LanguageV2::XpsExportModelOutputConfig>]
attr_accessor :export_model_output_config
Expand Down Expand Up @@ -5044,7 +5045,7 @@ def update!(**args)
class XpsVisionTrainingOperationMetadata
include Google::Apis::Core::Hashable

# Infra Usage of billing metrics. Next ID: 6
# Infra Usage of billing metrics.
# Corresponds to the JSON property `explanationUsage`
# @return [Google::Apis::LanguageV2::InfraUsage]
attr_accessor :explanation_usage
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ module Google
module Apis
module LanguageV2
# Version of the google-apis-language_v2 gem
GEM_VERSION = "0.7.0"
GEM_VERSION = "0.8.0"

# Version of the code generator used to generate this client
GENERATOR_VERSION = "0.15.1"

# Revision of the discovery document this client was generated from
REVISION = "20240929"
REVISION = "20241103"
end
end
end

0 comments on commit a57de6e

Please sign in to comment.