google-cloud-network_connectivity-v1alpha1 0.14.0 → 0.14.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: 572821df25319bc52d4ab9ece5e246f87c71adf7b14496e0f2e09ef11b422141
|
|
4
|
+
data.tar.gz: e732e74fa2154b3818e192273ac621e1fbad89d5c91066c917c7085b572a0b95
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: acac5e6a6012dbea4d543c9ef3bfd5e6c54b65e7e928131a47f3fdcbe4a7aec57f43654c8c5e1fc10cd905d4063eec6ae9c8799a83c389fe51643d44c5e2b5a9
|
|
7
|
+
data.tar.gz: d37dd2d5fba8270d820cd4e5096c1744571a8eab94ef4c17cb5fe8fbace0bad0e4b2aaa57f549c300189ca9706cad6e14b638c45487f731f9480949b54867b55
|
|
@@ -1288,8 +1288,6 @@ module Google
|
|
|
1288
1288
|
# @return [::String,nil]
|
|
1289
1289
|
# @!attribute [rw] credentials
|
|
1290
1290
|
# Credentials to send with calls. You may provide any of the following types:
|
|
1291
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
1292
|
-
# * (`Hash`) A service account key as a Hash
|
|
1293
1291
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
1294
1292
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
1295
1293
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -1298,7 +1296,26 @@ module Google
|
|
|
1298
1296
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
1299
1297
|
# * (`nil`) indicating no credentials
|
|
1300
1298
|
#
|
|
1301
|
-
# Warning:
|
|
1299
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
1300
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
1301
|
+
# Google APIs can compromise the security of your systems and data.
|
|
1302
|
+
#
|
|
1303
|
+
# @example
|
|
1304
|
+
#
|
|
1305
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
1306
|
+
# # on the appropriate credentials class for your environment.
|
|
1307
|
+
#
|
|
1308
|
+
# require "googleauth"
|
|
1309
|
+
#
|
|
1310
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
1311
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
1312
|
+
# )
|
|
1313
|
+
#
|
|
1314
|
+
# client = ::Google::Cloud::NetworkConnectivity::V1alpha1::HubService::Client.new do |config|
|
|
1315
|
+
# config.credentials = credentials
|
|
1316
|
+
# end
|
|
1317
|
+
#
|
|
1318
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
1302
1319
|
# external source for authentication to Google Cloud, you must validate it before
|
|
1303
1320
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
1304
1321
|
# 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.
|