google-cloud-service_directory-v1 1.1.0 → 1.2.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: 97920ef46aee3ce9b4f8026675c2a133fa971b81015866c817a271836a474d0e
4
- data.tar.gz: 6e598e169bc9d94c08faf3e6205fbd1dd002ea64ef61f00f40ddeeabd6449f19
3
+ metadata.gz: b274e60f9d11058845b573c981f89d2cadde1f34644ff489f118968e1e1a55de
4
+ data.tar.gz: f809de3de9a38d14fb6e86a359d34c9fd6493a42cec85d314947603671f46a76
5
5
  SHA512:
6
- metadata.gz: 734c7ed575781fa89ad1c95abeb09cf6d49e6b72df414497f54d32e42a1f201d15a8b881ecd177dcb3a247c79020ee4a2f8e842383ee8ffffed1f56791547b42
7
- data.tar.gz: e429bfc055569afeb7b1d715e0358141dffc4791359afd1a94175106dc2d3e963565f73e7335d378264a19eada011a330289e0c5a334cde23868d7a699b2249e
6
+ metadata.gz: 336cd18dd98a21c4da5daa55c47b86058980896f3941723bdd2c5f7629d2d2666e8c6aa6f2e56c8139ed6bd284e50ea9df962e9f6b7ff751d1b143fed164faeb
7
+ data.tar.gz: 8f528da294df05bf6160a336160f591aaa708eadd57c92dc309ad4b9d0e8307b66615e4b29686b7080464b5cdaacbdeb32a3ecaf59d20d37da03d74aaf73ed9f
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
@@ -2016,6 +2016,13 @@ module Google
2016
2016
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
2017
2017
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2018
2018
  # * (`nil`) indicating no credentials
2019
+ #
2020
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
2021
+ # external source for authentication to Google Cloud, you must validate it before
2022
+ # providing it to a Google API client library. Providing an unvalidated credential
2023
+ # configuration to Google APIs can compromise the security of your systems and data.
2024
+ # For more information, refer to [Validate credential configurations from external
2025
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
2019
2026
  # @return [::Object]
2020
2027
  # @!attribute [rw] scope
2021
2028
  # The OAuth scopes
@@ -2070,8 +2077,8 @@ module Google
2070
2077
 
2071
2078
  config_attr :endpoint, nil, ::String, nil
2072
2079
  config_attr :credentials, nil do |value|
2073
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
2074
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
2080
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
2081
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
2075
2082
  allowed.any? { |klass| klass === value }
2076
2083
  end
2077
2084
  config_attr :scope, nil, ::String, ::Array, nil
@@ -1882,6 +1882,13 @@ module Google
1882
1882
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1883
1883
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1884
1884
  # * (`nil`) indicating no credentials
1885
+ #
1886
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1887
+ # external source for authentication to Google Cloud, you must validate it before
1888
+ # providing it to a Google API client library. Providing an unvalidated credential
1889
+ # configuration to Google APIs can compromise the security of your systems and data.
1890
+ # For more information, refer to [Validate credential configurations from external
1891
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1885
1892
  # @return [::Object]
1886
1893
  # @!attribute [rw] scope
1887
1894
  # The OAuth scopes
@@ -1929,7 +1936,7 @@ module Google
1929
1936
 
1930
1937
  config_attr :endpoint, nil, ::String, nil
1931
1938
  config_attr :credentials, nil do |value|
1932
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1939
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1933
1940
  allowed.any? { |klass| klass === value }
1934
1941
  end
1935
1942
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ServiceDirectory
23
23
  module V1
24
- VERSION = "1.1.0"
24
+ VERSION = "1.2.1"
25
25
  end
26
26
  end
27
27
  end
@@ -8,7 +8,7 @@ require 'google/api/field_behavior_pb'
8
8
  require 'google/api/resource_pb'
9
9
 
10
10
 
11
- descriptor_data = "\n0google/cloud/servicedirectory/v1/namespace.proto\x12 google.cloud.servicedirectory.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x9d\x02\n\tNamespace\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12L\n\x06labels\x18\x02 \x03(\x0b\x32\x37.google.cloud.servicedirectory.v1.Namespace.LabelsEntryB\x03\xe0\x41\x01\x12\x10\n\x03uid\x18\x05 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:n\xea\x41k\n)servicedirectory.googleapis.com/Namespace\x12>projects/{project}/locations/{location}/namespaces/{namespace}B\xf9\x01\n$com.google.cloud.servicedirectory.v1B\x0eNamespaceProtoP\x01ZPcloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb\xf8\x01\x01\xaa\x02 Google.Cloud.ServiceDirectory.V1\xca\x02 Google\\Cloud\\ServiceDirectory\\V1\xea\x02#Google::Cloud::ServiceDirectory::V1b\x06proto3"
11
+ descriptor_data = "\n0google/cloud/servicedirectory/v1/namespace.proto\x12 google.cloud.servicedirectory.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\"\x9d\x02\n\tNamespace\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12L\n\x06labels\x18\x02 \x03(\x0b\x32\x37.google.cloud.servicedirectory.v1.Namespace.LabelsEntryB\x03\xe0\x41\x01\x12\x10\n\x03uid\x18\x05 \x01(\tB\x03\xe0\x41\x03\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01:n\xea\x41k\n)servicedirectory.googleapis.com/Namespace\x12>projects/{project}/locations/{location}/namespaces/{namespace}B\xf6\x01\n$com.google.cloud.servicedirectory.v1B\x0eNamespaceProtoP\x01ZPcloud.google.com/go/servicedirectory/apiv1/servicedirectorypb;servicedirectorypb\xaa\x02 Google.Cloud.ServiceDirectory.V1\xca\x02 Google\\Cloud\\ServiceDirectory\\V1\xea\x02#Google::Cloud::ServiceDirectory::V1b\x06proto3"
12
12
 
13
13
  pool = Google::Protobuf::DescriptorPool.generated_pool
14
14
 
@@ -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-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.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
@@ -139,7 +138,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
139
138
  licenses:
140
139
  - Apache-2.0
141
140
  metadata: {}
142
- post_install_message:
143
141
  rdoc_options: []
144
142
  require_paths:
145
143
  - lib
@@ -147,15 +145,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
147
145
  requirements:
148
146
  - - ">="
149
147
  - !ruby/object:Gem::Version
150
- version: '2.7'
148
+ version: '3.0'
151
149
  required_rubygems_version: !ruby/object:Gem::Requirement
152
150
  requirements:
153
151
  - - ">="
154
152
  - !ruby/object:Gem::Version
155
153
  version: '0'
156
154
  requirements: []
157
- rubygems_version: 3.5.23
158
- signing_key:
155
+ rubygems_version: 3.6.8
159
156
  specification_version: 4
160
157
  summary: Service Directory is a platform for discovering, publishing, and connecting
161
158
  services.