google-apis-language_v2 0.5.0 → 0.7.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: dbee8b2042caa8bd6cadb0038a8433dbc105058b907d40a15914859c6f99afed
|
4
|
+
data.tar.gz: 98954f6e50fdbd7fed967693d2231b38c3bf2464e70ea700d3c2ae8631e9166b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8856775c44fe07895f29ea8e68ed354980e36112985a473a6471910b6565cfb8923209f18c080f204ff0370aa6117e6d8c1919458a0b137e9836666afb5cdee2
|
7
|
+
data.tar.gz: c99db79127e0242625b56d9afe38de7873e813a854808f18ba72b9cbac449e510ec575a1ecb8c5e75c239d2ab35cea2284c7f74e2eb4ef0d3b1a6c9dc8556fb9
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,15 @@
|
|
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
|
+
|
8
|
+
### v0.6.0 (2024-05-19)
|
9
|
+
|
10
|
+
* Regenerated from discovery document revision 20240303
|
11
|
+
* Regenerated using generator version 0.15.0
|
12
|
+
|
3
13
|
### v0.5.0 (2024-02-23)
|
4
14
|
|
5
15
|
* Regenerated from discovery document revision 20240220
|
@@ -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.
|
19
|
+
GEM_VERSION = "0.7.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
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.
|
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-
|
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
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.15.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
29
|
+
version: 0.15.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -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.
|
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: []
|