google-cloud-language-v1beta2 0.12.0 → 0.13.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 +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/language/v1beta2/language_service/client.rb +7 -0
- data/lib/google/cloud/language/v1beta2/language_service/rest/client.rb +7 -0
- data/lib/google/cloud/language/v1beta2/version.rb +1 -1
- data/proto_docs/google/cloud/language/v1beta2/language_service.rb +8 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d0ca04205db71e2728ecbf96d78ccc0a2bb92115f0993fe308a5211c59241e5a
|
4
|
+
data.tar.gz: 9129b523ff693095bd18910c24eb276e0cd65d42e44bef1c4d832d54e9fd723f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f309c5056dc53115856391f9400f5b1946cba70a46b9346c8e4f19b3ccd00146262a1dda4e579cd86870be23f9ef8e7bf2bc07405dc71c2242161f918ae0c3d
|
7
|
+
data.tar.gz: eda094070c1558f84ce88fc2d7b5c98ca084d7c65b5f002fd1f87d5789883f50f9b7678f6c4970054f948e323c5557733709450a131b6aa7cfe770b260e0fa9c
|
data/README.md
CHANGED
@@ -86,7 +86,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
86
86
|
|
87
87
|
## Supported Ruby Versions
|
88
88
|
|
89
|
-
This library is supported on Ruby
|
89
|
+
This library is supported on Ruby 3.0+.
|
90
90
|
|
91
91
|
Google provides official support for Ruby versions that are actively supported
|
92
92
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -819,6 +819,13 @@ module Google
|
|
819
819
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
820
820
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
821
821
|
# * (`nil`) indicating no credentials
|
822
|
+
#
|
823
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
824
|
+
# external source for authentication to Google Cloud, you must validate it before
|
825
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
826
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
827
|
+
# For more information, refer to [Validate credential configurations from external
|
828
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
822
829
|
# @return [::Object]
|
823
830
|
# @!attribute [rw] scope
|
824
831
|
# The OAuth scopes
|
@@ -817,6 +817,13 @@ module Google
|
|
817
817
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
818
818
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
819
819
|
# * (`nil`) indicating no credentials
|
820
|
+
#
|
821
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
822
|
+
# external source for authentication to Google Cloud, you must validate it before
|
823
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
824
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
825
|
+
# For more information, refer to [Validate credential configurations from external
|
826
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
820
827
|
# @return [::Object]
|
821
828
|
# @!attribute [rw] scope
|
822
829
|
# The OAuth scopes
|
@@ -30,12 +30,16 @@ module Google
|
|
30
30
|
# @return [::String]
|
31
31
|
# The content of the input in string format.
|
32
32
|
# Cloud audit logging exempt since it is based on user data.
|
33
|
+
#
|
34
|
+
# Note: The following fields are mutually exclusive: `content`, `gcs_content_uri`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
33
35
|
# @!attribute [rw] gcs_content_uri
|
34
36
|
# @return [::String]
|
35
37
|
# The Google Cloud Storage URI where the file content is located.
|
36
38
|
# This URI must be of the form: gs://bucket_name/object_name. For more
|
37
39
|
# details, see https://cloud.google.com/storage/docs/reference-uris.
|
38
40
|
# NOTE: Cloud Storage object versioning is not supported.
|
41
|
+
#
|
42
|
+
# Note: The following fields are mutually exclusive: `gcs_content_uri`, `content`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
39
43
|
# @!attribute [rw] language
|
40
44
|
# @return [::String]
|
41
45
|
# The language of the document (if not specified, the language is
|
@@ -925,10 +929,14 @@ module Google
|
|
925
929
|
# Setting this field will use the V1 model and V1 content categories
|
926
930
|
# version. The V1 model is a legacy model; support for this will be
|
927
931
|
# discontinued in the future.
|
932
|
+
#
|
933
|
+
# Note: The following fields are mutually exclusive: `v1_model`, `v2_model`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
928
934
|
# @!attribute [rw] v2_model
|
929
935
|
# @return [::Google::Cloud::Language::V1beta2::ClassificationModelOptions::V2Model]
|
930
936
|
# Setting this field will use the V2 model with the appropriate content
|
931
937
|
# categories version. The V2 model is a better performing model.
|
938
|
+
#
|
939
|
+
# Note: The following fields are mutually exclusive: `v2_model`, `v1_model`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
932
940
|
class ClassificationModelOptions
|
933
941
|
include ::Google::Protobuf::MessageExts
|
934
942
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-language-v1beta2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.13.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -81,7 +80,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
81
80
|
licenses:
|
82
81
|
- Apache-2.0
|
83
82
|
metadata: {}
|
84
|
-
post_install_message:
|
85
83
|
rdoc_options: []
|
86
84
|
require_paths:
|
87
85
|
- lib
|
@@ -89,15 +87,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
89
87
|
requirements:
|
90
88
|
- - ">="
|
91
89
|
- !ruby/object:Gem::Version
|
92
|
-
version: '
|
90
|
+
version: '3.0'
|
93
91
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
94
92
|
requirements:
|
95
93
|
- - ">="
|
96
94
|
- !ruby/object:Gem::Version
|
97
95
|
version: '0'
|
98
96
|
requirements: []
|
99
|
-
rubygems_version: 3.
|
100
|
-
signing_key:
|
97
|
+
rubygems_version: 3.6.2
|
101
98
|
specification_version: 4
|
102
99
|
summary: Provides natural language understanding technologies, such as sentiment analysis,
|
103
100
|
entity recognition, entity sentiment analysis, and other text annotations, to developers.
|