google-cloud-secret_manager-v1beta1 0.10.0 → 0.11.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: 32174505cdcbdf20ca72a9a25bfb212c3a98a08deabac56554ab369f2913dd78
4
+ data.tar.gz: e0994b53c8207f578ba5aae3e13637950d7df639b577daa006d3caeebcc8d598
5
5
  SHA512:
6
- metadata.gz: 83c598b162f27aac305f1bf1cf30e7a6e7f05f34f8a3667202a9a4c70da165569ea3e723dd83a525af1ac0655de77c4c70a62a8d854424902d0ae177e8eef97e
7
- data.tar.gz: 1e0cd4a161c563e9c9da65c30b68a4c79cd62cd793f7be26cdd40d6b68a581fe22ad29e932c41b58b569cbc1fa161ae10d3ae7d743d26e0a247e285733d5a25f
6
+ metadata.gz: 8f10e9c4ff8074b156aedbbb0cd99082e7fff1d01b2d2d6ad277b4335d858080843e5d790b2dad3d397d7806cc022b8b8eb61daa3df172c1c14cb08094afd643
7
+ data.tar.gz: 63da366c3b150157c5e66260165955e93ee2d20925a1ca23de2819833f42221d7baf1433369a7c01e09506ac0362e2f1b5797476cabd9fb52381b1ea784ae685
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,7 +46,7 @@ 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,
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
50
  or a [`Google::Cloud::Logging::Logger`](https://googleapis.dev/ruby/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.
@@ -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