google-cloud-secret_manager-v1 1.4.0 → 1.5.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: 4cc6353a64ac75a1645e81526429350648ff27be19fc0b7980ac62e5919f1402
4
- data.tar.gz: e6f3ae160f806ea7cdf9e4abe640572ea9ad382b559c34de807d6be5762034c2
3
+ metadata.gz: 13d3f3d9f56f1c359ea09de171851fb440b3356e0db0a2c95867c54d5a7fa372
4
+ data.tar.gz: 522fef3b210700b30d414527955c731199a2e5f44261605b8e769ee1f1921cc7
5
5
  SHA512:
6
- metadata.gz: 815ef4e2ad5fbcae15064eb337f9c00331bcdfa36233f3b249b1db1682673e8610389679e2e60b919be33926ca85efe5b587e6049d287f6f1ccca39624adcabc
7
- data.tar.gz: 8df84d438b6fd73871f1dc5ff33a52c650817d127d657fa0e847152ea33524c7eaf8a103e4d5b326da4e1ab84c654e2fb32ed04064e6bb538d0fb56697d1afc2
6
+ metadata.gz: c41b5379d65bf46a146bd4327eede82356f563321a4897d4707126c691e09957e90339b50351d6c13f65b44ee8d86938b8c297626ae114a1bd03563d0cb112ff
7
+ data.tar.gz: 21bf44ce9058a94f2cd1a5e1d31ec21407a8c0f36d1910c180e7d33362b439c8baca0e0454fba8eaf9e93b7dbd43c8e7850e37f813f44de8e37e1b4e4388ea1b
@@ -16,7 +16,7 @@
16
16
 
17
17
  # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
18
 
19
- require "gapic/config"
19
+ require "gapic/rest"
20
20
 
21
21
  module Google
22
22
  module Cloud
@@ -42,7 +42,7 @@ module Google
42
42
  namespace.pop
43
43
  end
44
44
 
45
- default_config = Configuration.new parent_config
45
+ default_config = ::Gapic::Rest::HttpBindingOverrideConfiguration.new parent_config
46
46
  default_config.bindings_override["google.cloud.location.Locations.GetLocation"] = [
47
47
  Gapic::Rest::GrpcTranscoder::HttpBinding.create_with_validation(
48
48
  uri_method: :get,
@@ -69,33 +69,6 @@ module Google
69
69
  yield @configure if block_given?
70
70
  @configure
71
71
  end
72
-
73
- ##
74
- # @private
75
- # Configuration class for the google.cloud.secretmanager.v1 package.
76
- #
77
- # This class contains common configuration for all services
78
- # of the google.cloud.secretmanager.v1 package.
79
- #
80
- # This configuration is for internal use of the client library classes,
81
- # and it is not intended that the end-users will read or change it.
82
- #
83
- class Configuration
84
- extend ::Gapic::Config
85
-
86
- # @private
87
- # Overrides for http bindings for the RPC of the mixins for this package.
88
- # Services in this package should use these when creating clients for the mixin services.
89
- # @return [::Hash{::Symbol=>::Array<::Gapic::Rest::GrpcTranscoder::HttpBinding>}]
90
- config_attr :bindings_override, {}, ::Hash, nil
91
-
92
- # @private
93
- def initialize parent_config = nil
94
- @parent_config = parent_config unless parent_config.nil?
95
-
96
- yield self if block_given?
97
- end
98
- end
99
72
  end
100
73
  end
101
74
  end
@@ -1720,8 +1720,6 @@ module Google
1720
1720
  # @return [::String,nil]
1721
1721
  # @!attribute [rw] credentials
1722
1722
  # Credentials to send with calls. You may provide any of the following types:
1723
- # * (`String`) The path to a service account key file in JSON format
1724
- # * (`Hash`) A service account key as a Hash
1725
1723
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1726
1724
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1727
1725
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1730,7 +1728,26 @@ module Google
1730
1728
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1731
1729
  # * (`nil`) indicating no credentials
1732
1730
  #
1733
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1731
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1732
+ # is deprecated. Providing an unvalidated credential configuration to
1733
+ # Google APIs can compromise the security of your systems and data.
1734
+ #
1735
+ # @example
1736
+ #
1737
+ # # The recommended way to provide credentials is to use the `make_creds` method
1738
+ # # on the appropriate credentials class for your environment.
1739
+ #
1740
+ # require "googleauth"
1741
+ #
1742
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1743
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1744
+ # )
1745
+ #
1746
+ # client = ::Google::Cloud::SecretManager::V1::SecretManagerService::Client.new do |config|
1747
+ # config.credentials = credentials
1748
+ # end
1749
+ #
1750
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1734
1751
  # external source for authentication to Google Cloud, you must validate it before
1735
1752
  # providing it to a Google API client library. Providing an unvalidated credential
1736
1753
  # 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 SecretManager
23
23
  module V1
24
- VERSION = "1.4.0"
24
+ VERSION = "1.5.1"
25
25
  end
26
26
  end
27
27
  end
@@ -313,7 +313,7 @@ module Google
313
313
  # Specifies the identities that do not cause logging for this type of
314
314
  # permission.
315
315
  # Follows the same format of
316
- # {::Google::Iam::V1::Binding#members Binding.members}.
316
+ # [Binding.members][google.iam.v1.Binding.members].
317
317
  class AuditLogConfig
318
318
  include ::Google::Protobuf::MessageExts
319
319
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-secret_manager-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.0
4
+ version: 1.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -15,14 +15,14 @@ dependencies:
15
15
  requirements:
16
16
  - - "~>"
17
17
  - !ruby/object:Gem::Version
18
- version: '1.0'
18
+ version: '1.2'
19
19
  type: :runtime
20
20
  prerelease: false
21
21
  version_requirements: !ruby/object:Gem::Requirement
22
22
  requirements:
23
23
  - - "~>"
24
24
  - !ruby/object:Gem::Version
25
- version: '1.0'
25
+ version: '1.2'
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: google-cloud-errors
28
28
  requirement: !ruby/object:Gem::Requirement