google-cloud-policy_troubleshooter-v1 1.3.0 → 1.4.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: bbe6aa5b0b0d1ef7d2d917585e0274a42fd2cd2dcaf9ce10432c37e12ab6cba9
4
- data.tar.gz: fcc112b99a86f3ecc6bd5f6b50be2f12791f0462ee6b910bb6b247b38d58de39
3
+ metadata.gz: fd222c061022d64fc30616c4461f66db8ef9f20ac11cd99baeaedb662a58bee1
4
+ data.tar.gz: b7193a7c849b7ceddcc8e86c56eaabe2f617968460850dbff62f3b1bbb12727f
5
5
  SHA512:
6
- metadata.gz: ea1710298eabbe36c1ad5d818830d1f4a3af62b39c9289872e025c5287cb7f87a14c21b6a61c28d9f032bfdea6e88704abe7ac5214673e9b1498ef653b4b50b9
7
- data.tar.gz: 5b0d1d6e8c5ba2a89cacc8f70a3036ace098135750d86eb6e8697b44ae7605dc2ba6f7011e68a545dfa5adb3bf81f3fac146ef43f711fa09fa22e253f06f04b8
6
+ metadata.gz: efdc6f305dd9b8ea55adf2083edb01686651bdebfcdaf1dbd85230f40d47823a8eb739881e6564f0c06e628dbec75c0f147258dabb88005b781f7c8e054fbb8d
7
+ data.tar.gz: d680e745a78d86cacf747a714c18fdaf6f62cfa81802b30ac68d5d5096109522c0a9356c0a52a8d25917e53a4e11931984b71914f162edbcf73a448bef9250e6
@@ -305,8 +305,6 @@ module Google
305
305
  # @return [::String,nil]
306
306
  # @!attribute [rw] credentials
307
307
  # Credentials to send with calls. You may provide any of the following types:
308
- # * (`String`) The path to a service account key file in JSON format
309
- # * (`Hash`) A service account key as a Hash
310
308
  # * (`Google::Auth::Credentials`) A googleauth credentials object
311
309
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
312
310
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -315,7 +313,26 @@ module Google
315
313
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
316
314
  # * (`nil`) indicating no credentials
317
315
  #
318
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
316
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
317
+ # is deprecated. Providing an unvalidated credential configuration to
318
+ # Google APIs can compromise the security of your systems and data.
319
+ #
320
+ # @example
321
+ #
322
+ # # The recommended way to provide credentials is to use the `make_creds` method
323
+ # # on the appropriate credentials class for your environment.
324
+ #
325
+ # require "googleauth"
326
+ #
327
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
328
+ # json_key_io: ::File.open("/path/to/keyfile.json")
329
+ # )
330
+ #
331
+ # client = ::Google::Cloud::PolicyTroubleshooter::V1::IamChecker::Client.new do |config|
332
+ # config.credentials = credentials
333
+ # end
334
+ #
335
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
319
336
  # external source for authentication to Google Cloud, you must validate it before
320
337
  # providing it to a Google API client library. Providing an unvalidated credential
321
338
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module PolicyTroubleshooter
23
23
  module V1
24
- VERSION = "1.3.0"
24
+ VERSION = "1.4.1"
25
25
  end
26
26
  end
27
27
  end
@@ -53,7 +53,7 @@ module Google
53
53
  extend ::Google::Protobuf::MessageExts::ClassMethods
54
54
  end
55
55
 
56
- # Details about how a specific IAM {::Google::Iam::V1::Policy Policy} contributed
56
+ # Details about how a specific IAM [Policy][google.iam.v1.Policy] contributed
57
57
  # to the access check.
58
58
  # @!attribute [rw] access
59
59
  # @return [::Google::Cloud::PolicyTroubleshooter::V1::AccessState]
@@ -313,7 +313,7 @@ module Google
313
313
  # Specifies the identities that do not cause logging for this type of
314
314
  # permission.
315
315
  # Follows the same format of
316
- # {::Google::Iam::V1::Binding#members Binding.members}.
316
+ # [Binding.members][google.iam.v1.Binding.members].
317
317
  class AuditLogConfig
318
318
  include ::Google::Protobuf::MessageExts
319
319
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-policy_troubleshooter-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.0'
18
+ version: '1.2'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.0'
25
+ version: '1.2'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement
@@ -111,7 +111,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
111
111
  - !ruby/object:Gem::Version
112
112
  version: '0'
113
113
  requirements: []
114
- rubygems_version: 3.6.8
114
+ rubygems_version: 3.6.9
115
115
  specification_version: 4
116
116
  summary: API Client library for the IAM Policy Troubleshooter V1 API
117
117
  test_files: []