google-cloud-pubsub-v1 1.14.0 → 1.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: 3879085794a4463d9f23f0a49764b93a1c5e0ab91bf89be84a07a3f5b2cef49c
4
- data.tar.gz: 607dd507c06da66e77e2394dd60e77e77adc1259d6bfabddf3a654fb3ce72a44
3
+ metadata.gz: 934f088c092757d918050d07c9fe838f6d6a07ddf1d7502a0cd069dbf01f2e2c
4
+ data.tar.gz: 36242833795954d7cf58e5c31c7d3a77894927ec959fd2dcaae4148aae772db6
5
5
  SHA512:
6
- metadata.gz: 268e459daff4ae017cbd83d0cc865d2704bb6a068e15ce199d3be57cd67beb7c82cf7715324cefafb970ec647d0a87021943da96ac81bd2c5628507453957ee4
7
- data.tar.gz: fe38132dbcd2eef55c6014951536e59f3f315ab7a8af379c05748b378ab787f534a9ccd6b06ed44856f18af34b10b73310111e9e908a71c072458b21ec0ebb88
6
+ metadata.gz: b22655d3c3cec2577280cc2d27598cc8220ccb0e466b98e87d453ee07185716b75edfd970579edb3bb297e00cb464f89ece9c6ef6ab661d72894a10f636bf755
7
+ data.tar.gz: e4cfc2868c5a12984d0d327059dd6478ecda0be5bd8aab732a97796500730029ae84b1a37a2119c8e854dbbdfb48103c2f59cf66a1ea1ac4f61fb77b52cb20c1
@@ -1217,8 +1217,6 @@ module Google
1217
1217
  # @return [::String,nil]
1218
1218
  # @!attribute [rw] credentials
1219
1219
  # Credentials to send with calls. You may provide any of the following types:
1220
- # * (`String`) The path to a service account key file in JSON format
1221
- # * (`Hash`) A service account key as a Hash
1222
1220
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1223
1221
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1224
1222
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1227,7 +1225,26 @@ module Google
1227
1225
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1228
1226
  # * (`nil`) indicating no credentials
1229
1227
  #
1230
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1228
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1229
+ # is deprecated. Providing an unvalidated credential configuration to
1230
+ # Google APIs can compromise the security of your systems and data.
1231
+ #
1232
+ # @example
1233
+ #
1234
+ # # The recommended way to provide credentials is to use the `make_creds` method
1235
+ # # on the appropriate credentials class for your environment.
1236
+ #
1237
+ # require "googleauth"
1238
+ #
1239
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1240
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1241
+ # )
1242
+ #
1243
+ # client = ::Google::Cloud::PubSub::V1::SchemaService::Client.new do |config|
1244
+ # config.credentials = credentials
1245
+ # end
1246
+ #
1247
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1231
1248
  # external source for authentication to Google Cloud, you must validate it before
1232
1249
  # providing it to a Google API client library. Providing an unvalidated credential
1233
1250
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -1984,8 +1984,6 @@ module Google
1984
1984
  # @return [::String,nil]
1985
1985
  # @!attribute [rw] credentials
1986
1986
  # Credentials to send with calls. You may provide any of the following types:
1987
- # * (`String`) The path to a service account key file in JSON format
1988
- # * (`Hash`) A service account key as a Hash
1989
1987
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1990
1988
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1991
1989
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1994,7 +1992,26 @@ module Google
1994
1992
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1995
1993
  # * (`nil`) indicating no credentials
1996
1994
  #
1997
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1995
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1996
+ # is deprecated. Providing an unvalidated credential configuration to
1997
+ # Google APIs can compromise the security of your systems and data.
1998
+ #
1999
+ # @example
2000
+ #
2001
+ # # The recommended way to provide credentials is to use the `make_creds` method
2002
+ # # on the appropriate credentials class for your environment.
2003
+ #
2004
+ # require "googleauth"
2005
+ #
2006
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2007
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2008
+ # )
2009
+ #
2010
+ # client = ::Google::Cloud::PubSub::V1::SubscriptionAdmin::Client.new do |config|
2011
+ # config.credentials = credentials
2012
+ # end
2013
+ #
2014
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1998
2015
  # external source for authentication to Google Cloud, you must validate it before
1999
2016
  # providing it to a Google API client library. Providing an unvalidated credential
2000
2017
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -1140,8 +1140,6 @@ module Google
1140
1140
  # @return [::String,nil]
1141
1141
  # @!attribute [rw] credentials
1142
1142
  # Credentials to send with calls. You may provide any of the following types:
1143
- # * (`String`) The path to a service account key file in JSON format
1144
- # * (`Hash`) A service account key as a Hash
1145
1143
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1146
1144
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1147
1145
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1150,7 +1148,26 @@ module Google
1150
1148
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1151
1149
  # * (`nil`) indicating no credentials
1152
1150
  #
1153
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1151
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1152
+ # is deprecated. Providing an unvalidated credential configuration to
1153
+ # Google APIs can compromise the security of your systems and data.
1154
+ #
1155
+ # @example
1156
+ #
1157
+ # # The recommended way to provide credentials is to use the `make_creds` method
1158
+ # # on the appropriate credentials class for your environment.
1159
+ #
1160
+ # require "googleauth"
1161
+ #
1162
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1163
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1164
+ # )
1165
+ #
1166
+ # client = ::Google::Cloud::PubSub::V1::TopicAdmin::Client.new do |config|
1167
+ # config.credentials = credentials
1168
+ # end
1169
+ #
1170
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1154
1171
  # external source for authentication to Google Cloud, you must validate it before
1155
1172
  # providing it to a Google API client library. Providing an unvalidated credential
1156
1173
  # 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 PubSub
23
23
  module V1
24
- VERSION = "1.14.0"
24
+ VERSION = "1.14.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-pubsub-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.14.0
4
+ version: 1.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC