google-cloud-memcache-v1beta2 0.15.0 → 0.15.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: 0d3fb95602540fa78470b1998c5f4641e017d9658fdb3dca5e187040d0593bca
4
- data.tar.gz: d9579ff877b3c7c63dd1adb2269157fbf2ec57ad5bd488a08549a96661f4f48e
3
+ metadata.gz: d81b12458cdcd606c9ca329cd5ddfca335b0bcfdf20b0a5ac9a6075eafb24182
4
+ data.tar.gz: 4e439da7237a742693f0b67a74ae8651349bd7da45af50532fab40c6d74e896c
5
5
  SHA512:
6
- metadata.gz: 7eca372788795d9c5382d1c0b610809a0ea5f26e3729bf74b3b53ed03b05aa4c3a703c3af77977dc2087950f63129ed0d7d4f96ff8448aed8e8c3664029119ef
7
- data.tar.gz: 4527544dd4b8d1b7a75825ca008a6c4458d183c951769eb31266910a3bedeaa6fa8b5ede8a560610c630123d259f4bdc9adb48102f32ae35ca37ab02bb958bde
6
+ metadata.gz: ede3708922aefa7ac1a1f5c430841c4346ea1235b73fc464f008bcd582f15ff812f35de26a61c97cb29e5a480a1b41ec4864d689d576c6c1ddfffa2584dd441c
7
+ data.tar.gz: ddac9844db15e2eecc688f86d9a83288a7eff792c82241c2ed4a01546a35fce562a910386a2b46c9ab6d0fc629aa828795ae833eabec4651f12a170a801fbbd7
@@ -1187,8 +1187,6 @@ module Google
1187
1187
  # @return [::String,nil]
1188
1188
  # @!attribute [rw] credentials
1189
1189
  # Credentials to send with calls. You may provide any of the following types:
1190
- # * (`String`) The path to a service account key file in JSON format
1191
- # * (`Hash`) A service account key as a Hash
1192
1190
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1193
1191
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1194
1192
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1197,7 +1195,26 @@ module Google
1197
1195
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1198
1196
  # * (`nil`) indicating no credentials
1199
1197
  #
1200
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1198
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1199
+ # is deprecated. Providing an unvalidated credential configuration to
1200
+ # Google APIs can compromise the security of your systems and data.
1201
+ #
1202
+ # @example
1203
+ #
1204
+ # # The recommended way to provide credentials is to use the `make_creds` method
1205
+ # # on the appropriate credentials class for your environment.
1206
+ #
1207
+ # require "googleauth"
1208
+ #
1209
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1210
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1211
+ # )
1212
+ #
1213
+ # client = ::Google::Cloud::Memcache::V1beta2::CloudMemcache::Client.new do |config|
1214
+ # config.credentials = credentials
1215
+ # end
1216
+ #
1217
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1201
1218
  # external source for authentication to Google Cloud, you must validate it before
1202
1219
  # providing it to a Google API client library. Providing an unvalidated credential
1203
1220
  # 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 Memcache
23
23
  module V1beta2
24
- VERSION = "0.15.0"
24
+ VERSION = "0.15.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-memcache-v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.15.0
4
+ version: 0.15.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC