google-cloud-artifact_registry-v1beta2 0.17.0 → 0.17.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: 034c24bc6ce46370b3415413965385b260f026e1e71b85c7166fe93e29a84fed
4
- data.tar.gz: 453b5bfd4445c5bd99280f1fb94ec1c51e6b67fdd4a771e5ed937b72f5987d2f
3
+ metadata.gz: 94480f5b072b6eb8352e49d235fb4761733f8315da0c81d060f7ed81b1d02699
4
+ data.tar.gz: 6806a6b98ab8d80ee1e0a69bc780591fe2c2cca3ce7cad0d43597f7230eaa4c4
5
5
  SHA512:
6
- metadata.gz: 6021baea7bfe22079fa8523974604a9a747b2f0677a254a99ed14e785b3315f406a2b101d5990d0587869759b89ae9167ea93c6fa0f8c775e377d666b8a15d45
7
- data.tar.gz: f87539bdeacf6f87919f86f3658b94a9b154a1afb2b1a2557e028e5319526e9686579918bc8afd8b200e060865edee664d7c9b82eb2c3d6d45b8ad4e955769a2
6
+ metadata.gz: 1ec9a66c1839465a70d410f995e0932d25885bea2df6c0a04f1d30ca80cfa4f1a8b6246f8c8bc115f5354adbefe9f29765838308de9f7a41f7a6b92d8d687e4c
7
+ data.tar.gz: c2c8ee381ef7a3fd37cf831b026000e2ec86ccf9d49da649056aefa5b823127431cbf73fdae5da5f25f91e866be5914100404dfd4b2f313c7878511cf5b7a2cf
@@ -2663,8 +2663,6 @@ module Google
2663
2663
  # @return [::String,nil]
2664
2664
  # @!attribute [rw] credentials
2665
2665
  # Credentials to send with calls. You may provide any of the following types:
2666
- # * (`String`) The path to a service account key file in JSON format
2667
- # * (`Hash`) A service account key as a Hash
2668
2666
  # * (`Google::Auth::Credentials`) A googleauth credentials object
2669
2667
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
2670
2668
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -2673,7 +2671,26 @@ module Google
2673
2671
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
2674
2672
  # * (`nil`) indicating no credentials
2675
2673
  #
2676
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
2674
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
2675
+ # is deprecated. Providing an unvalidated credential configuration to
2676
+ # Google APIs can compromise the security of your systems and data.
2677
+ #
2678
+ # @example
2679
+ #
2680
+ # # The recommended way to provide credentials is to use the `make_creds` method
2681
+ # # on the appropriate credentials class for your environment.
2682
+ #
2683
+ # require "googleauth"
2684
+ #
2685
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
2686
+ # json_key_io: ::File.open("/path/to/keyfile.json")
2687
+ # )
2688
+ #
2689
+ # client = ::Google::Cloud::ArtifactRegistry::V1beta2::ArtifactRegistry::Client.new do |config|
2690
+ # config.credentials = credentials
2691
+ # end
2692
+ #
2693
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
2677
2694
  # external source for authentication to Google Cloud, you must validate it before
2678
2695
  # providing it to a Google API client library. Providing an unvalidated credential
2679
2696
  # 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 ArtifactRegistry
23
23
  module V1beta2
24
- VERSION = "0.17.0"
24
+ VERSION = "0.17.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-artifact_registry-v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.17.0
4
+ version: 0.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC