google-cloud-app_hub-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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b6d65e26c8ac17dfbee74c57261fa302a1b718982edbcf2dae1ba4ff549ea346
|
|
4
|
+
data.tar.gz: 505d8f76e6080517a8e8d6fd5973b305a43c2b5ee3c402663bb50a40288128be
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 004c13f32a60a273615f1204c27e3d9a2f14b03d3bcbe04152e68fed8888be9c467dbc562fcd39d1138013455f08bf0ae46424308cff71a4cbc36f5519e27116
|
|
7
|
+
data.tar.gz: 613519a6988b32cc45d20b22c648551682f2f72570db579733d32bf893eeb4464a859a76da6d78cc4733b4147336fd5ff43731344317eef78ef7f0a7aa8b9075
|
|
@@ -3115,8 +3115,6 @@ module Google
|
|
|
3115
3115
|
# @return [::String,nil]
|
|
3116
3116
|
# @!attribute [rw] credentials
|
|
3117
3117
|
# Credentials to send with calls. You may provide any of the following types:
|
|
3118
|
-
# * (`String`) The path to a service account key file in JSON format
|
|
3119
|
-
# * (`Hash`) A service account key as a Hash
|
|
3120
3118
|
# * (`Google::Auth::Credentials`) A googleauth credentials object
|
|
3121
3119
|
# (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
|
|
3122
3120
|
# * (`Signet::OAuth2::Client`) A signet oauth2 client object
|
|
@@ -3125,7 +3123,26 @@ module Google
|
|
|
3125
3123
|
# * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
|
|
3126
3124
|
# * (`nil`) indicating no credentials
|
|
3127
3125
|
#
|
|
3128
|
-
# Warning:
|
|
3126
|
+
# @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
|
|
3127
|
+
# is deprecated. Providing an unvalidated credential configuration to
|
|
3128
|
+
# Google APIs can compromise the security of your systems and data.
|
|
3129
|
+
#
|
|
3130
|
+
# @example
|
|
3131
|
+
#
|
|
3132
|
+
# # The recommended way to provide credentials is to use the `make_creds` method
|
|
3133
|
+
# # on the appropriate credentials class for your environment.
|
|
3134
|
+
#
|
|
3135
|
+
# require "googleauth"
|
|
3136
|
+
#
|
|
3137
|
+
# credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
|
|
3138
|
+
# json_key_io: ::File.open("/path/to/keyfile.json")
|
|
3139
|
+
# )
|
|
3140
|
+
#
|
|
3141
|
+
# client = ::Google::Cloud::AppHub::V1::AppHub::Client.new do |config|
|
|
3142
|
+
# config.credentials = credentials
|
|
3143
|
+
# end
|
|
3144
|
+
#
|
|
3145
|
+
# @note Warning: If you accept a credential configuration (JSON file or Hash) from an
|
|
3129
3146
|
# external source for authentication to Google Cloud, you must validate it before
|
|
3130
3147
|
# providing it to a Google API client library. Providing an unvalidated credential
|
|
3131
3148
|
# 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.
|