google-cloud-apigee_connect-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: 8504b6a543aa3c94952b348315cb22677eca2722411e6e5498a66c72d623f8e0
4
- data.tar.gz: 3729574b30faea36ff66018e11397fad60c2a5588869706254bb843168367a1a
3
+ metadata.gz: 9b0d2a047c398b40f79d8763f8a3cace1c7fca8d6cac8ee3ddb46e2226c7dc55
4
+ data.tar.gz: c8de079d10b4d713662185bdb49606ef9ed5e99baf003f14ae9fade8e8cad5ce
5
5
  SHA512:
6
- metadata.gz: 36638a81a53c8c721edc924d276288174707c318f2b99931d527e779b4f53e6894ada5c8144feb8c07b0dc5508d6676073d8d13825fa2c373b1a49764deea0ce
7
- data.tar.gz: 5aa0f7e58547aad35cdc17b39c529a93ccbaa6edc6c937ed25b42a265409f6304b2cb2484e05d2e1d771c14acf08f63854c126e3a73d9bde6b5f9f2c2410808d
6
+ metadata.gz: eb270317b73ed6c31dbf013a201d6fc055001ff4ce3debb9114f722999fafa9a7ab5818488f05a22987e6ee5fc83878572709d24d7e3072396a11d872d1d693b
7
+ data.tar.gz: 5f387138a85b45f949ea4961547af070cda32fbdcbe976c7202caaf67d351fb4497d78d238cd982458c86e64c4d126dc94538b4937d009ec920d8a785929cf19
@@ -326,8 +326,6 @@ module Google
326
326
  # @return [::String,nil]
327
327
  # @!attribute [rw] credentials
328
328
  # Credentials to send with calls. You may provide any of the following types:
329
- # * (`String`) The path to a service account key file in JSON format
330
- # * (`Hash`) A service account key as a Hash
331
329
  # * (`Google::Auth::Credentials`) A googleauth credentials object
332
330
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
333
331
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -336,7 +334,26 @@ module Google
336
334
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
337
335
  # * (`nil`) indicating no credentials
338
336
  #
339
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
337
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
338
+ # is deprecated. Providing an unvalidated credential configuration to
339
+ # Google APIs can compromise the security of your systems and data.
340
+ #
341
+ # @example
342
+ #
343
+ # # The recommended way to provide credentials is to use the `make_creds` method
344
+ # # on the appropriate credentials class for your environment.
345
+ #
346
+ # require "googleauth"
347
+ #
348
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
349
+ # json_key_io: ::File.open("/path/to/keyfile.json")
350
+ # )
351
+ #
352
+ # client = ::Google::Cloud::ApigeeConnect::V1::ConnectionService::Client.new do |config|
353
+ # config.credentials = credentials
354
+ # end
355
+ #
356
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
340
357
  # external source for authentication to Google Cloud, you must validate it before
341
358
  # providing it to a Google API client library. Providing an unvalidated credential
342
359
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -302,8 +302,6 @@ module Google
302
302
  # @return [::String,nil]
303
303
  # @!attribute [rw] credentials
304
304
  # Credentials to send with calls. You may provide any of the following types:
305
- # * (`String`) The path to a service account key file in JSON format
306
- # * (`Hash`) A service account key as a Hash
307
305
  # * (`Google::Auth::Credentials`) A googleauth credentials object
308
306
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
309
307
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -312,7 +310,26 @@ module Google
312
310
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
313
311
  # * (`nil`) indicating no credentials
314
312
  #
315
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
313
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
314
+ # is deprecated. Providing an unvalidated credential configuration to
315
+ # Google APIs can compromise the security of your systems and data.
316
+ #
317
+ # @example
318
+ #
319
+ # # The recommended way to provide credentials is to use the `make_creds` method
320
+ # # on the appropriate credentials class for your environment.
321
+ #
322
+ # require "googleauth"
323
+ #
324
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
325
+ # json_key_io: ::File.open("/path/to/keyfile.json")
326
+ # )
327
+ #
328
+ # client = ::Google::Cloud::ApigeeConnect::V1::Tether::Client.new do |config|
329
+ # config.credentials = credentials
330
+ # end
331
+ #
332
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
316
333
  # external source for authentication to Google Cloud, you must validate it before
317
334
  # providing it to a Google API client library. Providing an unvalidated credential
318
335
  # 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 ApigeeConnect
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-apigee_connect-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