google-apis-language_v2 0.7.0 → 0.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: dbee8b2042caa8bd6cadb0038a8433dbc105058b907d40a15914859c6f99afed
4
- data.tar.gz: 98954f6e50fdbd7fed967693d2231b38c3bf2464e70ea700d3c2ae8631e9166b
3
+ metadata.gz: 701866627737639fd34b024c8354f378ebada557f494b253066e7eeb16f8ba3d
4
+ data.tar.gz: a65d146f886e96475855e057f73ccb86b3cb7e933c1c4730fa68e8469906aae0
5
5
  SHA512:
6
- metadata.gz: 8856775c44fe07895f29ea8e68ed354980e36112985a473a6471910b6565cfb8923209f18c080f204ff0370aa6117e6d8c1919458a0b137e9836666afb5cdee2
7
- data.tar.gz: c99db79127e0242625b56d9afe38de7873e813a854808f18ba72b9cbac449e510ec575a1ecb8c5e75c239d2ab35cea2284c7f74e2eb4ef0d3b1a6c9dc8556fb9
6
+ metadata.gz: 1ff0602178de2142e93aa61eaa1b3d1c7e097a14a5fbf757fffdb2025b0be8f9d8a58868ec24c7a78db8460404642cb59ebae9fb281f23f69a517544346ad022
7
+ data.tar.gz: 7bd0226b18161780ce58b407f5e93c6e5b4d04f4db6e08cc0d89dcde69f71814c39d3a9c08113d67b3e0fc87c150b5490e038606acf071f09001034113378d24
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
1
1
  # Release history for google-apis-language_v2
2
2
 
3
+ ### v0.9.0 (2025-03-16)
4
+
5
+ * Regenerated from discovery document revision 20250309
6
+ * Regenerated using generator version 0.16.0
7
+
8
+ ### v0.8.0 (2024-11-17)
9
+
10
+ * Regenerated from discovery document revision 20241110
11
+
3
12
  ### v0.7.0 (2024-10-06)
4
13
 
5
14
  * Regenerated from discovery document revision 20240929
@@ -58,7 +58,7 @@ module Google
58
58
 
59
59
  # The language of the text, which will be the same as the language specified in
60
60
  # the request or, if not specified, the automatically-detected language. See
61
- # Document.language field for more details.
61
+ # Document.language_code field for more details.
62
62
  # Corresponds to the JSON property `languageCode`
63
63
  # @return [String]
64
64
  attr_accessor :language_code
@@ -118,7 +118,7 @@ module Google
118
118
 
119
119
  # The language of the text, which will be the same as the language specified in
120
120
  # the request or, if not specified, the automatically-detected language. See
121
- # Document.language field for more details.
121
+ # Document.language_code field for more details.
122
122
  # Corresponds to the JSON property `languageCode`
123
123
  # @return [String]
124
124
  attr_accessor :language_code
@@ -238,15 +238,14 @@ module Google
238
238
  attr_accessor :document_sentiment
239
239
 
240
240
  # Entities, along with their semantic information, in the input document.
241
- # Populated if the user enables AnnotateTextRequest.Features.extract_entities or
242
- # AnnotateTextRequest.Features.extract_entity_sentiment.
241
+ # Populated if the user enables AnnotateTextRequest.Features.extract_entities .
243
242
  # Corresponds to the JSON property `entities`
244
243
  # @return [Array<Google::Apis::LanguageV2::Entity>]
245
244
  attr_accessor :entities
246
245
 
247
246
  # The language of the text, which will be the same as the language specified in
248
247
  # the request or, if not specified, the automatically-detected language. See
249
- # Document.language field for more details.
248
+ # Document.language_code field for more details.
250
249
  # Corresponds to the JSON property `languageCode`
251
250
  # @return [String]
252
251
  attr_accessor :language_code
@@ -350,7 +349,7 @@ module Google
350
349
 
351
350
  # The language of the text, which will be the same as the language specified in
352
351
  # the request or, if not specified, the automatically-detected language. See
353
- # Document.language field for more details.
352
+ # Document.language_code field for more details.
354
353
  # Corresponds to the JSON property `languageCode`
355
354
  # @return [String]
356
355
  attr_accessor :language_code
@@ -706,7 +705,7 @@ module Google
706
705
  end
707
706
  end
708
707
 
709
- # Infra Usage of billing metrics. Next ID: 6
708
+ # LINT: LEGACY_NAMES Infra Usage of billing metrics.
710
709
  class InfraUsage
711
710
  include Google::Apis::Core::Hashable
712
711
 
@@ -780,7 +779,7 @@ module Google
780
779
 
781
780
  # The language of the text, which will be the same as the language specified in
782
781
  # the request or, if not specified, the automatically-detected language. See
783
- # Document.language field for more details.
782
+ # Document.language_code field for more details.
784
783
  # Corresponds to the JSON property `languageCode`
785
784
  # @return [String]
786
785
  attr_accessor :language_code
@@ -885,7 +884,7 @@ module Google
885
884
  class Sentiment
886
885
  include Google::Apis::Core::Hashable
887
886
 
888
- # A non-negative number in the [0, +inf) range, which represents the absolute
887
+ # A non-negative number in the [0, +inf] range, which represents the absolute
889
888
  # magnitude of sentiment regardless of score (positive or negative).
890
889
  # Corresponds to the JSON property `magnitude`
891
890
  # @return [Float]
@@ -1364,8 +1363,7 @@ module Google
1364
1363
  # @return [String]
1365
1364
  attr_accessor :display_name
1366
1365
 
1367
- # =========================================================================== #
1368
- # The fields below are used exclusively for Forecasting.
1366
+ #
1369
1367
  # Corresponds to the JSON property `forecastingMetadata`
1370
1368
  # @return [Google::Apis::LanguageV2::XpsColumnSpecForecastingMetadata]
1371
1369
  attr_accessor :forecasting_metadata
@@ -1418,8 +1416,7 @@ module Google
1418
1416
  end
1419
1417
  end
1420
1418
 
1421
- # =========================================================================== #
1422
- # The fields below are used exclusively for Forecasting.
1419
+ #
1423
1420
  class XpsColumnSpecForecastingMetadata
1424
1421
  include Google::Apis::Core::Hashable
1425
1422
 
@@ -2017,7 +2014,8 @@ module Google
2017
2014
  # @return [Array<Google::Apis::LanguageV2::XpsEvaluationMetrics>]
2018
2015
  attr_accessor :evaluation_metrics
2019
2016
 
2020
- # Spec of input and output files, on external file systems (CNS, GCS, etc).
2017
+ # Spec of input and output files, on external file systems (for example,
2018
+ # Colossus Namespace System or Google Cloud Storage).
2021
2019
  # Corresponds to the JSON property `fileSpec`
2022
2020
  # @return [Google::Apis::LanguageV2::XpsFileSpec]
2023
2021
  attr_accessor :file_spec
@@ -2043,7 +2041,8 @@ module Google
2043
2041
  class XpsExampleSet
2044
2042
  include Google::Apis::Core::Hashable
2045
2043
 
2046
- # Spec of input and output files, on external file systems (CNS, GCS, etc).
2044
+ # Spec of input and output files, on external file systems (for example,
2045
+ # Colossus Namespace System or Google Cloud Storage).
2047
2046
  # Corresponds to the JSON property `fileSpec`
2048
2047
  # @return [Google::Apis::LanguageV2::XpsFileSpec]
2049
2048
  attr_accessor :file_spec
@@ -2104,14 +2103,14 @@ module Google
2104
2103
  attr_accessor :export_firebase_auxiliary_info
2105
2104
  alias_method :export_firebase_auxiliary_info?, :export_firebase_auxiliary_info
2106
2105
 
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.
2106
+ # The Google Contained Registry path the exported files to be pushed to. This
2107
+ # location is set if the exported format is DOCKDER.
2109
2108
  # Corresponds to the JSON property `outputGcrUri`
2110
2109
  # @return [String]
2111
2110
  attr_accessor :output_gcr_uri
2112
2111
 
2113
- # The Google Cloud Storage (GCS) directory where XPS will output the exported
2114
- # models and related files. Format: gs://bucket/directory
2112
+ # The Google Cloud Storage directory where XPS will output the exported models
2113
+ # and related files. Format: gs://bucket/directory
2115
2114
  # Corresponds to the JSON property `outputGcsUri`
2116
2115
  # @return [String]
2117
2116
  attr_accessor :output_gcs_uri
@@ -2151,7 +2150,8 @@ module Google
2151
2150
  end
2152
2151
  end
2153
2152
 
2154
- # Spec of input and output files, on external file systems (CNS, GCS, etc).
2153
+ # Spec of input and output files, on external file systems (for example,
2154
+ # Colossus Namespace System or Google Cloud Storage).
2155
2155
  class XpsFileSpec
2156
2156
  include Google::Apis::Core::Hashable
2157
2157
 
@@ -2348,8 +2348,8 @@ module Google
2348
2348
  include Google::Apis::Core::Hashable
2349
2349
 
2350
2350
  # 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.
2351
+ # exported/downloaded. Use the Google Cloud Storage bucket name which is
2352
+ # provided via TrainRequest.gcs_bucket_name to store the model files.
2353
2353
  # Corresponds to the JSON property `exportModelOutputConfig`
2354
2354
  # @return [Array<Google::Apis::LanguageV2::XpsExportModelOutputConfig>]
2355
2355
  attr_accessor :export_model_output_config
@@ -2379,7 +2379,7 @@ module Google
2379
2379
  # @return [Array<Google::Apis::LanguageV2::XpsModelArtifactItem>]
2380
2380
  attr_accessor :export_artifact
2381
2381
 
2382
- # GCS uri of decoded labels file for model export 'dict.txt'.
2382
+ # Google Cloud Storage URI of decoded labels file for model export 'dict.txt'.
2383
2383
  # Corresponds to the JSON property `labelGcsUri`
2384
2384
  # @return [String]
2385
2385
  attr_accessor :label_gcs_uri
@@ -2389,13 +2389,13 @@ module Google
2389
2389
  # @return [Google::Apis::LanguageV2::XpsModelArtifactItem]
2390
2390
  attr_accessor :serving_artifact
2391
2391
 
2392
- # GCS uri prefix of Tensorflow JavaScript binary files 'groupX-shardXofX.bin'
2393
- # Deprecated.
2392
+ # Google Cloud Storage URI prefix of Tensorflow JavaScript binary files 'groupX-
2393
+ # shardXofX.bin'. Deprecated.
2394
2394
  # Corresponds to the JSON property `tfJsBinaryGcsPrefix`
2395
2395
  # @return [String]
2396
2396
  attr_accessor :tf_js_binary_gcs_prefix
2397
2397
 
2398
- # GCS uri of Tensorflow Lite metadata 'tflite_metadata.json'.
2398
+ # Google Cloud Storage URI of Tensorflow Lite metadata 'tflite_metadata.json'.
2399
2399
  # Corresponds to the JSON property `tfLiteMetadataGcsUri`
2400
2400
  # @return [String]
2401
2401
  attr_accessor :tf_lite_metadata_gcs_uri
@@ -2810,7 +2810,7 @@ module Google
2810
2810
  # @return [String]
2811
2811
  attr_accessor :artifact_format
2812
2812
 
2813
- # The Google Cloud Storage (GCS) uri that stores the model binary files.
2813
+ # The Google Cloud Storage URI that stores the model binary files.
2814
2814
  # Corresponds to the JSON property `gcsUri`
2815
2815
  # @return [String]
2816
2816
  attr_accessor :gcs_uri
@@ -2826,7 +2826,7 @@ module Google
2826
2826
  end
2827
2827
  end
2828
2828
 
2829
- # Next ID: 8
2829
+ #
2830
2830
  class XpsPreprocessResponse
2831
2831
  include Google::Apis::Core::Hashable
2832
2832
 
@@ -3070,7 +3070,7 @@ module Google
3070
3070
  end
3071
3071
 
3072
3072
  # Specification of Model explanation. Feature-based XAI in AutoML Vision ICN is
3073
- # deprecated, see b/288407203 for context.
3073
+ # deprecated.
3074
3074
  class XpsResponseExplanationSpec
3075
3075
  include Google::Apis::Core::Hashable
3076
3076
 
@@ -3680,7 +3680,7 @@ module Google
3680
3680
  end
3681
3681
  end
3682
3682
 
3683
- # Metadata for a dataset used for AutoML Tables. Next ID: 6
3683
+ # Metadata for a dataset used for AutoML Tables.
3684
3684
  class XpsTablesDatasetMetadata
3685
3685
  include Google::Apis::Core::Hashable
3686
3686
 
@@ -3861,7 +3861,7 @@ module Google
3861
3861
  class XpsTablesPreprocessResponse
3862
3862
  include Google::Apis::Core::Hashable
3863
3863
 
3864
- # Metadata for a dataset used for AutoML Tables. Next ID: 6
3864
+ # Metadata for a dataset used for AutoML Tables.
3865
3865
  # Corresponds to the JSON property `tablesDatasetMetadata`
3866
3866
  # @return [Google::Apis::LanguageV2::XpsTablesDatasetMetadata]
3867
3867
  attr_accessor :tables_dataset_metadata
@@ -4020,7 +4020,7 @@ module Google
4020
4020
  end
4021
4021
  end
4022
4022
 
4023
- # Component model. Next ID: 10
4023
+ # Component model.
4024
4024
  class XpsTextComponentModel
4025
4025
  include Google::Apis::Core::Hashable
4026
4026
 
@@ -4416,7 +4416,7 @@ module Google
4416
4416
  end
4417
4417
  end
4418
4418
 
4419
- # Next ID: 18
4419
+ #
4420
4420
  class XpsTrainResponse
4421
4421
  include Google::Apis::Core::Hashable
4422
4422
 
@@ -4841,8 +4841,8 @@ module Google
4841
4841
  include Google::Apis::Core::Hashable
4842
4842
 
4843
4843
  # 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.
4844
+ # exported/downloaded. Use the Google Cloud Storage bucket name which is
4845
+ # provided via TrainRequest.gcs_bucket_name to store the model files.
4846
4846
  # Corresponds to the JSON property `exportModelOutputConfig`
4847
4847
  # @return [Array<Google::Apis::LanguageV2::XpsExportModelOutputConfig>]
4848
4848
  attr_accessor :export_model_output_config
@@ -5044,7 +5044,7 @@ module Google
5044
5044
  class XpsVisionTrainingOperationMetadata
5045
5045
  include Google::Apis::Core::Hashable
5046
5046
 
5047
- # Infra Usage of billing metrics. Next ID: 6
5047
+ # LINT: LEGACY_NAMES Infra Usage of billing metrics.
5048
5048
  # Corresponds to the JSON property `explanationUsage`
5049
5049
  # @return [Google::Apis::LanguageV2::InfraUsage]
5050
5050
  attr_accessor :explanation_usage
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module LanguageV2
18
18
  # Version of the google-apis-language_v2 gem
19
- GEM_VERSION = "0.7.0"
19
+ GEM_VERSION = "0.9.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.1"
22
+ GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240929"
25
+ REVISION = "20250309"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-language_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.9.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-10-06 00:00:00.000000000 Z
10
+ date: 2025-03-16 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: google-apis-core
@@ -58,9 +57,8 @@ licenses:
58
57
  metadata:
59
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-language_v2/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-language_v2/v0.7.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-language_v2/v0.9.0
62
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-language_v2
63
- post_install_message:
64
62
  rdoc_options: []
65
63
  require_paths:
66
64
  - lib
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
75
73
  - !ruby/object:Gem::Version
76
74
  version: '0'
77
75
  requirements: []
78
- rubygems_version: 3.5.6
79
- signing_key:
76
+ rubygems_version: 3.6.5
80
77
  specification_version: 4
81
78
  summary: Simple REST client for Cloud Natural Language API V2
82
79
  test_files: []