google-cloud-language-v1 1.1.0 → 1.2.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: 55fc44e2d3b41477bdc20adb0f85821c418f016d77a0c0bd86c27c578737d9e4
4
- data.tar.gz: f455732662dc3a36692b06f9909e42967bb69c7d672914f3871954177df381bb
3
+ metadata.gz: b8186d637d23e0eed051b7ad930024ca1924eeda261ee57d6f8e1e6703465a74
4
+ data.tar.gz: 5f0b1625efc9c8de9a8bf0cf2b603e9e78d84aaa5cb0c7be682f5133111f8a47
5
5
  SHA512:
6
- metadata.gz: 2ddb55d476b36f0a30d85bbbfb7b59b61db6077bade74ae5f54663e3340e84451566d5cdfd56a5c9d85fb47e6a29bd87f12ae1822ec775c13e817e8e1bbb21cd
7
- data.tar.gz: cecdc9ddebaed7a08c6c1d25a3645761825e17f0aaac7c4fe76ae8db5f842371737b920de421ad3154849bcefb52d49b6771c2e1321f8270a2ee5d17e09d3cc3
6
+ metadata.gz: a00088759433aa514c741b21a6fb0d10ef2341f37c6b018dfa0cadbe12273248a4b8351af75cf9bd27e6bb927a0ba6ec8f2d2f02243205ac4d11d5baee790680
7
+ data.tar.gz: e332305bf285e0c4474dd58ce2c87d01b6f0dd30cc4331b1da4a503df8eced4382f1c5d9c85063f076d1af79b7bd72a6c95d9db6a7b903e0d7ccf50fc323fa7d
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 2.7+.
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
@@ -818,6 +818,13 @@ module Google
818
818
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
819
819
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
820
820
  # * (`nil`) indicating no credentials
821
+ #
822
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
823
+ # external source for authentication to Google Cloud, you must validate it before
824
+ # providing it to a Google API client library. Providing an unvalidated credential
825
+ # configuration to Google APIs can compromise the security of your systems and data.
826
+ # For more information, refer to [Validate credential configurations from external
827
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
821
828
  # @return [::Object]
822
829
  # @!attribute [rw] scope
823
830
  # The OAuth scopes
@@ -816,6 +816,13 @@ module Google
816
816
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
817
817
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
818
818
  # * (`nil`) indicating no credentials
819
+ #
820
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
821
+ # external source for authentication to Google Cloud, you must validate it before
822
+ # providing it to a Google API client library. Providing an unvalidated credential
823
+ # configuration to Google APIs can compromise the security of your systems and data.
824
+ # For more information, refer to [Validate credential configurations from external
825
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
819
826
  # @return [::Object]
820
827
  # @!attribute [rw] scope
821
828
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Language
23
23
  module V1
24
- VERSION = "1.1.0"
24
+ VERSION = "1.2.0"
25
25
  end
26
26
  end
27
27
  end
@@ -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
@@ -906,10 +910,14 @@ module Google
906
910
  # Setting this field will use the V1 model and V1 content categories
907
911
  # version. The V1 model is a legacy model; support for this will be
908
912
  # discontinued in the future.
913
+ #
914
+ # 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.
909
915
  # @!attribute [rw] v2_model
910
916
  # @return [::Google::Cloud::Language::V1::ClassificationModelOptions::V2Model]
911
917
  # Setting this field will use the V2 model with the appropriate content
912
918
  # categories version. The V2 model is a better performing model.
919
+ #
920
+ # 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.
913
921
  class ClassificationModelOptions
914
922
  include ::Google::Protobuf::MessageExts
915
923
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-language-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.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-12-10 00:00:00.000000000 Z
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.24.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.24.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: '2.7'
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.5.23
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.