google-cloud-bigquery-reservation-v1 1.9.0 → 1.9.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: 3512686a5c8d4bdbc5136320a109344e13b098f787db9df7b2842336bafa7249
4
- data.tar.gz: 958285dc864adab0c9fb9188ee85d8f80cb15c853883d874d2e13c4353e33cf4
3
+ metadata.gz: ba1e409ed2a2914757bec00f4913336372894359620e0d24d3adffd1318dcf38
4
+ data.tar.gz: d8166ee38f5dd5d61daefc9ae67a9fb8dfd75ca5c4b856195a7cf79bd421cf18
5
5
  SHA512:
6
- metadata.gz: 5d3e50abb6364313d5fd672b7094710c4206fc16dbf1064ed54ea87826746f42dc6d238d412ebc3412605795e6365527a9efd80c38db24fac9f73a3718da25ca
7
- data.tar.gz: 3bdb8a88651382a407e90a2f8b08b74d1ec889ca024b8caa1f0faec7bd02f669e36ebcc1c3a8a3349bfd2eb9cf42bed6d1170e14ec34b892158c14eabf3546f8
6
+ metadata.gz: b473692a688ae48ffa37b4dd3782b6c9e7317ff2db1942563d7193815aa39cb78112d122e10eb627b967e1bad40c1ca1a81d0e711e6977bc4b7c3efae94154f2
7
+ data.tar.gz: 6b68655ec8480f8d8525539f97e192ef8578430332142ed388afae9260995e6cb0491a3500c99748429cc93a109c4cc816c9516f1da5a0ab6a656a6cdefe5b54
@@ -3146,8 +3146,6 @@ module Google
3146
3146
  # @return [::String,nil]
3147
3147
  # @!attribute [rw] credentials
3148
3148
  # Credentials to send with calls. You may provide any of the following types:
3149
- # * (`String`) The path to a service account key file in JSON format
3150
- # * (`Hash`) A service account key as a Hash
3151
3149
  # * (`Google::Auth::Credentials`) A googleauth credentials object
3152
3150
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3153
3151
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -3156,7 +3154,26 @@ module Google
3156
3154
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3157
3155
  # * (`nil`) indicating no credentials
3158
3156
  #
3159
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
3157
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
3158
+ # is deprecated. Providing an unvalidated credential configuration to
3159
+ # Google APIs can compromise the security of your systems and data.
3160
+ #
3161
+ # @example
3162
+ #
3163
+ # # The recommended way to provide credentials is to use the `make_creds` method
3164
+ # # on the appropriate credentials class for your environment.
3165
+ #
3166
+ # require "googleauth"
3167
+ #
3168
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
3169
+ # json_key_io: ::File.open("/path/to/keyfile.json")
3170
+ # )
3171
+ #
3172
+ # client = ::Google::Cloud::Bigquery::Reservation::V1::ReservationService::Client.new do |config|
3173
+ # config.credentials = credentials
3174
+ # end
3175
+ #
3176
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
3160
3177
  # external source for authentication to Google Cloud, you must validate it before
3161
3178
  # providing it to a Google API client library. Providing an unvalidated credential
3162
3179
  # configuration to Google APIs can compromise the security of your systems and data.
@@ -22,7 +22,7 @@ module Google
22
22
  module Bigquery
23
23
  module Reservation
24
24
  module V1
25
- VERSION = "1.9.0"
25
+ VERSION = "1.9.1"
26
26
  end
27
27
  end
28
28
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-bigquery-reservation-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC