google-cloud-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: bd91bd2ef7935c67a6ebaba5569496409a2393f2288ebd097e139c69f071b131
4
- data.tar.gz: f86a56de36b2d0c8c9b16557cec1cebcb9de1211604a17ddb49ade4e00341116
3
+ metadata.gz: f5205f7b197a0f7ac54f13f38827aa654fc1608f36f4046e0c6fab27b826c123
4
+ data.tar.gz: 4bca82ff4a0b483d6aea858d14ef4e63865b7bdd62228bb1fd236fae0c6411ee
5
5
  SHA512:
6
- metadata.gz: 4e0d3ea03141bd5ee5ccb68d714abcc981f134ed1041c17145e75c0301b464820113471fcb1770f7fa4c9581f3559c99ac9e363979b21bfcf12042819f548adf
7
- data.tar.gz: 219fbe2048002a5c4f6bed4ec1c40434e0d37b96a97441abd17c8952a54c9eb159d403116b9e1251607da71fbe6750cda97aca094f5329a9b58707c116470354
6
+ metadata.gz: 8e05ab6ad735864ba25a9d9b846e8630df9a71c9358bb0c10a9522a551641ca6577f6e2c47d4fc0261e645c0a3d0c5a99f416eae3078a00479e65d43b12e45c2
7
+ data.tar.gz: dbe9d6626f8f067d2423c7e7b6d5d392f16f92a1b07a3cf73ea1c32065ee93d3dce104b4a2906dc980fdd69357aba17ca9e04ce723b4cc03cf805c305a573014
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
@@ -648,6 +648,13 @@ module Google
648
648
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
649
649
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
650
650
  # * (`nil`) indicating no credentials
651
+ #
652
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # external source for authentication to Google Cloud, you must validate it before
654
+ # providing it to a Google API client library. Providing an unvalidated credential
655
+ # configuration to Google APIs can compromise the security of your systems and data.
656
+ # For more information, refer to [Validate credential configurations from external
657
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
651
658
  # @return [::Object]
652
659
  # @!attribute [rw] scope
653
660
  # The OAuth scopes
@@ -644,6 +644,13 @@ module Google
644
644
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
645
645
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
646
646
  # * (`nil`) indicating no credentials
647
+ #
648
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
649
+ # external source for authentication to Google Cloud, you must validate it before
650
+ # providing it to a Google API client library. Providing an unvalidated credential
651
+ # configuration to Google APIs can compromise the security of your systems and data.
652
+ # For more information, refer to [Validate credential configurations from external
653
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
647
654
  # @return [::Object]
648
655
  # @!attribute [rw] scope
649
656
  # The OAuth scopes
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Language
23
23
  module V2
24
- VERSION = "0.6.0"
24
+ VERSION = "0.7.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_code
40
44
  # @return [::String]
41
45
  # Optional. The language of the document (if not specified, the language is
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-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
- 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.