google-cloud-dataqna-v1alpha 0.8.0 → 0.9.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: 3c0acdf4c44b54ca565aa82267b5b387fb4e22f914e5070fb88d74cfa22bba06
4
- data.tar.gz: 5141b751dc8bc4a17ec792d1412e6f3334af0cd989110c037a7e12b103d8cf60
3
+ metadata.gz: 06a1c39740a15fea16ae755643af0d28525a53505a1b3932b6f5303fac580c6a
4
+ data.tar.gz: 69e572b2c6e2ccfcd74599168aa84e97c4bfbc208cdb17402dfd3a11e4f0089b
5
5
  SHA512:
6
- metadata.gz: 6bfacbf38a567bb950a62abde75fbe6084024e1c66e9ea1ec061e2441f0faf563d293e42322c4d906a22d02aae2b88f2cad8adc8f1e2b76afaf4ad275c2195ee
7
- data.tar.gz: 7d81cc89aef757222bb5ef049f2437b78eeeb5c9cc42ea670b4a8a9a8ccc521447913e48395d2668a87ece2531c11258c770711f5187e84f87319bce2734a7aa
6
+ metadata.gz: 441214d93c7ada3674bd22a892157eae3ae26df183df9f5e2db481ce0c29dfe9c8c49aa20dd79a2fc0cc849d3bdebe50254063fb82dd830ac56f86770ae8296d
7
+ data.tar.gz: 5dd4d8842477f46dddca8ec747cff57a2eaa5f776c9d4a2f64b336770d23bcb3053a9bca3633d13bdb0eba52a7a6caf17c87b956fe6f25ec09c354582e03e490
data/README.md CHANGED
@@ -82,7 +82,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
82
82
 
83
83
  ## Supported Ruby Versions
84
84
 
85
- This library is supported on Ruby 2.7+.
85
+ This library is supported on Ruby 3.0+.
86
86
 
87
87
  Google provides official support for Ruby versions that are actively supported
88
88
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -396,6 +396,13 @@ module Google
396
396
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
397
397
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
398
398
  # * (`nil`) indicating no credentials
399
+ #
400
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
401
+ # external source for authentication to Google Cloud, you must validate it before
402
+ # providing it to a Google API client library. Providing an unvalidated credential
403
+ # configuration to Google APIs can compromise the security of your systems and data.
404
+ # For more information, refer to [Validate credential configurations from external
405
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
399
406
  # @return [::Object]
400
407
  # @!attribute [rw] scope
401
408
  # The OAuth scopes
@@ -450,8 +457,8 @@ module Google
450
457
 
451
458
  config_attr :endpoint, nil, ::String, nil
452
459
  config_attr :credentials, nil do |value|
453
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
454
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
460
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
461
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
455
462
  allowed.any? { |klass| klass === value }
456
463
  end
457
464
  config_attr :scope, nil, ::String, ::Array, nil
@@ -694,6 +694,13 @@ module Google
694
694
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
695
695
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
696
696
  # * (`nil`) indicating no credentials
697
+ #
698
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
699
+ # external source for authentication to Google Cloud, you must validate it before
700
+ # providing it to a Google API client library. Providing an unvalidated credential
701
+ # configuration to Google APIs can compromise the security of your systems and data.
702
+ # For more information, refer to [Validate credential configurations from external
703
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
697
704
  # @return [::Object]
698
705
  # @!attribute [rw] scope
699
706
  # The OAuth scopes
@@ -748,8 +755,8 @@ module Google
748
755
 
749
756
  config_attr :endpoint, nil, ::String, nil
750
757
  config_attr :credentials, nil do |value|
751
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
752
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
758
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
759
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
753
760
  allowed.any? { |klass| klass === value }
754
761
  end
755
762
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module DataQnA
23
23
  module V1alpha
24
- VERSION = "0.8.0"
24
+ VERSION = "0.9.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,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-dataqna-v1alpha
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 0.9.1
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: 1980-01-02 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
@@ -94,7 +93,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
94
93
  licenses:
95
94
  - Apache-2.0
96
95
  metadata: {}
97
- post_install_message:
98
96
  rdoc_options: []
99
97
  require_paths:
100
98
  - lib
@@ -102,15 +100,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
102
100
  requirements:
103
101
  - - ">="
104
102
  - !ruby/object:Gem::Version
105
- version: '2.7'
103
+ version: '3.0'
106
104
  required_rubygems_version: !ruby/object:Gem::Requirement
107
105
  requirements:
108
106
  - - ">="
109
107
  - !ruby/object:Gem::Version
110
108
  version: '0'
111
109
  requirements: []
112
- rubygems_version: 3.5.23
113
- signing_key:
110
+ rubygems_version: 3.6.8
114
111
  specification_version: 4
115
112
  summary: Data QnA is a natural language question and answer service for BigQuery data.
116
113
  test_files: []