google-cloud-policy_troubleshooter-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: 24036b76acebcf82fce4a6cda907bb74af93ab751f6b844eaa01e40cc9e639e4
4
- data.tar.gz: a7a4966f77799ab4b8145b45c69e9ac6c06dd9a65f3ff06a8a0b5f98ec68db81
3
+ metadata.gz: 40941e3ca2cf28c68133bd309b1deaacc8b15569447d278ffa5fd36ada182421
4
+ data.tar.gz: 1498fbf420c77129293dacc99efa78bdf411265550b74ef9d0d77c1662eab387
5
5
  SHA512:
6
- metadata.gz: c32f258572b9e07f6cac9da73eb9a5eecd9239ec4ab03f32e4b0bf0c291315f86a2564fa3f7f139dbfefc2e982e80443200d56befa24cabca78e86b1184c2739
7
- data.tar.gz: bc94b535e7c885daab3bda3a77f140f8e7071c97a19e2611172f7df4d973e9bfa74951835d61783aa719626644be8c5f66fd378f650d02f57dc859e57d92ac1a
6
+ metadata.gz: d22408fde3fb358c99764b0a41c260ba97fdb6cc7d5b41380874ce34c5743f690e403e8795c441a788520d6683c41e525d9a931a879dd297ad98e35afa744208
7
+ data.tar.gz: 5e67e70f92f214b4a0f96e87774d9139c9b5976e589ef2c36c6be5302f42615b05ee99d228e0241701f7ee72e4f8f5bc4304f7eefa75b86f56a123f74fb3d562
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
@@ -314,6 +314,13 @@ module Google
314
314
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
315
315
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
316
316
  # * (`nil`) indicating no credentials
317
+ #
318
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
319
+ # external source for authentication to Google Cloud, you must validate it before
320
+ # providing it to a Google API client library. Providing an unvalidated credential
321
+ # configuration to Google APIs can compromise the security of your systems and data.
322
+ # For more information, refer to [Validate credential configurations from external
323
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
317
324
  # @return [::Object]
318
325
  # @!attribute [rw] scope
319
326
  # The OAuth scopes
@@ -368,8 +375,8 @@ module Google
368
375
 
369
376
  config_attr :endpoint, nil, ::String, nil
370
377
  config_attr :credentials, nil do |value|
371
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
372
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
378
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
379
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
373
380
  allowed.any? { |klass| klass === value }
374
381
  end
375
382
  config_attr :scope, nil, ::String, ::Array, nil
@@ -306,6 +306,13 @@ module Google
306
306
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
307
307
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
308
308
  # * (`nil`) indicating no credentials
309
+ #
310
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
311
+ # external source for authentication to Google Cloud, you must validate it before
312
+ # providing it to a Google API client library. Providing an unvalidated credential
313
+ # configuration to Google APIs can compromise the security of your systems and data.
314
+ # For more information, refer to [Validate credential configurations from external
315
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
309
316
  # @return [::Object]
310
317
  # @!attribute [rw] scope
311
318
  # The OAuth scopes
@@ -353,7 +360,7 @@ module Google
353
360
 
354
361
  config_attr :endpoint, nil, ::String, nil
355
362
  config_attr :credentials, nil do |value|
356
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
363
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
357
364
  allowed.any? { |klass| klass === value }
358
365
  end
359
366
  config_attr :scope, nil, ::String, ::Array, nil
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module PolicyTroubleshooter
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-cloud-policy_troubleshooter-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
@@ -104,7 +103,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
104
103
  licenses:
105
104
  - Apache-2.0
106
105
  metadata: {}
107
- post_install_message:
108
106
  rdoc_options: []
109
107
  require_paths:
110
108
  - lib
@@ -112,15 +110,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
112
110
  requirements:
113
111
  - - ">="
114
112
  - !ruby/object:Gem::Version
115
- version: '2.7'
113
+ version: '3.0'
116
114
  required_rubygems_version: !ruby/object:Gem::Requirement
117
115
  requirements:
118
116
  - - ">="
119
117
  - !ruby/object:Gem::Version
120
118
  version: '0'
121
119
  requirements: []
122
- rubygems_version: 3.5.23
123
- signing_key:
120
+ rubygems_version: 3.6.8
124
121
  specification_version: 4
125
122
  summary: API Client library for the IAM Policy Troubleshooter V1 API
126
123
  test_files: []