google-cloud-gsuite_add_ons-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: f74e42b19f997c8f3dd37cd0c466e89d9e2fe6802099e9701f4f6f8bcd5a9f62
4
- data.tar.gz: 9bd31d9e60948f14b9fd2b18ec906aba16e46c39af0818364663f427c8aabb21
3
+ metadata.gz: b8f378d298caaad6a32675dc86f24df6b4060b4329b8f5ba09c79eee6ad8c199
4
+ data.tar.gz: 1414fc52c96861ecec8d2d674cf5cf24d061a5517430b729696ee8651552bbb6
5
5
  SHA512:
6
- metadata.gz: db2fccac5192a110c028fcae86398da276126d88391082f088e58a7d12b6729b4b13d982f908d41486def8e0b6e4cd46c8ba89f18963a697500b6280551fff99
7
- data.tar.gz: 5fed2a00bbbb5cf451cdebf579cfe871d60ed27fe88d80addcc44bf0cb0996a1db37d3b7cc2a7199d663684e433eee8c76595af8240f3fee0582f95816924306
6
+ metadata.gz: 832448aa7e45fc8fac3b126d3c644e5d6572123bd16d581b22e1f510944947d6f00be080fc9ba4f10eef0d39e709ff219c8a77bac39a4ee1c2f1bbd283ea091d
7
+ data.tar.gz: 6a740953a8c7000c217fec101bc6dbd68cf86a96fb3b10147ebd95638876b94186e54cb4c031ee85aa64ef513e915e88f6f21473b3b3909621d30c4fff83c6fd
@@ -1067,8 +1067,6 @@ module Google
1067
1067
  # @return [::String,nil]
1068
1068
  # @!attribute [rw] credentials
1069
1069
  # Credentials to send with calls. You may provide any of the following types:
1070
- # * (`String`) The path to a service account key file in JSON format
1071
- # * (`Hash`) A service account key as a Hash
1072
1070
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1073
1071
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1074
1072
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1077,7 +1075,26 @@ module Google
1077
1075
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1078
1076
  # * (`nil`) indicating no credentials
1079
1077
  #
1080
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1078
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1079
+ # is deprecated. Providing an unvalidated credential configuration to
1080
+ # Google APIs can compromise the security of your systems and data.
1081
+ #
1082
+ # @example
1083
+ #
1084
+ # # The recommended way to provide credentials is to use the `make_creds` method
1085
+ # # on the appropriate credentials class for your environment.
1086
+ #
1087
+ # require "googleauth"
1088
+ #
1089
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1090
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1091
+ # )
1092
+ #
1093
+ # client = ::Google::Cloud::GSuiteAddOns::V1::GSuiteAddOns::Client.new do |config|
1094
+ # config.credentials = credentials
1095
+ # end
1096
+ #
1097
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1081
1098
  # external source for authentication to Google Cloud, you must validate it before
1082
1099
  # providing it to a Google API client library. Providing an unvalidated credential
1083
1100
  # 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 GSuiteAddOns
23
23
  module V1
24
- VERSION = "1.4.0"
24
+ VERSION = "1.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-gsuite_add_ons-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC