google-cloud-apigee_registry-v1 0.9.0 → 0.10.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: d015880b5c33c1ad57def4e04e44f18b0fb6888a397decd50ed0ac2716818323
4
- data.tar.gz: aa4fd26610d20cc9d67aa3f5df63c1bd8fa718e0798692ee324599590873e4de
3
+ metadata.gz: e10d360e9d9c9de1836605c9746ab9bae5a8cdae8f26c282c1c016d5b81bebe1
4
+ data.tar.gz: e71977d6e7a11663128d64d1909c2ae69f26ed5c8eab3c644444be40ec3f5c03
5
5
  SHA512:
6
- metadata.gz: 3e7764e61d51c1119d0e757279cfe7714d2a5038d27af7354df4a9ea59dee9ffa4b92f0dca84c822d0e90cda285e3f316b5354e33df56f47d721f83abe7f03d0
7
- data.tar.gz: 0a468f708d5344c0a4384218a3e5eaf770c036a36a795da5fec33a35cc001f960ea1f68d114cb4735a2f6e87ee82acfb63dd12577cdc3299477d55f90082f816
6
+ metadata.gz: 7cf00d16d124b55e868f490745f1053237a9a105716116aab38d847876f12fbc5519ce980973f4659c49a4c1918223577caa9231e7fa8d4f7aabaf7e2dcd380c
7
+ data.tar.gz: ffca19cc194f590493273ec48568cde0fb1e155ffd90e9487f9618314d944a75bf52dbbeee1aa971e058c4d564363e66c00281cc7368e21c954d3b5063b27907
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
@@ -554,6 +554,13 @@ module Google
554
554
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
555
555
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
556
556
  # * (`nil`) indicating no credentials
557
+ #
558
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
559
+ # external source for authentication to Google Cloud, you must validate it before
560
+ # providing it to a Google API client library. Providing an unvalidated credential
561
+ # configuration to Google APIs can compromise the security of your systems and data.
562
+ # For more information, refer to [Validate credential configurations from external
563
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
557
564
  # @return [::Object]
558
565
  # @!attribute [rw] scope
559
566
  # The OAuth scopes
@@ -608,8 +615,8 @@ module Google
608
615
 
609
616
  config_attr :endpoint, nil, ::String, nil
610
617
  config_attr :credentials, nil do |value|
611
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
612
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
618
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
619
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
613
620
  allowed.any? { |klass| klass === value }
614
621
  end
615
622
  config_attr :scope, nil, ::String, ::Array, nil
@@ -640,6 +640,13 @@ module Google
640
640
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
641
641
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
642
642
  # * (`nil`) indicating no credentials
643
+ #
644
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
645
+ # external source for authentication to Google Cloud, you must validate it before
646
+ # providing it to a Google API client library. Providing an unvalidated credential
647
+ # configuration to Google APIs can compromise the security of your systems and data.
648
+ # For more information, refer to [Validate credential configurations from external
649
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
643
650
  # @return [::Object]
644
651
  # @!attribute [rw] scope
645
652
  # The OAuth scopes
@@ -694,8 +701,8 @@ module Google
694
701
 
695
702
  config_attr :endpoint, nil, ::String, nil
696
703
  config_attr :credentials, nil do |value|
697
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
698
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
704
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
705
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
699
706
  allowed.any? { |klass| klass === value }
700
707
  end
701
708
  config_attr :scope, nil, ::String, ::Array, nil
@@ -526,6 +526,13 @@ module Google
526
526
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
527
527
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
528
528
  # * (`nil`) indicating no credentials
529
+ #
530
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
531
+ # external source for authentication to Google Cloud, you must validate it before
532
+ # providing it to a Google API client library. Providing an unvalidated credential
533
+ # configuration to Google APIs can compromise the security of your systems and data.
534
+ # For more information, refer to [Validate credential configurations from external
535
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
529
536
  # @return [::Object]
530
537
  # @!attribute [rw] scope
531
538
  # The OAuth scopes
@@ -573,7 +580,7 @@ module Google
573
580
 
574
581
  config_attr :endpoint, nil, ::String, nil
575
582
  config_attr :credentials, nil do |value|
576
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
583
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
577
584
  allowed.any? { |klass| klass === value }
578
585
  end
579
586
  config_attr :scope, nil, ::String, ::Array, nil
@@ -502,6 +502,13 @@ module Google
502
502
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
503
503
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
504
504
  # * (`nil`) indicating no credentials
505
+ #
506
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
507
+ # external source for authentication to Google Cloud, you must validate it before
508
+ # providing it to a Google API client library. Providing an unvalidated credential
509
+ # configuration to Google APIs can compromise the security of your systems and data.
510
+ # For more information, refer to [Validate credential configurations from external
511
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
505
512
  # @return [::Object]
506
513
  # @!attribute [rw] scope
507
514
  # The OAuth scopes
@@ -549,7 +556,7 @@ module Google
549
556
 
550
557
  config_attr :endpoint, nil, ::String, nil
551
558
  config_attr :credentials, nil do |value|
552
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
559
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
553
560
  allowed.any? { |klass| klass === value }
554
561
  end
555
562
  config_attr :scope, nil, ::String, ::Array, nil
@@ -3695,6 +3695,13 @@ module Google
3695
3695
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
3696
3696
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3697
3697
  # * (`nil`) indicating no credentials
3698
+ #
3699
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
3700
+ # external source for authentication to Google Cloud, you must validate it before
3701
+ # providing it to a Google API client library. Providing an unvalidated credential
3702
+ # configuration to Google APIs can compromise the security of your systems and data.
3703
+ # For more information, refer to [Validate credential configurations from external
3704
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
3698
3705
  # @return [::Object]
3699
3706
  # @!attribute [rw] scope
3700
3707
  # The OAuth scopes
@@ -3749,8 +3756,8 @@ module Google
3749
3756
 
3750
3757
  config_attr :endpoint, nil, ::String, nil
3751
3758
  config_attr :credentials, nil do |value|
3752
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
3753
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
3759
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
3760
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
3754
3761
  allowed.any? { |klass| klass === value }
3755
3762
  end
3756
3763
  config_attr :scope, nil, ::String, ::Array, nil
@@ -3443,6 +3443,13 @@ module Google
3443
3443
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
3444
3444
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
3445
3445
  # * (`nil`) indicating no credentials
3446
+ #
3447
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
3448
+ # external source for authentication to Google Cloud, you must validate it before
3449
+ # providing it to a Google API client library. Providing an unvalidated credential
3450
+ # configuration to Google APIs can compromise the security of your systems and data.
3451
+ # For more information, refer to [Validate credential configurations from external
3452
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
3446
3453
  # @return [::Object]
3447
3454
  # @!attribute [rw] scope
3448
3455
  # The OAuth scopes
@@ -3490,7 +3497,7 @@ module Google
3490
3497
 
3491
3498
  config_attr :endpoint, nil, ::String, nil
3492
3499
  config_attr :credentials, nil do |value|
3493
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
3500
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
3494
3501
  allowed.any? { |klass| klass === value }
3495
3502
  end
3496
3503
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module ApigeeRegistry
23
23
  module V1
24
- VERSION = "0.9.0"
24
+ VERSION = "0.10.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
@@ -40,6 +40,8 @@ module Google
40
40
  # @!attribute [rw] error
41
41
  # @return [::Google::Rpc::Status]
42
42
  # The error result of the operation in case of failure or cancellation.
43
+ #
44
+ # Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
43
45
  # @!attribute [rw] response
44
46
  # @return [::Google::Protobuf::Any]
45
47
  # The normal, successful response of the operation. If the original
@@ -50,6 +52,8 @@ module Google
50
52
  # is the original method name. For example, if the original method name
51
53
  # is `TakeSnapshot()`, the inferred response type is
52
54
  # `TakeSnapshotResponse`.
55
+ #
56
+ # Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
53
57
  class Operation
54
58
  include ::Google::Protobuf::MessageExts
55
59
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-apigee_registry-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.0
4
+ version: 0.10.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
@@ -150,7 +149,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
150
149
  licenses:
151
150
  - Apache-2.0
152
151
  metadata: {}
153
- post_install_message:
154
152
  rdoc_options: []
155
153
  require_paths:
156
154
  - lib
@@ -158,15 +156,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
158
156
  requirements:
159
157
  - - ">="
160
158
  - !ruby/object:Gem::Version
161
- version: '2.7'
159
+ version: '3.0'
162
160
  required_rubygems_version: !ruby/object:Gem::Requirement
163
161
  requirements:
164
162
  - - ">="
165
163
  - !ruby/object:Gem::Version
166
164
  version: '0'
167
165
  requirements: []
168
- rubygems_version: 3.5.23
169
- signing_key:
166
+ rubygems_version: 3.6.8
170
167
  specification_version: 4
171
168
  summary: API Client library for the Apigee Registry V1 API
172
169
  test_files: []