google-cloud-gke_multi_cloud-v1 0.17.0 → 0.17.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: 20525fb04866f0a110a0aba05205d8528b3707ebfdb280879f22311878b5bc1e
4
- data.tar.gz: 41703f57bc0d55c9bc46f8be07c5a68cf49432e90e1db4f9038bd18449f1d015
3
+ metadata.gz: fe11baf48d84cb767359472a3a6320e111fe6c20f108419e65a849e836dc99c5
4
+ data.tar.gz: bfd2370bbc9198007ba18dc79f7fecf6e9d697d9933c3bc9868a57ff975c88e8
5
5
  SHA512:
6
- metadata.gz: 07f0305977beca6be0c6b25d2f733236ded8fb677d5533085c6de33dd04d96a95eb2de52cf2269e3b5a52c15235d7b9faf66e1b3dc194c2bd87fe97c8922af03
7
- data.tar.gz: a5bc2c12abe846c001627000ba1aeea30e8e495c3271a0960d467aa27d2e04d53f63572b92ba02332853598c7a8a66ff4c6c533ee65f086ca7f5751aa43c4786
6
+ metadata.gz: 1a9cfc36682791a52e99a935601a8df7f077d02ea3a7e76015f21dc39aa15a7c5e2f98269840aed208a42a6364a89f1deba7fe999f077fe70b491e526a816935
7
+ data.tar.gz: 62ee17a1e51bc5e0942639b76ce17914915891d78777530ee140f83e114580de24c0dafa5e92739ed8844245cfde7d14f997d9cc9be354304a9cd4b61e8c201a
@@ -1276,8 +1276,6 @@ module Google
1276
1276
  # @return [::String,nil]
1277
1277
  # @!attribute [rw] credentials
1278
1278
  # Credentials to send with calls. You may provide any of the following types:
1279
- # * (`String`) The path to a service account key file in JSON format
1280
- # * (`Hash`) A service account key as a Hash
1281
1279
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1282
1280
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1283
1281
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1286,7 +1284,26 @@ module Google
1286
1284
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1287
1285
  # * (`nil`) indicating no credentials
1288
1286
  #
1289
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1287
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1288
+ # is deprecated. Providing an unvalidated credential configuration to
1289
+ # Google APIs can compromise the security of your systems and data.
1290
+ #
1291
+ # @example
1292
+ #
1293
+ # # The recommended way to provide credentials is to use the `make_creds` method
1294
+ # # on the appropriate credentials class for your environment.
1295
+ #
1296
+ # require "googleauth"
1297
+ #
1298
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1299
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1300
+ # )
1301
+ #
1302
+ # client = ::Google::Cloud::GkeMultiCloud::V1::AttachedClusters::Client.new do |config|
1303
+ # config.credentials = credentials
1304
+ # end
1305
+ #
1306
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1290
1307
  # external source for authentication to Google Cloud, you must validate it before
1291
1308
  # providing it to a Google API client library. Providing an unvalidated credential
1292
1309
  # 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.
@@ -2046,8 +2046,6 @@ module Google
2046
2046
  # @return [::String,nil]
2047
2047
  # @!attribute [rw] credentials
2048
2048
  # Credentials to send with calls. You may provide any of the following types:
2049
- # * (`String`) The path to a service account key file in JSON format
2050
- # * (`Hash`) A service account key as a Hash
2051
2049
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2052
2050
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2053
2051
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2056,7 +2054,26 @@ module Google
2056
2054
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2057
2055
  # * (`nil`) indicating no credentials
2058
2056
  #
2059
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2057
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2058
+ # is deprecated. Providing an unvalidated credential configuration to
2059
+ # Google APIs can compromise the security of your systems and data.
2060
+ #
2061
+ # @example
2062
+ #
2063
+ # # The recommended way to provide credentials is to use the `make_creds` method
2064
+ # # on the appropriate credentials class for your environment.
2065
+ #
2066
+ # require "googleauth"
2067
+ #
2068
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2069
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2070
+ # )
2071
+ #
2072
+ # client = ::Google::Cloud::GkeMultiCloud::V1::AwsClusters::Client.new do |config|
2073
+ # config.credentials = credentials
2074
+ # end
2075
+ #
2076
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2060
2077
  # external source for authentication to Google Cloud, you must validate it before
2061
2078
  # providing it to a Google API client library. Providing an unvalidated credential
2062
2079
  # 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.
@@ -2366,8 +2366,6 @@ module Google
2366
2366
  # @return [::String,nil]
2367
2367
  # @!attribute [rw] credentials
2368
2368
  # Credentials to send with calls. You may provide any of the following types:
2369
- # * (`String`) The path to a service account key file in JSON format
2370
- # * (`Hash`) A service account key as a Hash
2371
2369
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2372
2370
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2373
2371
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2376,7 +2374,26 @@ module Google
2376
2374
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2377
2375
  # * (`nil`) indicating no credentials
2378
2376
  #
2379
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2377
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2378
+ # is deprecated. Providing an unvalidated credential configuration to
2379
+ # Google APIs can compromise the security of your systems and data.
2380
+ #
2381
+ # @example
2382
+ #
2383
+ # # The recommended way to provide credentials is to use the `make_creds` method
2384
+ # # on the appropriate credentials class for your environment.
2385
+ #
2386
+ # require "googleauth"
2387
+ #
2388
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2389
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2390
+ # )
2391
+ #
2392
+ # client = ::Google::Cloud::GkeMultiCloud::V1::AzureClusters::Client.new do |config|
2393
+ # config.credentials = credentials
2394
+ # end
2395
+ #
2396
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2380
2397
  # external source for authentication to Google Cloud, you must validate it before
2381
2398
  # providing it to a Google API client library. Providing an unvalidated credential
2382
2399
  # 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 GkeMultiCloud
23
23
  module V1
24
- VERSION = "0.17.0"
24
+ VERSION = "0.17.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-gke_multi_cloud-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC