google-cloud-dataform-v1 0.2.0 → 0.2.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: 3f1448142e3e702e7e2b4157b1e06a7e672f324dca77ce61e1197f214790fec3
4
- data.tar.gz: 26ba99d99308d064a6ff87ce2eb3c2d486f4058ac1ff7b65476e5b1c4130198d
3
+ metadata.gz: 7c1a689f9c71169a459a8a15c67d7dc2ad2352b8fff8b80c320f40390a525730
4
+ data.tar.gz: a37b44b7a9567823d2b03c6fd65bc14953f447d3049465efff8b70bde4441397
5
5
  SHA512:
6
- metadata.gz: 4668c6dc2fde52265c2d37c8397f29c9855fea03c02d4e65f75fe1532fa2f7369a0b76ff8534ad42c4aaa9b730c297dee3907ece29cc01d58b0d6da033e1bd1b
7
- data.tar.gz: 53dc7f96393d19314a08bb88cb2927e18b4bc2b2f6f3bbbf40accad311aeb4ef67aa53670ea34de5a38106b62193f7bc66aff3926bdf633edeb2c94060fe972c
6
+ metadata.gz: 07d146b250f02c7586c7f0970da9944cdc13515bc9209ffbff253fff1246eda9553ff7ca6971fef60434dc575b7bf712cc5709578fc3122f9c8bbeadbfbe8ada
7
+ data.tar.gz: 4ce96e5702e0af65fc033e1956c56c1808b113df1003a204e4e4942f910c89d9c46d861eef8565d07d915a5cfb0aec482bc8a206ea8d7fce51b21b888ad6cf36
@@ -5241,8 +5241,6 @@ module Google
5241
5241
  # @return [::String,nil]
5242
5242
  # @!attribute [rw] credentials
5243
5243
  # Credentials to send with calls. You may provide any of the following types:
5244
- # * (`String`) The path to a service account key file in JSON format
5245
- # * (`Hash`) A service account key as a Hash
5246
5244
  # * (`Google::Auth::Credentials`) A googleauth credentials object
5247
5245
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
5248
5246
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -5251,7 +5249,26 @@ module Google
5251
5249
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
5252
5250
  # * (`nil`) indicating no credentials
5253
5251
  #
5254
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
5252
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
5253
+ # is deprecated. Providing an unvalidated credential configuration to
5254
+ # Google APIs can compromise the security of your systems and data.
5255
+ #
5256
+ # @example
5257
+ #
5258
+ # # The recommended way to provide credentials is to use the `make_creds` method
5259
+ # # on the appropriate credentials class for your environment.
5260
+ #
5261
+ # require "googleauth"
5262
+ #
5263
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
5264
+ # json_key_io: ::File.open("/path/to/keyfile.json")
5265
+ # )
5266
+ #
5267
+ # client = ::Google::Cloud::Dataform::V1::Dataform::Client.new do |config|
5268
+ # config.credentials = credentials
5269
+ # end
5270
+ #
5271
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
5255
5272
  # external source for authentication to Google Cloud, you must validate it before
5256
5273
  # providing it to a Google API client library. Providing an unvalidated credential
5257
5274
  # 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 Dataform
23
23
  module V1
24
- VERSION = "0.2.0"
24
+ VERSION = "0.2.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-dataform-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC