google-cloud-gke_hub-v1 2.4.0 → 2.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5d072ef49190c2eb781200dffdf8822a46bbf900e1ef20648d619e8c4dba8fe7
|
|
4
|
+
data.tar.gz: ce265883198dd11f8b32740aa3bbfd8131f2d0a1f0a67a7c81aef49fe712b6e7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4013307922a8d742c65a10b03558d5bcc13c90cc6aaf01b2ff3a43e66fe9f4e016c1cf0f8c4b97bd8b70be2f27231bba3c8a3fb990a79afa2a6d75f674000027
|
|
7
|
+
data.tar.gz: e10fd4449264f7b8a2b06beeab355d3f8966558113fa5685b09658ffc51ed65e437a057159e2ca6306cd42553e655e0c3cd03a2e9981dade8a5f30b36806da87
|
|
@@ -1491,8 +1491,6 @@ module Google
|
|
|
1491
1491
|
# @return [::String,nil]
|
|
1492
1492
|
# @!attribute [rw] credentials
|
|
1493
1493
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1494
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1495
|
-
# * (`Hash`) A service account key as a Hash
|
|
1496
1494
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1497
1495
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1498
1496
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1501,7 +1499,26 @@ module Google
|
|
|
1501
1499
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1502
1500
|
# * (`nil`) indicating no credentials
|
|
1503
1501
|
#
|
|
1504
|
-
# Warning:
|
|
1502
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1503
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1504
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1505
|
+
#
|
|
1506
|
+
# @example
|
|
1507
|
+
#
|
|
1508
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1509
|
+
# # on the appropriate credentials class for your environment.
|
|
1510
|
+
#
|
|
1511
|
+
# require "googleauth"
|
|
1512
|
+
#
|
|
1513
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1514
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1515
|
+
# )
|
|
1516
|
+
#
|
|
1517
|
+
# client = ::Google::Cloud::GkeHub::V1::GkeHub::Client.new do |config|
|
|
1518
|
+
# config.credentials = credentials
|
|
1519
|
+
# end
|
|
1520
|
+
#
|
|
1521
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1505
1522
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1506
1523
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1507
1524
|
# 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:
|
|
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.
|