google-cloud-policy_troubleshooter-iam-v3 0.5.0 → 0.6.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: 66dc8f9ac9c42c2e9f4a070177d00e001db6145c03a74933fff718277222456a
4
- data.tar.gz: ed5b323c7d9d2aa2879e70b866fc7267f6d7fb3399738914b57b625862909d4e
3
+ metadata.gz: 82d33c28fd8d113037f1504b5e65c5c4b3082f74f383afb253e4d92aebba37a4
4
+ data.tar.gz: b2b0b277589b3f72e5d75e74dcd4cca8400956b1ce14c00171cdc95ca2ec5bce
5
5
  SHA512:
6
- metadata.gz: b76c0bf15e27dfd1b1ea0c548e77ae667ff9a8fc3f52055aa6d816448bb2b3fd90d69ba0186208bc09ce4684537ba95d9a5d483997d1174e84846e2e47ded36d
7
- data.tar.gz: 9c67142d74ae7d2981f5d5ed298287305655ecf93abdfd32ad390f748537003b1df5da9c7af870ffe9366791d4894084e7ba0bd84223e7bf90ce67d3998adadb
6
+ metadata.gz: 49400dfac1fdae239df93f072f8cfad20f08c8547718e673a8a3ac02c12cf20e3b4a3d1ba67c8dcd98134bb8b70444cd5173cf5a6aa1e2f34533eaf7e6bbc85f
7
+ data.tar.gz: 94b20b108970c43cb6872fff37b46a95dc6e452cc113fcd254a4a58478dc400292c11115726e73aaa59275e124238118851fdf63fa6cc6aa05aa28c649703bf6
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
@@ -313,6 +313,13 @@ module Google
313
313
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
314
314
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
315
315
  # * (`nil`) indicating no credentials
316
+ #
317
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
318
+ # external source for authentication to Google Cloud, you must validate it before
319
+ # providing it to a Google API client library. Providing an unvalidated credential
320
+ # configuration to Google APIs can compromise the security of your systems and data.
321
+ # For more information, refer to [Validate credential configurations from external
322
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
316
323
  # @return [::Object]
317
324
  # @!attribute [rw] scope
318
325
  # The OAuth scopes
@@ -367,8 +374,8 @@ module Google
367
374
 
368
375
  config_attr :endpoint, nil, ::String, nil
369
376
  config_attr :credentials, nil do |value|
370
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
371
- allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC
377
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
378
+ allowed += [::GRPC::Core::Channel, ::GRPC::Core::ChannelCredentials] if defined? ::GRPC::Core::Channel
372
379
  allowed.any? { |klass| klass === value }
373
380
  end
374
381
  config_attr :scope, nil, ::String, ::Array, nil
@@ -305,6 +305,13 @@ module Google
305
305
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
306
306
  # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
307
307
  # * (`nil`) indicating no credentials
308
+ #
309
+ # Warning: If you accept a credential configuration (JSON file or Hash) from an
310
+ # external source for authentication to Google Cloud, you must validate it before
311
+ # providing it to a Google API client library. Providing an unvalidated credential
312
+ # configuration to Google APIs can compromise the security of your systems and data.
313
+ # For more information, refer to [Validate credential configurations from external
314
+ # sources](https://cloud.google.com/docs/authentication/external/externally-sourced-credentials).
308
315
  # @return [::Object]
309
316
  # @!attribute [rw] scope
310
317
  # The OAuth scopes
@@ -352,7 +359,7 @@ module Google
352
359
 
353
360
  config_attr :endpoint, nil, ::String, nil
354
361
  config_attr :credentials, nil do |value|
355
- allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Signet::OAuth2::Client, nil]
362
+ allowed = [::String, ::Hash, ::Proc, ::Symbol, ::Google::Auth::Credentials, ::Google::Auth::BaseClient, ::Signet::OAuth2::Client, nil]
356
363
  allowed.any? { |klass| klass === value }
357
364
  end
358
365
  config_attr :scope, nil, ::String, ::Array, nil
@@ -22,7 +22,7 @@ module Google
22
22
  module PolicyTroubleshooter
23
23
  module Iam
24
24
  module V3
25
- VERSION = "0.5.0"
25
+ VERSION = "0.6.1"
26
26
  end
27
27
  end
28
28
  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
@@ -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
@@ -53,21 +53,33 @@ module Google
53
53
  # @!attribute [rw] null_value
54
54
  # @return [::Google::Protobuf::NullValue]
55
55
  # Represents a null value.
56
+ #
57
+ # Note: The following fields are mutually exclusive: `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
56
58
  # @!attribute [rw] number_value
57
59
  # @return [::Float]
58
60
  # Represents a double value.
61
+ #
62
+ # Note: The following fields are mutually exclusive: `number_value`, `null_value`, `string_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
59
63
  # @!attribute [rw] string_value
60
64
  # @return [::String]
61
65
  # Represents a string value.
66
+ #
67
+ # Note: The following fields are mutually exclusive: `string_value`, `null_value`, `number_value`, `bool_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
62
68
  # @!attribute [rw] bool_value
63
69
  # @return [::Boolean]
64
70
  # Represents a boolean value.
71
+ #
72
+ # Note: The following fields are mutually exclusive: `bool_value`, `null_value`, `number_value`, `string_value`, `struct_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
65
73
  # @!attribute [rw] struct_value
66
74
  # @return [::Google::Protobuf::Struct]
67
75
  # Represents a structured value.
76
+ #
77
+ # Note: The following fields are mutually exclusive: `struct_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `list_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
68
78
  # @!attribute [rw] list_value
69
79
  # @return [::Google::Protobuf::ListValue]
70
80
  # Represents a repeated `Value`.
81
+ #
82
+ # Note: The following fields are mutually exclusive: `list_value`, `null_value`, `number_value`, `string_value`, `bool_value`, `struct_value`. If a field in that set is populated, all other fields in the set will automatically be cleared.
71
83
  class Value
72
84
  include ::Google::Protobuf::MessageExts
73
85
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-policy_troubleshooter-iam-v3
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.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
@@ -131,7 +130,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
131
130
  licenses:
132
131
  - Apache-2.0
133
132
  metadata: {}
134
- post_install_message:
135
133
  rdoc_options: []
136
134
  require_paths:
137
135
  - lib
@@ -139,15 +137,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
139
137
  requirements:
140
138
  - - ">="
141
139
  - !ruby/object:Gem::Version
142
- version: '2.7'
140
+ version: '3.0'
143
141
  required_rubygems_version: !ruby/object:Gem::Requirement
144
142
  requirements:
145
143
  - - ">="
146
144
  - !ruby/object:Gem::Version
147
145
  version: '0'
148
146
  requirements: []
149
- rubygems_version: 3.5.23
150
- signing_key:
147
+ rubygems_version: 3.6.8
151
148
  specification_version: 4
152
149
  summary: API Client library for the Policy Troubleshooter V3 API
153
150
  test_files: []