google-cloud-managed_identities-v1 1.5.0 → 1.5.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: d4451d5bd64250140d885af03b6141edb5a6add730e34ddebce24f1dbfd366bb
4
- data.tar.gz: b0c6e32f15aa64a84fa90c9d4bec9c6b07147e99ee9d895103374337a90b0f81
3
+ metadata.gz: 7107d27aad857ba8c641e2411a2654f58454040d65172201df04172b37a06734
4
+ data.tar.gz: 7f95a19726b7a2caae64dad445ea14bda6d03053127aaa9cd0230b514d252211
5
5
  SHA512:
6
- metadata.gz: 9b5f21990d405df087b0552517ebb4b89cada01a1389dbe93ad132eca13cd16602f2f3dd34914f2d67dc265aca1a00f83d93b881713256499f64b59579e55c2d
7
- data.tar.gz: b1ee116a816538d7cbec9b75a7ec3065452580326a1a277bd8dddab3f3b7fd0bbb5c412bc912eaee28b693948edfb433f6704224f0658bb607281defd67e986a
6
+ metadata.gz: ea5d96c17a7622cf65ce7345ff6d6b9b031dec19b0002650347c8e16db5864193d4f7d86d5d16f6e5a1aaf9476bf2c07a90f74aea2b0be3bab12d41eb4927c69
7
+ data.tar.gz: c6aa530e5272ca5d445cca76421f3562e1b956896d6c57343b0fe686fba0a35f8c6bfcc2df450adc5d53045fd512c558a49b0458735ee4f964440fe4810cbac8
@@ -1265,8 +1265,6 @@ module Google
1265
1265
  # @return [::String,nil]
1266
1266
  # @!attribute [rw] credentials
1267
1267
  # Credentials to send with calls. You may provide any of the following types:
1268
- # * (`String`) The path to a service account key file in JSON format
1269
- # * (`Hash`) A service account key as a Hash
1270
1268
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1271
1269
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1272
1270
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1275,7 +1273,26 @@ module Google
1275
1273
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1276
1274
  # * (`nil`) indicating no credentials
1277
1275
  #
1278
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1276
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1277
+ # is deprecated. Providing an unvalidated credential configuration to
1278
+ # Google APIs can compromise the security of your systems and data.
1279
+ #
1280
+ # @example
1281
+ #
1282
+ # # The recommended way to provide credentials is to use the `make_creds` method
1283
+ # # on the appropriate credentials class for your environment.
1284
+ #
1285
+ # require "googleauth"
1286
+ #
1287
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1288
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1289
+ # )
1290
+ #
1291
+ # client = ::Google::Cloud::ManagedIdentities::V1::ManagedIdentitiesService::Client.new do |config|
1292
+ # config.credentials = credentials
1293
+ # end
1294
+ #
1295
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1279
1296
  # external source for authentication to Google Cloud, you must validate it before
1280
1297
  # providing it to a Google API client library. Providing an unvalidated credential
1281
1298
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -642,8 +642,6 @@ module Google
642
642
  # @return [::String,nil]
643
643
  # @!attribute [rw] credentials
644
644
  # Credentials to send with calls. You may provide any of the following types:
645
- # * (`String`) The path to a service account key file in JSON format
646
- # * (`Hash`) A service account key as a Hash
647
645
  # * (`Google::Auth::Credentials`) A googleauth credentials object
648
646
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
649
647
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -652,7 +650,26 @@ module Google
652
650
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
653
651
  # * (`nil`) indicating no credentials
654
652
  #
655
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
653
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
654
+ # is deprecated. Providing an unvalidated credential configuration to
655
+ # Google APIs can compromise the security of your systems and data.
656
+ #
657
+ # @example
658
+ #
659
+ # # The recommended way to provide credentials is to use the `make_creds` method
660
+ # # on the appropriate credentials class for your environment.
661
+ #
662
+ # require "googleauth"
663
+ #
664
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
665
+ # json_key_io: ::File.open("/path/to/keyfile.json")
666
+ # )
667
+ #
668
+ # client = ::Google::Longrunning::Operations::Client.new do |config|
669
+ # config.credentials = credentials
670
+ # end
671
+ #
672
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
656
673
  # external source for authentication to Google Cloud, you must validate it before
657
674
  # providing it to a Google API client library. Providing an unvalidated credential
658
675
  # 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 ManagedIdentities
23
23
  module V1
24
- VERSION = "1.5.0"
24
+ VERSION = "1.5.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-managed_identities-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC