google-iam-v1 1.2.0 → 1.3.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: 59f20a075f2106b81075d3074ba2f5547621c5f6c5af6018a0719b7c9f89b05a
4
- data.tar.gz: 2bc0c0042a325abf8d47bc0d4fadae5ab1fbb881404ded6f2bf4626da8bc394d
3
+ metadata.gz: 1511d0c49b463572c9fad87238676e684f3793b9dc6b8a91371248310823d833
4
+ data.tar.gz: 85ae5cb2b6822a4c7c020372dcdce3230ceee08a5805cb7380afbd4207c606d7
5
5
  SHA512:
6
- metadata.gz: 2b359ba5e21f4ee48b1d3267cda5f3938875f0ca5d6d8d8d62ff19df5172a1eecc49cbba1781d86afbaa3e5cb7ba25926e745cb2501e11fdac20b7cdcc2326ac
7
- data.tar.gz: 6db0e013f678e6696bac7871748a6965f99c3ac80a6c5a3c3711e55979c0fbe773ba322491c6c9e14b9e23c7eea8cb6700ca0ae9df09fe85af133a9f714488e9
6
+ metadata.gz: 05cf435bfc283cafc78e12d32356c12cd9e2098730cee15d158dc149e913842df309e32001d6e8419b0460b3293b876ab757937ba3f87e1cca20cffc351d91cd
7
+ data.tar.gz: b2f1b9e5b3771221c24b4cf86485b5372790b82a2058c2376884dc2bf04c20d027d6144c6c1f76c431c78d9c834b1b95ecb2e723ecdcf5da68d92d5193c302dd
@@ -536,6 +536,13 @@ module Google
536
536
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
537
537
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
538
538
  # * (`nil`) indicating no credentials
539
+ #
540
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
541
+ # external source for authentication to Google Cloud, you must validate it before
542
+ # providing it to a Google API client library. Providing an unvalidated credential
543
+ # configuration to Google APIs can compromise the security of your systems and data.
544
+ # For more information, refer to [Validate credential configurations from external
545
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
539
546
  # @return [::Object]
540
547
  # @!attribute [rw] scope
541
548
  # The OAuth scopes
@@ -590,8 +597,8 @@ module Google
590
597
 
591
598
  config_attr :endpoint, nil, ::String, nil
592
599
  config_attr :credentials, nil do |value|
593
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
594
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
600
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
601
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
595
602
  allowed.any? { |klass| klass === value }
596
603
  end
597
604
  config_attr :scope, nil, ::String, ::Array, nil
@@ -512,6 +512,13 @@ module Google
512
512
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
513
513
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
514
514
  # * (`nil`) indicating no credentials
515
+ #
516
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
517
+ # external source for authentication to Google Cloud, you must validate it before
518
+ # providing it to a Google API client library. Providing an unvalidated credential
519
+ # configuration to Google APIs can compromise the security of your systems and data.
520
+ # For more information, refer to [Validate credential configurations from external
521
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
515
522
  # @return [::Object]
516
523
  # @!attribute [rw] scope
517
524
  # The OAuth scopes
@@ -559,7 +566,7 @@ module Google
559
566
 
560
567
  config_attr :endpoint, nil, ::String, nil
561
568
  config_attr :credentials, nil do |value|
562
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
569
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
563
570
  allowed.any? { |klass| klass === value }
564
571
  end
565
572
  config_attr :scope, nil, ::String, ::Array, nil
@@ -20,7 +20,7 @@
20
20
  module Google
21
21
  module Iam
22
22
  module V1
23
- VERSION = "1.2.0"
23
+ VERSION = "1.3.1"
24
24
  end
25
25
  end
26
26
  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-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.0
4
+ version: 1.3.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
@@ -102,7 +101,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
102
101
  licenses:
103
102
  - Apache-2.0
104
103
  metadata: {}
105
- post_install_message:
106
104
  rdoc_options: []
107
105
  require_paths:
108
106
  - lib
@@ -110,15 +108,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
110
108
  requirements:
111
109
  - - ">="
112
110
  - !ruby/object:Gem::Version
113
- version: '2.7'
111
+ version: '3.0'
114
112
  required_rubygems_version: !ruby/object:Gem::Requirement
115
113
  requirements:
116
114
  - - ">="
117
115
  - !ruby/object:Gem::Version
118
116
  version: '0'
119
117
  requirements: []
120
- rubygems_version: 3.5.23
121
- signing_key:
118
+ rubygems_version: 3.6.8
122
119
  specification_version: 4
123
120
  summary: Manages access control for Google Cloud Platform resources.
124
121
  test_files: []