google-cloud-oracle_database-v1 0.11.0 → 0.11.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: 10df9dbca3815356f1eebc9787b8f74875aebd0cbe05ce1ecbd814a28635a490
4
- data.tar.gz: c9431ab03268204b5d0de45958dbd87693136a57ad536f6c02a49f61bc8c88ee
3
+ metadata.gz: 2d7006e00f14897cfe6a7c827f5c5001504313871e4e4d292a143e9ddf4dbaee
4
+ data.tar.gz: b08b0609e9ff939db0a40fe46db483cec97714a441ab6711b5c555d55cafa30d
5
5
  SHA512:
6
- metadata.gz: 398e61859f18885f8b99ab13902a54049adc29695d03efcbaa119a45805682c02b46686efdf7c8c980f5977506937b47a682b9b9fc0f61853708735c3c9c8246
7
- data.tar.gz: 0dca5f298c57fce54239ad45e6d0a1cd3e05fb04cd939d04ab0dcecec19791cbc4f8e25a4b8c06409fea1757d7f9640de1c6d52018ff429873ac013fe3ceefca
6
+ metadata.gz: ef28ec59dd7cf5fc882f1eca21401b465cb504e34f0fff95585360948f6e4266cd73c112dd7e5bd82c5c3019f6361429ae7df8e0c87f0d1e7aa4cd738c737e6f
7
+ data.tar.gz: a6494123e79ea0addaee7bcfee59b56cc1c3af323acb31020ab85b0ff7f1474234f0a0f3d2046da7e9e982297bcee16269e20734fbde63b45c7de8381459e401
@@ -6275,8 +6275,6 @@ module Google
6275
6275
  # @return [::String,nil]
6276
6276
  # @!attribute [rw] credentials
6277
6277
  # Credentials to send with calls. You may provide any of the following types:
6278
- # * (`String`) The path to a service account key file in JSON format
6279
- # * (`Hash`) A service account key as a Hash
6280
6278
  # * (`Google::Auth::Credentials`) A googleauth credentials object
6281
6279
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
6282
6280
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -6285,7 +6283,26 @@ module Google
6285
6283
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
6286
6284
  # * (`nil`) indicating no credentials
6287
6285
  #
6288
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
6286
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
6287
+ # is deprecated. Providing an unvalidated credential configuration to
6288
+ # Google APIs can compromise the security of your systems and data.
6289
+ #
6290
+ # @example
6291
+ #
6292
+ # # The recommended way to provide credentials is to use the `make_creds` method
6293
+ # # on the appropriate credentials class for your environment.
6294
+ #
6295
+ # require "googleauth"
6296
+ #
6297
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
6298
+ # json_key_io: ::File.open("/path/to/keyfile.json")
6299
+ # )
6300
+ #
6301
+ # client = ::Google::Cloud::OracleDatabase::V1::OracleDatabase::Client.new do |config|
6302
+ # config.credentials = credentials
6303
+ # end
6304
+ #
6305
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
6289
6306
  # external source for authentication to Google Cloud, you must validate it before
6290
6307
  # providing it to a Google API client library. Providing an unvalidated credential
6291
6308
  # 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 OracleDatabase
23
23
  module V1
24
- VERSION = "0.11.0"
24
+ VERSION = "0.11.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-oracle_database-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC