google-cloud-service_directory-v1beta1 0.16.0 → 0.17.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: 2f57f86bcf3a26b3607855b1cc3271d0a819ba308760008d58d5ba6924685a98
4
- data.tar.gz: 8b1845664be80138eaba3a51376943844d4f59ecb2a1ea5fa2c36db7bbe067f8
3
+ metadata.gz: 5d20dffdffba9ec241ad8ebbffa9fb4754187d1bb0743d04ac34d139a10ba0da
4
+ data.tar.gz: 3ea56f46d5602bff9eceeefa0f4b8f90030de225d90a459df64ce0f53f63244d
5
5
  SHA512:
6
- metadata.gz: f96acc53d709d7f3ec749228f345620776e929b766522db7737104af70f512cf6953a4a903f16bf844e45e53dde747f4c2dcd7383caba357301d9112fd7ddd30
7
- data.tar.gz: 0b9d41ca550cbd3f39d8f5c9a7f7144ee15517c19781b73fa1e75ee06d178637aaf962ad1e0ddebfdcb12f47d110b75c3d4d9a3614fbb4f77981ef1ed2c58f62
6
+ metadata.gz: 3fbb74a0df22a9461b8cc0df40cad4798499b596ed3babbac483dd8202348b4cca3e294d8a577482e7f4037fcdde234876dce5e94804de50b427bc6992bfb7a3
7
+ data.tar.gz: da3156742baa8c9b0825ad7fc0a8e8eea8dfbc7c5c3c5517529903666f172772bb72086a8aecdb74702d8d388d197c66f272fb247ebbfc6b09d6ced9d7cbf1fd
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
@@ -376,6 +376,13 @@ module Google
376
376
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
377
377
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
378
378
  # * (`nil`) indicating no credentials
379
+ #
380
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
381
+ # external source for authentication to Google Cloud, you must validate it before
382
+ # providing it to a Google API client library. Providing an unvalidated credential
383
+ # configuration to Google APIs can compromise the security of your systems and data.
384
+ # For more information, refer to [Validate credential configurations from external
385
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
379
386
  # @return [::Object]
380
387
  # @!attribute [rw] scope
381
388
  # The OAuth scopes
@@ -430,8 +437,8 @@ module Google
430
437
 
431
438
  config_attr :endpoint, nil, ::String, nil
432
439
  config_attr :credentials, nil do |value|
433
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
434
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
440
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
441
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
435
442
  allowed.any? { |klass| klass === value }
436
443
  end
437
444
  config_attr :scope, nil, ::String, ::Array, nil
@@ -361,6 +361,13 @@ module Google
361
361
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
362
362
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
363
363
  # * (`nil`) indicating no credentials
364
+ #
365
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
366
+ # external source for authentication to Google Cloud, you must validate it before
367
+ # providing it to a Google API client library. Providing an unvalidated credential
368
+ # configuration to Google APIs can compromise the security of your systems and data.
369
+ # For more information, refer to [Validate credential configurations from external
370
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
364
371
  # @return [::Object]
365
372
  # @!attribute [rw] scope
366
373
  # The OAuth scopes
@@ -408,7 +415,7 @@ module Google
408
415
 
409
416
  config_attr :endpoint, nil, ::String, nil
410
417
  config_attr :credentials, nil do |value|
411
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
418
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
412
419
  allowed.any? { |klass| klass === value }
413
420
  end
414
421
  config_attr :scope, nil, ::String, ::Array, nil
@@ -2024,6 +2024,13 @@ module Google
2024
2024
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
2025
2025
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2026
2026
  # * (`nil`) indicating no credentials
2027
+ #
2028
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2029
+ # external source for authentication to Google Cloud, you must validate it before
2030
+ # providing it to a Google API client library. Providing an unvalidated credential
2031
+ # configuration to Google APIs can compromise the security of your systems and data.
2032
+ # For more information, refer to [Validate credential configurations from external
2033
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2027
2034
  # @return [::Object]
2028
2035
  # @!attribute [rw] scope
2029
2036
  # The OAuth scopes
@@ -2078,8 +2085,8 @@ module Google
2078
2085
 
2079
2086
  config_attr :endpoint, nil, ::String, nil
2080
2087
  config_attr :credentials, nil do |value|
2081
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2082
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
2088
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2089
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
2083
2090
  allowed.any? { |klass| klass === value }
2084
2091
  end
2085
2092
  config_attr :scope, nil, ::String, ::Array, nil
@@ -1890,6 +1890,13 @@ module Google
1890
1890
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1891
1891
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1892
1892
  # * (`nil`) indicating no credentials
1893
+ #
1894
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1895
+ # external source for authentication to Google Cloud, you must validate it before
1896
+ # providing it to a Google API client library. Providing an unvalidated credential
1897
+ # configuration to Google APIs can compromise the security of your systems and data.
1898
+ # For more information, refer to [Validate credential configurations from external
1899
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1893
1900
  # @return [::Object]
1894
1901
  # @!attribute [rw] scope
1895
1902
  # The OAuth scopes
@@ -1937,7 +1944,7 @@ module Google
1937
1944
 
1938
1945
  config_attr :endpoint, nil, ::String, nil
1939
1946
  config_attr :credentials, nil do |value|
1940
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1947
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1941
1948
  allowed.any? { |klass| klass === value }
1942
1949
  end
1943
1950
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ServiceDirectory
23
23
  module V1beta1
24
- VERSION = "0.16.0"
24
+ VERSION = "0.17.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-service_directory-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.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
@@ -140,7 +139,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
140
139
  licenses:
141
140
  - Apache-2.0
142
141
  metadata: {}
143
- post_install_message:
144
142
  rdoc_options: []
145
143
  require_paths:
146
144
  - lib
@@ -148,15 +146,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
148
146
  requirements:
149
147
  - - ">="
150
148
  - !ruby/object:Gem::Version
151
- version: '2.7'
149
+ version: '3.0'
152
150
  required_rubygems_version: !ruby/object:Gem::Requirement
153
151
  requirements:
154
152
  - - ">="
155
153
  - !ruby/object:Gem::Version
156
154
  version: '0'
157
155
  requirements: []
158
- rubygems_version: 3.5.23
159
- signing_key:
156
+ rubygems_version: 3.6.8
160
157
  specification_version: 4
161
158
  summary: Service Directory is a platform for discovering, publishing, and connecting
162
159
  services.