google-cloud-secret_manager-v1beta1 0.10.0 → 0.12.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 306be006a65ba6dd36062f029fdbb564b14cc53f555b2318ce564f1b4ae8b7fe
4
- data.tar.gz: 450cac09cd588f1c6e410fc727298308a2883626047c396e54ee6f376ca0bb43
3
+ metadata.gz: 9e657cc236089cb7877f3586e17cb83bb0877033f72a3c5719b9d7c3fd81bfeb
4
+ data.tar.gz: eb3f48e75c2f4d88644e179346076e25c9bc382b3c0ffee94d8c4a83d535c58b
5
5
  SHA512:
6
- metadata.gz: 83c598b162f27aac305f1bf1cf30e7a6e7f05f34f8a3667202a9a4c70da165569ea3e723dd83a525af1ac0655de77c4c70a62a8d854424902d0ae177e8eef97e
7
- data.tar.gz: 1e0cd4a161c563e9c9da65c30b68a4c79cd62cd793f7be26cdd40d6b68a581fe22ad29e932c41b58b569cbc1fa161ae10d3ae7d743d26e0a247e285733d5a25f
6
+ metadata.gz: 2b3502887784f539fe6ef8b4ce88bfb429d1b3b97ea097e60f5eb1ef49e06d3134e669558f9a17aff2c395c46110e80c236445e9496bdb7b670d7b9d1b3a9f1c
7
+ data.tar.gz: 9ff3171c3ffad2d914d87580a9cd05d98f81f60880a3ab12c5f78d43a8f43a38c554eb6de8fa3ae8981bc408854ea14931b9190999290a5eab6cd9219f2ef903
data/AUTHENTICATION.md CHANGED
@@ -114,7 +114,7 @@ credentials are discovered.
114
114
  To configure your system for this, simply:
115
115
 
116
116
  1. [Download and install the Cloud SDK](https://cloud.google.com/sdk)
117
- 2. Authenticate using OAuth 2.0 `$ gcloud auth login`
117
+ 2. Authenticate using OAuth 2.0 `$ gcloud auth application-default login`
118
118
  3. Write code as if already authenticated.
119
119
 
120
120
  **NOTE:** This is _not_ recommended for running in production. The Cloud SDK
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # Ruby Client for the Secret Manager V1beta1 API
2
2
 
3
- API Client library for the Secret Manager V1beta1 API
3
+ Stores sensitive data such as API keys, passwords, and certificates. Provides convenience while improving security.
4
4
 
5
5
  Secret Manager is a secure and convenient storage system for API keys, passwords, certificates, and other sensitive data. Secret Manager provides a central place and single source of truth to manage, access, and audit secrets across Google Cloud.
6
6
 
@@ -46,8 +46,8 @@ for general usage information.
46
46
  ## Enabling Logging
47
47
 
48
48
  To enable logging for this library, set the logger for the underlying [gRPC](https://github.com/grpc/grpc/tree/master/src/ruby) library.
49
- The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/stdlib/libdoc/logger/rdoc/Logger.html) as shown below,
50
- or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/google-cloud-logging/latest)
49
+ The logger that you set may be a Ruby stdlib [`Logger`](https://ruby-doc.org/current/stdlibs/logger/Logger.html) as shown below,
50
+ or a [`Google::Cloud::Logging::Logger`](https://cloud.google.com/ruby/docs/reference/google-cloud-logging/latest)
51
51
  that will write logs to [Cloud Logging](https://cloud.google.com/logging/). See [grpc/logconfig.rb](https://github.com/grpc/grpc/blob/master/src/ruby/lib/grpc/logconfig.rb)
52
52
  and the gRPC [spec_helper.rb](https://github.com/grpc/grpc/blob/master/src/ruby/spec/spec_helper.rb) for additional information.
53
53
 
@@ -0,0 +1,37 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2023 Google LLC
4
+ #
5
+ # Licensed under the Apache License, Version 2.0 (the "License");
6
+ # you may not use this file except in compliance with the License.
7
+ # You may obtain a copy of the License at
8
+ #
9
+ # https://www.apache.org/licenses/LICENSE-2.0
10
+ #
11
+ # Unless required by applicable law or agreed to in writing, software
12
+ # distributed under the License is distributed on an "AS IS" BASIS,
13
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14
+ # See the License for the specific language governing permissions and
15
+ # limitations under the License.
16
+
17
+ # Auto-generated by gapic-generator-ruby. DO NOT EDIT!
18
+
19
+ require "google/cloud/secret_manager/v1beta1/secret_manager_service/rest"
20
+ require "google/cloud/secret_manager/v1beta1/version"
21
+
22
+ module Google
23
+ module Cloud
24
+ module SecretManager
25
+ ##
26
+ # To load just the REST part of this package, including all its services, and instantiate a REST client:
27
+ #
28
+ # @example
29
+ #
30
+ # require "google/cloud/secret_manager/v1beta1/rest"
31
+ # client = ::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Rest::Client.new
32
+ #
33
+ module V1beta1
34
+ end
35
+ end
36
+ end
37
+ end
@@ -232,13 +232,11 @@ module Google
232
232
  # # Call the list_secrets method.
233
233
  # result = client.list_secrets request
234
234
  #
235
- # # The returned object is of type Gapic::PagedEnumerable. You can
236
- # # iterate over all elements by calling #each, and the enumerable
237
- # # will lazily make API calls to fetch subsequent pages. Other
238
- # # methods are also available for managing paging directly.
239
- # result.each do |response|
235
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
236
+ # # over elements, and API calls will be issued to fetch pages as needed.
237
+ # result.each do |item|
240
238
  # # Each element is of type ::Google::Cloud::SecretManager::V1beta1::Secret.
241
- # p response
239
+ # p item
242
240
  # end
243
241
  #
244
242
  def list_secrets request, options = nil
@@ -775,13 +773,11 @@ module Google
775
773
  # # Call the list_secret_versions method.
776
774
  # result = client.list_secret_versions request
777
775
  #
778
- # # The returned object is of type Gapic::PagedEnumerable. You can
779
- # # iterate over all elements by calling #each, and the enumerable
780
- # # will lazily make API calls to fetch subsequent pages. Other
781
- # # methods are also available for managing paging directly.
782
- # result.each do |response|
776
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
777
+ # # over elements, and API calls will be issued to fetch pages as needed.
778
+ # result.each do |item|
783
779
  # # Each element is of type ::Google::Cloud::SecretManager::V1beta1::SecretVersion.
784
- # p response
780
+ # p item
785
781
  # end
786
782
  #
787
783
  def list_secret_versions request, options = nil
@@ -1600,9 +1596,9 @@ module Google
1600
1596
  # * (`String`) The path to a service account key file in JSON format
1601
1597
  # * (`Hash`) A service account key as a Hash
1602
1598
  # * (`Google::Auth::Credentials`) A googleauth credentials object
1603
- # (see the [googleauth docs](https://googleapis.dev/ruby/googleauth/latest/index.html))
1599
+ # (see the [googleauth docs](https://rubydoc.info/gems/googleauth/Google/Auth/Credentials))
1604
1600
  # * (`Signet::OAuth2::Client`) A signet oauth2 client object
1605
- # (see the [signet docs](https://googleapis.dev/ruby/signet/latest/Signet/OAuth2/Client.html))
1601
+ # (see the [signet docs](https://rubydoc.info/gems/signet/Signet/OAuth2/Client))
1606
1602
  # * (`GRPC::Core::Channel`) a gRPC channel with included credentials
1607
1603
  # * (`GRPC::Core::ChannelCredentials`) a gRPC credentails object
1608
1604
  # * (`nil`) indicating no credentials