google-iam-v2 0.7.0 → 0.8.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 +4 -4
- data/README.md +1 -1
- data/lib/google/iam/v2/policies/client.rb +9 -2
- data/lib/google/iam/v2/policies/operations.rb +9 -2
- data/lib/google/iam/v2/policies/rest/client.rb +8 -1
- data/lib/google/iam/v2/policies/rest/operations.rb +8 -1
- data/lib/google/iam/v2/version.rb +1 -1
- data/proto_docs/google/api/client.rb +14 -0
- data/proto_docs/google/longrunning/operations.rb +4 -0
- metadata +6 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5b6d6fd04e378b87816987210dac4f8c51201e98700ffdad47808c2d116743c
|
4
|
+
data.tar.gz: 12a3c9a5ae542b109186c46a7ed76dc24d354d732cdba8e1e7b0aab34ed8566f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a55c59a01592f6d795eab92f4a90fd4286a411324a3e9c89a4f5162d5126926c086a4239f3577c6099e148a58805426852610ab07a522846b83fe849da4b5213
|
7
|
+
data.tar.gz: 4aeca51f45c45aa89b0097f5529f8060850c3461627e029ec809e6fda3a13d6fa705aa6372885db79c3be4ea3bd4792041980fece68a4d368dde65d6ce90069a
|
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
|
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
|
@@ -798,6 +798,13 @@ module Google
|
|
798
798
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
799
799
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
800
800
|
# * (`nil`) indicating no credentials
|
801
|
+
#
|
802
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
803
|
+
# external source for authentication to Google Cloud, you must validate it before
|
804
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
805
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
806
|
+
# For more information, refer to [Validate credential configurations from external
|
807
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
801
808
|
# @return [::Object]
|
802
809
|
# @!attribute [rw] scope
|
803
810
|
# The OAuth scopes
|
@@ -852,8 +859,8 @@ module Google
|
|
852
859
|
|
853
860
|
config_attr :endpoint, nil, ::String, nil
|
854
861
|
config_attr :credentials, nil do |value|
|
855
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
856
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
862
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
863
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
857
864
|
allowed.any? { |klass| klass === value }
|
858
865
|
end
|
859
866
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -639,6 +639,13 @@ module Google
|
|
639
639
|
# * (`GRPC::Core::Channel`) a gRPC channel with included credentials
|
640
640
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
641
641
|
# * (`nil`) indicating no credentials
|
642
|
+
#
|
643
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
644
|
+
# external source for authentication to Google Cloud, you must validate it before
|
645
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
646
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
647
|
+
# For more information, refer to [Validate credential configurations from external
|
648
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
642
649
|
# @return [::Object]
|
643
650
|
# @!attribute [rw] scope
|
644
651
|
# The OAuth scopes
|
@@ -693,8 +700,8 @@ module Google
|
|
693
700
|
|
694
701
|
config_attr :endpoint, nil, ::String, nil
|
695
702
|
config_attr :credentials, nil do |value|
|
696
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
697
|
-
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
|
703
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
704
|
+
allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
|
698
705
|
allowed.any? { |klass| klass === value }
|
699
706
|
end
|
700
707
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -754,6 +754,13 @@ module Google
|
|
754
754
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
755
755
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
756
756
|
# * (`nil`) indicating no credentials
|
757
|
+
#
|
758
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
759
|
+
# external source for authentication to Google Cloud, you must validate it before
|
760
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
761
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
762
|
+
# For more information, refer to [Validate credential configurations from external
|
763
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
757
764
|
# @return [::Object]
|
758
765
|
# @!attribute [rw] scope
|
759
766
|
# The OAuth scopes
|
@@ -801,7 +808,7 @@ module Google
|
|
801
808
|
|
802
809
|
config_attr :endpoint, nil, ::String, nil
|
803
810
|
config_attr :credentials, nil do |value|
|
804
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
811
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
805
812
|
allowed.any? { |klass| klass === value }
|
806
813
|
end
|
807
814
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -501,6 +501,13 @@ module Google
|
|
501
501
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
502
502
|
# (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
|
503
503
|
# * (`nil`) indicating no credentials
|
504
|
+
#
|
505
|
+
# Warning: If you accept a credential configuration (JSON file or Hash) from an
|
506
|
+
# external source for authentication to Google Cloud, you must validate it before
|
507
|
+
# providing it to a Google API client library. Providing an unvalidated credential
|
508
|
+
# configuration to Google APIs can compromise the security of your systems and data.
|
509
|
+
# For more information, refer to [Validate credential configurations from external
|
510
|
+
# sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
|
504
511
|
# @return [::Object]
|
505
512
|
# @!attribute [rw] scope
|
506
513
|
# The OAuth scopes
|
@@ -548,7 +555,7 @@ module Google
|
|
548
555
|
|
549
556
|
config_attr :endpoint, nil, ::String, nil
|
550
557
|
config_attr :credentials, nil do |value|
|
551
|
-
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
|
558
|
+
allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
|
552
559
|
allowed.any? { |klass| klass === value }
|
553
560
|
end
|
554
561
|
config_attr :scope, nil, ::String, ::Array, nil
|
@@ -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-iam-v2
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
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.
|
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.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -90,7 +89,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
90
89
|
licenses:
|
91
90
|
- Apache-2.0
|
92
91
|
metadata: {}
|
93
|
-
post_install_message:
|
94
92
|
rdoc_options: []
|
95
93
|
require_paths:
|
96
94
|
- lib
|
@@ -98,15 +96,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
98
96
|
requirements:
|
99
97
|
- - ">="
|
100
98
|
- !ruby/object:Gem::Version
|
101
|
-
version: '
|
99
|
+
version: '3.0'
|
102
100
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
103
101
|
requirements:
|
104
102
|
- - ">="
|
105
103
|
- !ruby/object:Gem::Version
|
106
104
|
version: '0'
|
107
105
|
requirements: []
|
108
|
-
rubygems_version: 3.
|
109
|
-
signing_key:
|
106
|
+
rubygems_version: 3.6.8
|
110
107
|
specification_version: 4
|
111
108
|
summary: Manages identity and access control for Google Cloud Platform resources,
|
112
109
|
including the creation of service accounts, which you can use to authenticate to
|