Skip to content

Commit a57de6e

Browse files
feat: Automated regeneration of language v2 client (googleapis#20543)
Auto-created at 2024-11-10 09:48:21 +0000 using the toys pull request generator.
1 parent 147d575 commit a57de6e

File tree

3 files changed

+36
-31
lines changed

3 files changed

+36
-31
lines changed

generated/google-apis-language_v2/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-language_v2
22

3+
### v0.8.0 (2024-11-10)
4+
5+
* Regenerated from discovery document revision 20241103
6+
37
### v0.7.0 (2024-10-06)
48

59
* Regenerated from discovery document revision 20240929

generated/google-apis-language_v2/lib/google/apis/language_v2/classes.rb

Lines changed: 30 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -706,7 +706,7 @@ def update!(**args)
706706
end
707707
end
708708

709-
# Infra Usage of billing metrics. Next ID: 6
709+
# Infra Usage of billing metrics.
710710
class InfraUsage
711711
include Google::Apis::Core::Hashable
712712

@@ -885,7 +885,7 @@ def update!(**args)
885885
class Sentiment
886886
include Google::Apis::Core::Hashable
887887

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

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

1421-
# =========================================================================== #
1422-
# The fields below are used exclusively for Forecasting.
1420+
#
14231421
class XpsColumnSpecForecastingMetadata
14241422
include Google::Apis::Core::Hashable
14251423

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

2020-
# Spec of input and output files, on external file systems (CNS, GCS, etc).
2018+
# Spec of input and output files, on external file systems (for example,
2019+
# Colossus Namespace System or Google Cloud Storage).
20212020
# Corresponds to the JSON property `fileSpec`
20222021
# @return [Google::Apis::LanguageV2::XpsFileSpec]
20232022
attr_accessor :file_spec
@@ -2043,7 +2042,8 @@ def update!(**args)
20432042
class XpsExampleSet
20442043
include Google::Apis::Core::Hashable
20452044

2046-
# Spec of input and output files, on external file systems (CNS, GCS, etc).
2045+
# Spec of input and output files, on external file systems (for example,
2046+
# Colossus Namespace System or Google Cloud Storage).
20472047
# Corresponds to the JSON property `fileSpec`
20482048
# @return [Google::Apis::LanguageV2::XpsFileSpec]
20492049
attr_accessor :file_spec
@@ -2104,14 +2104,14 @@ class XpsExportModelOutputConfig
21042104
attr_accessor :export_firebase_auxiliary_info
21052105
alias_method :export_firebase_auxiliary_info?, :export_firebase_auxiliary_info
21062106

2107-
# The Google Contained Registry (GCR) path the exported files to be pushed to.
2108-
# This location is set if the exported format is DOCKDER.
2107+
# The Google Contained Registry path the exported files to be pushed to. This
2108+
# location is set if the exported format is DOCKDER.
21092109
# Corresponds to the JSON property `outputGcrUri`
21102110
# @return [String]
21112111
attr_accessor :output_gcr_uri
21122112

2113-
# The Google Cloud Storage (GCS) directory where XPS will output the exported
2114-
# models and related files. Format: gs://bucket/directory
2113+
# The Google Cloud Storage directory where XPS will output the exported models
2114+
# and related files. Format: gs://bucket/directory
21152115
# Corresponds to the JSON property `outputGcsUri`
21162116
# @return [String]
21172117
attr_accessor :output_gcs_uri
@@ -2151,7 +2151,8 @@ def update!(**args)
21512151
end
21522152
end
21532153

2154-
# Spec of input and output files, on external file systems (CNS, GCS, etc).
2154+
# Spec of input and output files, on external file systems (for example,
2155+
# Colossus Namespace System or Google Cloud Storage).
21552156
class XpsFileSpec
21562157
include Google::Apis::Core::Hashable
21572158

@@ -2348,8 +2349,8 @@ class XpsImageExportModelSpec
23482349
include Google::Apis::Core::Hashable
23492350

23502351
# Contains the model format and internal location of the model files to be
2351-
# exported/downloaded. Use the GCS bucket name which is provided via
2352-
# TrainRequest.gcs_bucket_name to store the model files.
2352+
# exported/downloaded. Use the Google Cloud Storage bucket name which is
2353+
# provided via TrainRequest.gcs_bucket_name to store the model files.
23532354
# Corresponds to the JSON property `exportModelOutputConfig`
23542355
# @return [Array<Google::Apis::LanguageV2::XpsExportModelOutputConfig>]
23552356
attr_accessor :export_model_output_config
@@ -2379,7 +2380,7 @@ class XpsImageModelArtifactSpec
23792380
# @return [Array<Google::Apis::LanguageV2::XpsModelArtifactItem>]
23802381
attr_accessor :export_artifact
23812382

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

2392-
# GCS uri prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin'
2393-
# Deprecated.
2393+
# Google Cloud Storage URI prefix of Tensorflow JavaScript binary files 'groupX-
2394+
# shardXofX.bin'. Deprecated.
23942395
# Corresponds to the JSON property `tfJsBinaryGcsPrefix`
23952396
# @return [String]
23962397
attr_accessor :tf_js_binary_gcs_prefix
23972398

2398-
# GCS uri of Tensorflow Lite metadata 'tflite_metadata.json'.
2399+
# Google Cloud Storage URI of Tensorflow Lite metadata 'tflite_metadata.json'.
23992400
# Corresponds to the JSON property `tfLiteMetadataGcsUri`
24002401
# @return [String]
24012402
attr_accessor :tf_lite_metadata_gcs_uri
@@ -2810,7 +2811,7 @@ class XpsModelArtifactItem
28102811
# @return [String]
28112812
attr_accessor :artifact_format
28122813

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

2829-
# Next ID: 8
2830+
#
28302831
class XpsPreprocessResponse
28312832
include Google::Apis::Core::Hashable
28322833

@@ -3070,7 +3071,7 @@ def update!(**args)
30703071
end
30713072

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

@@ -3680,7 +3681,7 @@ def update!(**args)
36803681
end
36813682
end
36823683

3683-
# Metadata for a dataset used for AutoML Tables. Next ID: 6
3684+
# Metadata for a dataset used for AutoML Tables.
36843685
class XpsTablesDatasetMetadata
36853686
include Google::Apis::Core::Hashable
36863687

@@ -3861,7 +3862,7 @@ def update!(**args)
38613862
class XpsTablesPreprocessResponse
38623863
include Google::Apis::Core::Hashable
38633864

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

4023-
# Component model. Next ID: 10
4024+
# Component model.
40244025
class XpsTextComponentModel
40254026
include Google::Apis::Core::Hashable
40264027

@@ -4416,7 +4417,7 @@ def update!(**args)
44164417
end
44174418
end
44184419

4419-
# Next ID: 18
4420+
#
44204421
class XpsTrainResponse
44214422
include Google::Apis::Core::Hashable
44224423

@@ -4841,8 +4842,8 @@ class XpsVideoExportModelSpec
48414842
include Google::Apis::Core::Hashable
48424843

48434844
# Contains the model format and internal location of the model files to be
4844-
# exported/downloaded. Use the GCS bucket name which is provided via
4845-
# TrainRequest.gcs_bucket_name to store the model files.
4845+
# exported/downloaded. Use the Google Cloud Storage bucket name which is
4846+
# provided via TrainRequest.gcs_bucket_name to store the model files.
48464847
# Corresponds to the JSON property `exportModelOutputConfig`
48474848
# @return [Array<Google::Apis::LanguageV2::XpsExportModelOutputConfig>]
48484849
attr_accessor :export_model_output_config
@@ -5044,7 +5045,7 @@ def update!(**args)
50445045
class XpsVisionTrainingOperationMetadata
50455046
include Google::Apis::Core::Hashable
50465047

5047-
# Infra Usage of billing metrics. Next ID: 6
5048+
# Infra Usage of billing metrics.
50485049
# Corresponds to the JSON property `explanationUsage`
50495050
# @return [Google::Apis::LanguageV2::InfraUsage]
50505051
attr_accessor :explanation_usage

generated/google-apis-language_v2/lib/google/apis/language_v2/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module LanguageV2
1818
# Version of the google-apis-language_v2 gem
19-
GEM_VERSION = "0.7.0"
19+
GEM_VERSION = "0.8.0"
2020

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

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20240929"
25+
REVISION = "20241103"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)