google-cloud-secret_manager-v1beta2 0.4.0 → 0.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: 18c3526557656dd9ff25f6853b28309b1f3ca752bb3a969bfa52a6b9017e32f5
4
- data.tar.gz: 6b6d69c54b307556348f98c7b1864f8757b50583a4b4276d4265676d45630581
3
+ metadata.gz: 51cf3ef2593f47151ffcdb1a931404b18f06003586cf7b4f92e1e0523d237471
4
+ data.tar.gz: c884b80f334759d9fd0c2f624bf0a2f0df2c247d27f40ebdcbb562333d305c03
5
5
  SHA512:
6
- metadata.gz: 9f08257e945ada345f7bd0e891d27af57f99ea8490de971ff8f4b072a1c200d7e3f7c4bd44b53e6d89b81185d3d5a07f5914844bd1238a78dfc85028c8d80e4e
7
- data.tar.gz: 90a9b126dedd6b1463edc4dca0b5f8c3a790d12df1c04962738a4b7c6e7c013b55c94f994d5a18ef5ac7cd6a5411093beb52ada5cc318319d9938db6287e5125
6
+ metadata.gz: 664b3dbb6a37e97256b03dffe357a4ce7727c7d40d58b4fe64a921060570e28ac114363c0e57f789f8b4d54d1c1dd54c0c1f69952513f17ef6fbc76b947157ff
7
+ data.tar.gz: 9b4764646a7905f596021cf352e061ca339357bdb31e829329b0b0604be8472f6d9430a5cd6ea019ae732cb8e8fb686202650001496ceed918251e8ef0a13723
@@ -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.v1beta2 package.
76
- #
77
- # This class contains common configuration for all services
78
- # of the google.cloud.secretmanager.v1beta2 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
@@ -1727,8 +1727,6 @@ module Google
1727
1727
  # @return [::String,nil]
1728
1728
  # @!attribute [rw] credentials
1729
1729
  # Credentials to send with calls. You may provide any of the following types:
1730
- # * (`String`) The path to a service account key file in JSON format
1731
- # * (`Hash`) A service account key as a Hash
1732
1730
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1733
1731
  # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1734
1732
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
@@ -1737,7 +1735,26 @@ module Google
1737
1735
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1738
1736
  # * (`nil`) indicating no credentials
1739
1737
  #
1740
- # Warning: If you accept a credential configuration (JSON file or Hash) from an
1738
+ # @note Warning: Passing a `String` to a keyfile path or a `Hash` of credentials
1739
+ # is deprecated. Providing an unvalidated credential configuration to
1740
+ # Google APIs can compromise the security of your systems and data.
1741
+ #
1742
+ # @example
1743
+ #
1744
+ # # The recommended way to provide credentials is to use the `make_creds` method
1745
+ # # on the appropriate credentials class for your environment.
1746
+ #
1747
+ # require "googleauth"
1748
+ #
1749
+ # credentials = ::Google::Auth::ServiceAccountCredentials.make_creds(
1750
+ # json_key_io: ::File.open("/path/to/keyfile.json")
1751
+ # )
1752
+ #
1753
+ # client = ::Google::Cloud::SecretManager::V1beta2::SecretManagerService::Client.new do |config|
1754
+ # config.credentials = credentials
1755
+ # end
1756
+ #
1757
+ # @note Warning: If you accept a credential configuration (JSON file or Hash) from an
1741
1758
  # external source for authentication to Google Cloud, you must validate it before
1742
1759
  # providing it to a Google API client library. Providing an unvalidated credential
1743
1760
  # 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 V1beta2
24
- VERSION = "0.4.0"
24
+ VERSION = "0.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-v1beta2
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.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
@@ -127,7 +127,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
127
127
  - !ruby/object:Gem::Version
128
128
  version: '0'
129
129
  requirements: []
130
- rubygems_version: 3.6.8
130
+ rubygems_version: 3.6.9
131
131
  specification_version: 4
132
132
  summary: Stores sensitive data such as API keys, passwords, and certificates. Provides
133
133
  convenience while improving security.