google-cloud-access_approval-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: 94e5b118ed1de14fd63970b62b1340241419728081e671a182ae56820f440eab
4
- data.tar.gz: 67a3b4c777220da6f72f79f36162385f3df09b60c6888ded0be51cea2f9a56d6
3
+ metadata.gz: 49e04ccb86dbd12e43f6eac79466c7a1a8138d7a332231ea573f8921393edee3
4
+ data.tar.gz: d8982f00b0a54902dcb35aa8e565b947ff5e5b8774b10cd6b896b6c31adbf254
5
5
  SHA512:
6
- metadata.gz: c5e8e0dcbde90d4f7e519c31563ef0ab6695f901aaf4401055aa0978aa654db42df38ca953639974d6ceafcbf0f4a6b4c990c8390be9dd6fc50354546190f025
7
- data.tar.gz: 455cfffcb65a0bcdcef3447ffa361d51630f7a064b0dbfc219c1ae2c41b604aeee57fa545ba228685b545c8b171c378115877e92c35d1122725a136c58c47e3e
6
+ metadata.gz: a5e1393b401676a4d9b1fcdcf532fa2eeb1cbb00ccce90498483c4049c09eb030ace9a67f3f5e8e44237035c3ad9b34609f9e935142f6eb5ffba77c6bca21a1f
7
+ data.tar.gz: 32e15f4b9c40528deadfe7ccb9d5f19156d0f7c062f422be0518fca9a878c426d4c018e927094ea657c38a5fdbbb2e8259c9a64dc1fb5a4715465447e43f362e
data/README.md CHANGED
@@ -85,7 +85,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
85
85
 
86
86
  ## Supported Ruby Versions
87
87
 
88
- This library is supported on Ruby 2.7+.
88
+ This library is supported on Ruby 3.0+.
89
89
 
90
90
  Google provides official support for Ruby versions that are actively supported
91
91
  by Ruby Core—that is, Ruby versions that are either in normal maintenance or
@@ -1117,6 +1117,13 @@ module Google
1117
1117
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1118
1118
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1119
1119
  # * (`nil`) indicating no credentials
1120
+ #
1121
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1122
+ # external source for authentication to Google Cloud, you must validate it before
1123
+ # providing it to a Google API client library. Providing an unvalidated credential
1124
+ # configuration to Google APIs can compromise the security of your systems and data.
1125
+ # For more information, refer to [Validate credential configurations from external
1126
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1120
1127
  # @return [::Object]
1121
1128
  # @!attribute [rw] scope
1122
1129
  # The OAuth scopes
@@ -1171,8 +1178,8 @@ module Google
1171
1178
 
1172
1179
  config_attr :endpoint, nil, ::String, nil
1173
1180
  config_attr :credentials, nil do |value|
1174
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1175
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
1181
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1182
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
1176
1183
  allowed.any? { |klass| klass === value }
1177
1184
  end
1178
1185
  config_attr :scope, nil, ::String, ::Array, nil
@@ -1045,6 +1045,13 @@ module Google
1045
1045
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1046
1046
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1047
1047
  # * (`nil`) indicating no credentials
1048
+ #
1049
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
1050
+ # external source for authentication to Google Cloud, you must validate it before
1051
+ # providing it to a Google API client library. Providing an unvalidated credential
1052
+ # configuration to Google APIs can compromise the security of your systems and data.
1053
+ # For more information, refer to [Validate credential configurations from external
1054
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
1048
1055
  # @return [::Object]
1049
1056
  # @!attribute [rw] scope
1050
1057
  # The OAuth scopes
@@ -1092,7 +1099,7 @@ module Google
1092
1099
 
1093
1100
  config_attr :endpoint, nil, ::String, nil
1094
1101
  config_attr :credentials, nil do |value|
1095
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
1102
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
1096
1103
  allowed.any? { |klass| klass === value }
1097
1104
  end
1098
1105
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AccessApproval
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
@@ -115,9 +115,13 @@ module Google
115
115
  # The public key for the Google default signing, encoded in PEM format. The
116
116
  # signature was created using a private key which may be verified using
117
117
  # this public key.
118
+ #
119
+ # Note: The following fields are mutually exclusive: `google_public_key_pem`, `customer_kms_key_version`. If a field in that set is populated, all other fields in the set will automatically be cleared.
118
120
  # @!attribute [rw] customer_kms_key_version
119
121
  # @return [::String]
120
122
  # The resource name of the customer CryptoKeyVersion used for signing.
123
+ #
124
+ # Note: The following fields are mutually exclusive: `customer_kms_key_version`, `google_public_key_pem`. If a field in that set is populated, all other fields in the set will automatically be cleared.
121
125
  class SignatureInfo
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -201,9 +205,13 @@ module Google
201
205
  # @!attribute [rw] approve
202
206
  # @return [::Google::Cloud::AccessApproval::V1::ApproveDecision]
203
207
  # Access was approved.
208
+ #
209
+ # Note: The following fields are mutually exclusive: `approve`, `dismiss`. If a field in that set is populated, all other fields in the set will automatically be cleared.
204
210
  # @!attribute [rw] dismiss
205
211
  # @return [::Google::Cloud::AccessApproval::V1::DismissDecision]
206
212
  # The request was dismissed.
213
+ #
214
+ # Note: The following fields are mutually exclusive: `dismiss`, `approve`. If a field in that set is populated, all other fields in the set will automatically be cleared.
207
215
  class ApprovalRequest
208
216
  include ::Google::Protobuf::MessageExts
209
217
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-access_approval-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
@@ -84,7 +83,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
84
83
  licenses:
85
84
  - Apache-2.0
86
85
  metadata: {}
87
- post_install_message:
88
86
  rdoc_options: []
89
87
  require_paths:
90
88
  - lib
@@ -92,15 +90,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
92
90
  requirements:
93
91
  - - ">="
94
92
  - !ruby/object:Gem::Version
95
- version: '2.7'
93
+ version: '3.0'
96
94
  required_rubygems_version: !ruby/object:Gem::Requirement
97
95
  requirements:
98
96
  - - ">="
99
97
  - !ruby/object:Gem::Version
100
98
  version: '0'
101
99
  requirements: []
102
- rubygems_version: 3.5.23
103
- signing_key:
100
+ rubygems_version: 3.6.8
104
101
  specification_version: 4
105
102
  summary: An API for controlling access to data by Google personnel.
106
103
  test_files: []