google-apis-language_v2 0.6.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 121e9e895b755e29662dd504e44fe5b7011086e65ce8c6a9d71f54da432dff90
4
- data.tar.gz: 8f8f97b998f071a90509d4471b9cbdfd58fa9e091f7778bdb4ad83861960f426
3
+ metadata.gz: dbee8b2042caa8bd6cadb0038a8433dbc105058b907d40a15914859c6f99afed
4
+ data.tar.gz: 98954f6e50fdbd7fed967693d2231b38c3bf2464e70ea700d3c2ae8631e9166b
5
5
  SHA512:
6
- metadata.gz: d99f62fafdcc47ff16dbdb7eb86832b923e7d6d572713055ad30849c03218205737afdc8f8204ff02297a531d6b4fa79790d5b8836917164c61b645618c3343f
7
- data.tar.gz: c2940f2889b50e2698ac1ce1001e4c3765956e8828411036f7c8654ea8620f4d404905a5f2498be7e715d503f2b3d033d0e80dbb5fba153c7dcee6ea2d7ab98d
6
+ metadata.gz: 8856775c44fe07895f29ea8e68ed354980e36112985a473a6471910b6565cfb8923209f18c080f204ff0370aa6117e6d8c1919458a0b137e9836666afb5cdee2
7
+ data.tar.gz: c99db79127e0242625b56d9afe38de7873e813a854808f18ba72b9cbac449e510ec575a1ecb8c5e75c239d2ab35cea2284c7f74e2eb4ef0d3b1a6c9dc8556fb9
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-language_v2
2
2
 
3
+ ### v0.7.0 (2024-10-06)
4
+
5
+ * Regenerated from discovery document revision 20240929
6
+ * Regenerated using generator version 0.15.1
7
+
3
8
  ### v0.6.0 (2024-05-19)
4
9
 
5
10
  * Regenerated from discovery document revision 20240303
@@ -301,6 +301,13 @@ module Google
301
301
  # @return [String]
302
302
  attr_accessor :name
303
303
 
304
+ # Optional. The classifier's severity of the category. This is only present when
305
+ # the ModerateTextRequest.ModelVersion is set to MODEL_VERSION_2, and the
306
+ # corresponding category has a severity score.
307
+ # Corresponds to the JSON property `severity`
308
+ # @return [Float]
309
+ attr_accessor :severity
310
+
304
311
  def initialize(**args)
305
312
  update!(**args)
306
313
  end
@@ -309,6 +316,7 @@ module Google
309
316
  def update!(**args)
310
317
  @confidence = args[:confidence] if args.key?(:confidence)
311
318
  @name = args[:name] if args.key?(:name)
319
+ @severity = args[:severity] if args.key?(:severity)
312
320
  end
313
321
  end
314
322
 
@@ -750,6 +758,11 @@ module Google
750
758
  # @return [Google::Apis::LanguageV2::Document]
751
759
  attr_accessor :document
752
760
 
761
+ # Optional. The model version to use for ModerateText.
762
+ # Corresponds to the JSON property `modelVersion`
763
+ # @return [String]
764
+ attr_accessor :model_version
765
+
753
766
  def initialize(**args)
754
767
  update!(**args)
755
768
  end
@@ -757,6 +770,7 @@ module Google
757
770
  # Update properties of this object
758
771
  def update!(**args)
759
772
  @document = args[:document] if args.key?(:document)
773
+ @model_version = args[:model_version] if args.key?(:model_version)
760
774
  end
761
775
  end
762
776
 
@@ -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.6.0"
19
+ GEM_VERSION = "0.7.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240303"
25
+ REVISION = "20240929"
26
26
  end
27
27
  end
28
28
  end
@@ -934,6 +934,7 @@ module Google
934
934
  class Representation < Google::Apis::Core::JsonRepresentation
935
935
  property :confidence, as: 'confidence'
936
936
  property :name, as: 'name'
937
+ property :severity, as: 'severity'
937
938
  end
938
939
  end
939
940
 
@@ -1050,6 +1051,7 @@ module Google
1050
1051
  class Representation < Google::Apis::Core::JsonRepresentation
1051
1052
  property :document, as: 'document', class: Google::Apis::LanguageV2::Document, decorator: Google::Apis::LanguageV2::Document::Representation
1052
1053
 
1054
+ property :model_version, as: 'modelVersion'
1053
1055
  end
1054
1056
  end
1055
1057
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-language_v2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.0
4
+ version: 0.7.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-05-26 00:00:00.000000000 Z
11
+ date: 2024-10-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: google-apis-core
@@ -58,7 +58,7 @@ licenses:
58
58
  metadata:
59
59
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
60
60
  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.6.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-language_v2/v0.7.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-language_v2
63
63
  post_install_message:
64
64
  rdoc_options: []