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 +4 -4
- data/lib/google/cloud/apigee_registry/v1/provisioning/client.rb +20 -3
- data/lib/google/cloud/apigee_registry/v1/provisioning/operations.rb +20 -3
- data/lib/google/cloud/apigee_registry/v1/registry/client.rb +20 -3
- data/lib/google/cloud/apigee_registry/v1/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e805cd7ec2e3836760d0ec38cf4721b55255181edd409d5f7664c184ea714389
|
|
4
|
+
data.tar.gz: de3fafbd1b77d4767516298380c93335af97a088514911cce108660136970040
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
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:
|
|
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:
|
|
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:
|
|
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.
|