google-cloud-access_approval-v1 1.4.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: 3eb90fc839ccbebcdfc62e6eeb1179d8701e635430a4cfd26d155b187ed2efa4
4
- data.tar.gz: 3e1c544474ee826e765a44168063930a8cd580ff9d57e00a3e6ab36e22d7d7bf
3
+ metadata.gz: 3ab010fb8e0788f066153fa0fe62bf62653dcf586c0ca523816ec4e535736a21
4
+ data.tar.gz: 32006c456fb1549d9d060b19abaed5acfbc21486f6f94807290f2f794c80d833
5
5
  SHA512:
6
- metadata.gz: c7a10c10e1755be9b2782a58e9f20279d48dd8c03f85a0bcf86e5b8c656a3effb85cc4c5d9a9285cffe8b45743917437082fff973e8863da6ea6d594b3174e42
7
- data.tar.gz: dfc39b729e6c2a1051f19c8de58d3171806088907e32bdd36073e399271308bd20ac83cd235a3108f967c207e7579664d995ad140708192bc09107de210dd955
6
+ metadata.gz: adfb7fd9816d4fd9dfa646debbd2bd966993ff16c85c11ef0be15a4dbf15e4d0dd1162e53c37c07cff7a5b00a810d15047a63b1d9611faced66ae5b648afc794
7
+ data.tar.gz: bef8026891062aeaa6190781f53189bc7cd67a48a572fa6d319e6f90b63d055e893e32628a2a79766fa37c9fbade5520b9360c9c0148f7ccb18d8ba3c8979fcd
@@ -1108,8 +1108,6 @@ module Google
1108
1108
  # @return [::String,nil]
1109
1109
  # @!attribute [rw] credentials
1110
1110
  # Credentials to send with calls. You may provide any of the following types:
1111
- # * (`String`) The path to a service account key file in JSON format
1112
- # * (`Hash`) A service account key as a Hash
1113
1111
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1114
1112
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1115
1113
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1118,7 +1116,26 @@ module Google
1118
1116
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1119
1117
  # * (`nil`) indicating no credentials
1120
1118
  #
1121
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1119
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1120
+ # is deprecated. Providing an unvalidated credential configuration to
1121
+ # Google APIs can compromise the security of your systems and data.
1122
+ #
1123
+ # @example
1124
+ #
1125
+ # # The recommended way to provide credentials is to use the `make_creds` method
1126
+ # # on the appropriate credentials class for your environment.
1127
+ #
1128
+ # require "googleauth"
1129
+ #
1130
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1131
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1132
+ # )
1133
+ #
1134
+ # client = ::Google::Cloud::AccessApproval::V1::AccessApproval::Client.new do |config|
1135
+ # config.credentials = credentials
1136
+ # end
1137
+ #
1138
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1122
1139
  # external source for authentication to Google Cloud, you must validate it before
1123
1140
  # providing it to a Google API client library. Providing an unvalidated credential
1124
1141
  # 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 AccessApproval
23
23
  module V1
24
- VERSION = "1.4.0"
24
+ VERSION = "1.4.1"
25
25
  end
26
26
  end
27
27
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-access_approval-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC