google-cloud-apigee_registry-v1 0.13.0 → 0.13.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: d4cb0e829b3378998e64fc8b62ec17e03c7eb46cadf598c2fd8004fe28e74362
4
- data.tar.gz: 820191658c438f900f62f1d6a2338b29042f64af889acaaddaf949e3a79ad3f0
3
+ metadata.gz: e805cd7ec2e3836760d0ec38cf4721b55255181edd409d5f7664c184ea714389
4
+ data.tar.gz: de3fafbd1b77d4767516298380c93335af97a088514911cce108660136970040
5
5
  SHA512:
6
- metadata.gz: a3628f5a90eaaf159f1f2fdc843013953e9fa834cd3b6bf0c01714aa57dc47ee8ea9546df7caffc883c16b19bb716911f40f01ae87c850e9b282af021177bf3d
7
- data.tar.gz: 4ef0591cc5b2ec205015badd61980d9af8e63fd9be49383d04432c62593acb0cdf046f07555b988b3d88731b663d73fa5c1ab594df7f769c0e6bf06f697acc19
6
+ metadata.gz: 59391e4e8aa205346d2414d9fe99e25f45f77a4a4c2c03b710af988de6bd80e9453b38527b9f4dd59342801af68ff22d9b7dd16ca27dfed431e90808403c069b
7
+ data.tar.gz: 66230e9e163a16689af2053aecbe671aa7108bdb1b2f20de31806c21f8f839d3af515dc3a37f73d03da85d0d9757e9294aca28b1737d6b699f01f550004453e3
@@ -545,8 +545,6 @@ module Google
545
545
  # @return [::String,nil]
546
546
  # @!attribute [rw] credentials
547
547
  # Credentials to send with calls. You may provide any of the following types:
548
- # * (`String`) The path to a service account key file in JSON format
549
- # * (`Hash`) A service account key as a Hash
550
548
  # * (`Google::Auth::Credentials`) A googleauth credentials object
551
549
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
552
550
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -555,7 +553,26 @@ module Google
555
553
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
556
554
  # * (`nil`) indicating no credentials
557
555
  #
558
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
556
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
557
+ # is deprecated. Providing an unvalidated credential configuration to
558
+ # Google APIs can compromise the security of your systems and data.
559
+ #
560
+ # @example
561
+ #
562
+ # # The recommended way to provide credentials is to use the `make_creds` method
563
+ # # on the appropriate credentials class for your environment.
564
+ #
565
+ # require "googleauth"
566
+ #
567
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
568
+ # json_key_io: ::File.open("/path/to/keyfile.json")
569
+ # )
570
+ #
571
+ # client = ::Google::Cloud::ApigeeRegistry::V1::Provisioning::Client.new do |config|
572
+ # config.credentials = credentials
573
+ # end
574
+ #
575
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
559
576
  # external source for authentication to Google Cloud, you must validate it before
560
577
  # providing it to a Google API client library. Providing an unvalidated credential
561
578
  # 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.
@@ -3686,8 +3686,6 @@ module Google
3686
3686
  # @return [::String,nil]
3687
3687
  # @!attribute [rw] credentials
3688
3688
  # Credentials to send with calls. You may provide any of the following types:
3689
- # * (`String`) The path to a service account key file in JSON format
3690
- # * (`Hash`) A service account key as a Hash
3691
3689
  # * (`Google::Auth::Credentials`) A googleauth credentials object
3692
3690
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
3693
3691
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -3696,7 +3694,26 @@ module Google
3696
3694
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
3697
3695
  # * (`nil`) indicating no credentials
3698
3696
  #
3699
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
3697
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
3698
+ # is deprecated. Providing an unvalidated credential configuration to
3699
+ # Google APIs can compromise the security of your systems and data.
3700
+ #
3701
+ # @example
3702
+ #
3703
+ # # The recommended way to provide credentials is to use the `make_creds` method
3704
+ # # on the appropriate credentials class for your environment.
3705
+ #
3706
+ # require "googleauth"
3707
+ #
3708
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
3709
+ # json_key_io: ::File.open("/path/to/keyfile.json")
3710
+ # )
3711
+ #
3712
+ # client = ::Google::Cloud::ApigeeRegistry::V1::Registry::Client.new do |config|
3713
+ # config.credentials = credentials
3714
+ # end
3715
+ #
3716
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
3700
3717
  # external source for authentication to Google Cloud, you must validate it before
3701
3718
  # providing it to a Google API client library. Providing an unvalidated credential
3702
3719
  # 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 ApigeeRegistry
23
23
  module V1
24
- VERSION = "0.13.0"
24
+ VERSION = "0.13.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-apigee_registry-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.13.0
4
+ version: 0.13.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC