google-cloud-filestore-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: c6ce3566377eecb9351f0fa26e62f4b848d17716194ce8dc0ea7fbaca4c07a32
4
- data.tar.gz: f6316b6a156800a8dd3606228a0d25e61261663fc4540a37844cc765b4fce651
3
+ metadata.gz: cb8525dd7b93b3a6205588670eb48197d4150d0598ab07e484433ee77d7a3ec9
4
+ data.tar.gz: a2bd9a0ad2b339405882192c359b93b253d2a6579bf80a0916193f85c97973ab
5
5
  SHA512:
6
- metadata.gz: 4681bd988c010caa49e020c6630dedaf75821605c9c0adc745e62724af915b1d587f584270a0fc96fb60f721ad5501452eda1cb729ab77120ce37e2520446d8f
7
- data.tar.gz: 3e978e214e30babe030c863ba31fe8a734058becb736425a29441ba7e0b569784812c9a81ff9bf8ecf3c3f815403478891aee4966749218b13ef3c641fe7992b
6
+ metadata.gz: 3f8b7b847699685e0478970b1622779f51bad1475d478403da7c45d0fe0f008b0751540a1e473bd3f924ed239cb7dc2dce543394b1acd9be611226c55bc1c922
7
+ data.tar.gz: 971b68c2ed49bbdd103bbd733588e669186bdc50eb4bdf4b8aae7383120c939900dc413fb9fffae04e8a573a29f908ac7cfa666f8c8f46b68f3c4580780a3f86
@@ -2080,8 +2080,6 @@ module Google
2080
2080
  # @return [::String,nil]
2081
2081
  # @!attribute [rw] credentials
2082
2082
  # Credentials to send with calls. You may provide any of the following types:
2083
- # * (`String`) The path to a service account key file in JSON format
2084
- # * (`Hash`) A service account key as a Hash
2085
2083
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2086
2084
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2087
2085
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2090,7 +2088,26 @@ module Google
2090
2088
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2091
2089
  # * (`nil`) indicating no credentials
2092
2090
  #
2093
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2091
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2092
+ # is deprecated. Providing an unvalidated credential configuration to
2093
+ # Google APIs can compromise the security of your systems and data.
2094
+ #
2095
+ # @example
2096
+ #
2097
+ # # The recommended way to provide credentials is to use the `make_creds` method
2098
+ # # on the appropriate credentials class for your environment.
2099
+ #
2100
+ # require "googleauth"
2101
+ #
2102
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2103
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2104
+ # )
2105
+ #
2106
+ # client = ::Google::Cloud::Filestore::V1::CloudFilestoreManager::Client.new do |config|
2107
+ # config.credentials = credentials
2108
+ # end
2109
+ #
2110
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2094
2111
  # external source for authentication to Google Cloud, you must validate it before
2095
2112
  # providing it to a Google API client library. Providing an unvalidated credential
2096
2113
  # 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 Filestore
23
23
  module V1
24
- VERSION = "2.4.0"
24
+ VERSION = "2.4.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-filestore-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.4.0
4
+ version: 2.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC