google-cloud-telco_automation-v1 2.3.0 → 2.3.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: f36fb404e683e6b92afc6705c32301fe6fe9983744e4d4fe21397d13552658a1
4
- data.tar.gz: c8ba2c2a304fad7ca5c1a37609aa279b499f592a18c1efebf6d30126ccd3b91c
3
+ metadata.gz: f6a6a5914de3232596ea7109d530c4455e573d3ca51916955322f474af9323c4
4
+ data.tar.gz: 2243f9f55625b13a2a6421dcbc36ef04f21afb7b35c5955c45817e44ca2f46a1
5
5
  SHA512:
6
- metadata.gz: 24285f9eb62a17849939ea797553e3490bf86e236a92b1a301c85a6380c689810ef32d2230928209ef09ff4567e648a354c01646b2bdb004867f98c42c5ddc38
7
- data.tar.gz: b89fc9d2b318ef2fb4b8c0d186e6e7f83d60d4773d455604491dab7d92425281d722414354f2649651a5edcd8d6d424dcce187a6b8103dc8008069afbf978998
6
+ metadata.gz: a04d90c11926f39392f934825fcffb01c323a208567c5a938d7093ff5133111b470a6f1a615d455cfd1d3b48490cc1f69bbe805a04720e3c5db1fa3540cfa310
7
+ data.tar.gz: 39a52da3be26f206c1e32edffb9414456ab8bd95fbfcee656f62ff6e67e2581f12a0ff537be31ba8a866d67fb9a95772df45827bade8cca017781db4ceee99a6
@@ -3623,8 +3623,6 @@ module Google
3623
3623
  # @return [::String,nil]
3624
3624
  # @!attribute [rw] credentials
3625
3625
  # Credentials to send with calls. You may provide any of the following types:
3626
- # * (`String`) The path to a service account key file in JSON format
3627
- # * (`Hash`) A service account key as a Hash
3628
3626
  # * (`Google::Auth::Credentials`) A googleauth credentials object
3629
3627
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3630
3628
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -3633,7 +3631,26 @@ module Google
3633
3631
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3634
3632
  # * (`nil`) indicating no credentials
3635
3633
  #
3636
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
3634
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
3635
+ # is deprecated. Providing an unvalidated credential configuration to
3636
+ # Google APIs can compromise the security of your systems and data.
3637
+ #
3638
+ # @example
3639
+ #
3640
+ # # The recommended way to provide credentials is to use the `make_creds` method
3641
+ # # on the appropriate credentials class for your environment.
3642
+ #
3643
+ # require "googleauth"
3644
+ #
3645
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
3646
+ # json_key_io: ::File.open("/path/to/keyfile.json")
3647
+ # )
3648
+ #
3649
+ # client = ::Google::Cloud::TelcoAutomation::V1::TelcoAutomation::Client.new do |config|
3650
+ # config.credentials = credentials
3651
+ # end
3652
+ #
3653
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
3637
3654
  # external source for authentication to Google Cloud, you must validate it before
3638
3655
  # providing it to a Google API client library. Providing an unvalidated credential
3639
3656
  # 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 TelcoAutomation
23
23
  module V1
24
- VERSION = "2.3.0"
24
+ VERSION = "2.3.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-telco_automation-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.3.0
4
+ version: 2.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC