google-iam-credentials-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: f31b114a8a4dc6f976049e4c5d050f175431295733c77743c7040490586563dd
4
- data.tar.gz: 23f15f2a888f958d686b75d3c38d226906a68ab21a5623c99d94995cd1f5a14a
3
+ metadata.gz: 2fb3a9bcda41f175c13d75f98072a16964a04da2fb3dbd52c8d18e6d65ec8ebe
4
+ data.tar.gz: 2c061cb8b3267a772291fbfa15f6385750cd346e85f35ae43c0b7b8c63aebcf3
5
5
  SHA512:
6
- metadata.gz: 86ed2e7371f209f893478d9096054fba433f9ddb1f26b7936bd567db95f2f94cc77b2d85aba5581b9bcf8e836d19c7441f967acc18ac523e2987debdcda69387
7
- data.tar.gz: a47362c65a38d86f489b6ef08c1b5acadf8c1aec10a586b6fadc3705ebd5fa344e9628b46936082cb3db5aaeb4f4ae0db35170a993de52191fc25df9109ab661
6
+ metadata.gz: 911eadc65d8f89b8b2cadf8e586b72a154cb57f3ca1a7e6bb12e10590dd64def63211de5be8a13e2cfae81149e742badc69cd2202f7c2701a87dc7215c52fde5
7
+ data.tar.gz: 8f9ff6895c2b096b696c8da5775534a377ff0160326c8ab4849550abea397f18a49f92f48b0676fa85103b8292b81887475e3c9121e5aac060ec771d3388ebf4
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
@@ -671,6 +671,13 @@ module Google
671
671
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
672
672
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
673
673
  # * (`nil`) indicating no credentials
674
+ #
675
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
676
+ # external source for authentication to Google Cloud, you must validate it before
677
+ # providing it to a Google API client library. Providing an unvalidated credential
678
+ # configuration to Google APIs can compromise the security of your systems and data.
679
+ # For more information, refer to [Validate credential configurations from external
680
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
674
681
  # @return [::Object]
675
682
  # @!attribute [rw] scope
676
683
  # The OAuth scopes
@@ -725,8 +732,8 @@ module Google
725
732
 
726
733
  config_attr :endpoint, nil, ::String, nil
727
734
  config_attr :credentials, nil do |value|
728
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
729
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
735
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
736
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
730
737
  allowed.any? { |klass| klass === value }
731
738
  end
732
739
  config_attr :scope, nil, ::String, ::Array, nil
@@ -634,6 +634,13 @@ module Google
634
634
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
635
635
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
636
636
  # * (`nil`) indicating no credentials
637
+ #
638
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
639
+ # external source for authentication to Google Cloud, you must validate it before
640
+ # providing it to a Google API client library. Providing an unvalidated credential
641
+ # configuration to Google APIs can compromise the security of your systems and data.
642
+ # For more information, refer to [Validate credential configurations from external
643
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
637
644
  # @return [::Object]
638
645
  # @!attribute [rw] scope
639
646
  # The OAuth scopes
@@ -681,7 +688,7 @@ module Google
681
688
 
682
689
  config_attr :endpoint, nil, ::String, nil
683
690
  config_attr :credentials, nil do |value|
684
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
691
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
685
692
  allowed.any? { |klass| klass === value }
686
693
  end
687
694
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Iam
22
22
  module Credentials
23
23
  module V1
24
- VERSION = "1.1.0"
24
+ VERSION = "1.2.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-iam-credentials-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
@@ -85,7 +84,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
85
84
  licenses:
86
85
  - Apache-2.0
87
86
  metadata: {}
88
- post_install_message:
89
87
  rdoc_options: []
90
88
  require_paths:
91
89
  - lib
@@ -93,15 +91,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
93
91
  requirements:
94
92
  - - ">="
95
93
  - !ruby/object:Gem::Version
96
- version: '2.7'
94
+ version: '3.0'
97
95
  required_rubygems_version: !ruby/object:Gem::Requirement
98
96
  requirements:
99
97
  - - ">="
100
98
  - !ruby/object:Gem::Version
101
99
  version: '0'
102
100
  requirements: []
103
- rubygems_version: 3.5.23
104
- signing_key:
101
+ rubygems_version: 3.6.8
105
102
  specification_version: 4
106
103
  summary: Creates short-lived, limited-privilege credentials for IAM service accounts.
107
104
  test_files: []