google-cloud-language-v2 0.7.0 → 1.0.1

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: f5205f7b197a0f7ac54f13f38827aa654fc1608f36f4046e0c6fab27b826c123
4
- data.tar.gz: 4bca82ff4a0b483d6aea858d14ef4e63865b7bdd62228bb1fd236fae0c6411ee
3
+ metadata.gz: 9e87e3baed72a156828120b0e755ed87a647aa76940756380303927532aba026
4
+ data.tar.gz: d386f4e986b4336cecd8026427dadc39c03d3a3ab017e475398d0102307eab81
5
5
  SHA512:
6
- metadata.gz: 8e05ab6ad735864ba25a9d9b846e8630df9a71c9358bb0c10a9522a551641ca6577f6e2c47d4fc0261e645c0a3d0c5a99f416eae3078a00479e65d43b12e45c2
7
- data.tar.gz: dbe9d6626f8f067d2423c7e7b6d5d392f16f92a1b07a3cf73ea1c32065ee93d3dce104b4a2906dc980fdd69357aba17ca9e04ce723b4cc03cf805c305a573014
6
+ metadata.gz: 82a2b062b3acfac6579587599905dcb94b4dddb47154355c58cd18a4eb7fd9cbba676486b22746ecd448de455a6b2d40c4a9729f09304ff174bb8c0d4e26b6f2
7
+ data.tar.gz: 1311420c104bf2520ec6d65f70107ea994ffd600bf969a97c9db4803b772ba483c4de5c9a50a198ef71863a5daaf55945c0915e4c605442fda6ee8dda689275b
@@ -709,8 +709,8 @@ module Google
709
709
 
710
710
  config_attr :endpoint, nil, ::String, nil
711
711
  config_attr :credentials, nil do |value|
712
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
713
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
712
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
713
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
714
714
  allowed.any? { |klass| klass === value }
715
715
  end
716
716
  config_attr :scope, nil, ::String, ::Array, nil
@@ -698,7 +698,7 @@ module Google
698
698
 
699
699
  config_attr :endpoint, nil, ::String, nil
700
700
  config_attr :credentials, nil do |value|
701
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
701
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
702
702
  allowed.any? { |klass| klass === value }
703
703
  end
704
704
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module Language
23
23
  module V2
24
- VERSION = "0.7.0"
24
+ VERSION = "1.0.1"
25
25
  end
26
26
  end
27
27
  end
@@ -221,6 +221,12 @@ module Google
221
221
  # Pythonic which are included in `protobuf>=5.29.x`. This feature will be
222
222
  # enabled by default 1 month after launching the feature in preview
223
223
  # packages.
224
+ # @!attribute [rw] unversioned_package_disabled
225
+ # @return [::Boolean]
226
+ # Disables generation of an unversioned Python package for this client
227
+ # library. This means that the module names will need to be versioned in
228
+ # import statements. For example `import google.cloud.library_v2` instead
229
+ # of `import google.cloud.library`.
224
230
  class ExperimentalFeatures
225
231
  include ::Google::Protobuf::MessageExts
226
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -409,6 +415,14 @@ module Google
409
415
  # @return [::Array<::String>]
410
416
  # An allowlist of the fully qualified names of RPCs that should be included
411
417
  # on public client surfaces.
418
+ # @!attribute [rw] generate_omitted_as_internal
419
+ # @return [::Boolean]
420
+ # Setting this to true indicates to the client generators that methods
421
+ # that would be excluded from the generation should instead be generated
422
+ # in a way that indicates these methods should not be consumed by
423
+ # end users. How this is expressed is up to individual language
424
+ # implementations to decide. Some examples may be: added annotations,
425
+ # obfuscated identifiers, or other language idiomatic patterns.
412
426
  class SelectiveGapicGeneration
413
427
  include ::Google::Protobuf::MessageExts
414
428
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,13 +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.7.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-29 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: gapic-common
@@ -94,7 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
94
94
  - !ruby/object:Gem::Version
95
95
  version: '0'
96
96
  requirements: []
97
- rubygems_version: 3.6.2
97
+ rubygems_version: 3.6.8
98
98
  specification_version: 4
99
99
  summary: Provides natural language understanding technologies, such as sentiment analysis,
100
100
  entity recognition, entity sentiment analysis, and other text annotations, to developers.