google-cloud-secret_manager-v1 0.14.0 → 0.16.0

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: 87acc7c733648f00809db4d878642ad3a187e746579bcc8f2ba56f826d783a91
4
- data.tar.gz: 9dff5b0a6dc83d87d35a467e3ab33aee755440a83cad015f63e40190b569d82f
3
+ metadata.gz: 7aad3ffcd4b6e858eec00d3bd9330f9f01fcd76dbf49e1e452edae75acec7512
4
+ data.tar.gz: eb2c148d42418dd8c303da5fd2b8404dad5fb098e960c3c16dc7ac707d6e82ee
5
5
  SHA512:
6
- metadata.gz: fa95f5daa2d95ef9636f796828e27b5c4de3e1f16518244b312ae2031ca2edf60c2c539903e129b04068099266d2eea854d7787ac957a48c5b43bcbf36cc28a7
7
- data.tar.gz: fd5715bad04f657b591e0605026cf7abd3952343b1f308d396721c7df4f22f368f9f18fd2ff96d2d0e0a57b7a2c2daf4508b61ed14ecc89abbd4d2afa637a1fe
6
+ metadata.gz: a8358dfe36ded2d3196f1ce65c7b208d1b88c234f59c15871c06a946cb1786746e8dee005b9a33ff0df8ca5c75fadf51937bce3a8da6dd99f007e3dfac089d31
7
+ data.tar.gz: 46e41eddffbed2097184606fe83427018f060c0b4dc4dc13aca7df56c5c1bb3769028ae0f6a608022ac9840c4dd01554870c0dae074a96c50b17fde2fb6d255c
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 V1 API
2
2
 
3
- API Client library for the Secret Manager V1 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/v1/secret_manager_service/rest"
20
+ require "google/cloud/secret_manager/v1/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/v1/rest"
31
+ # client = ::Google::Cloud::SecretManager::V1::SecretManagerService::Rest::Client.new
32
+ #
33
+ module V1
34
+ end
35
+ end
36
+ end
37
+ end
@@ -238,13 +238,11 @@ module Google
238
238
  # # Call the list_secrets method.
239
239
  # result = client.list_secrets request
240
240
  #
241
- # # The returned object is of type Gapic::PagedEnumerable. You can
242
- # # iterate over all elements by calling #each, and the enumerable
243
- # # will lazily make API calls to fetch subsequent pages. Other
244
- # # methods are also available for managing paging directly.
245
- # result.each do |response|
241
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
242
+ # # over elements, and API calls will be issued to fetch pages as needed.
243
+ # result.each do |item|
246
244
  # # Each element is of type ::Google::Cloud::SecretManager::V1::Secret.
247
- # p response
245
+ # p item
248
246
  # end
249
247
  #
250
248
  def list_secrets request, options = nil
@@ -791,13 +789,11 @@ module Google
791
789
  # # Call the list_secret_versions method.
792
790
  # result = client.list_secret_versions request
793
791
  #
794
- # # The returned object is of type Gapic::PagedEnumerable. You can
795
- # # iterate over all elements by calling #each, and the enumerable
796
- # # will lazily make API calls to fetch subsequent pages. Other
797
- # # methods are also available for managing paging directly.
798
- # result.each do |response|
792
+ # # The returned object is of type Gapic::PagedEnumerable. You can iterate
793
+ # # over elements, and API calls will be issued to fetch pages as needed.
794
+ # result.each do |item|
799
795
  # # Each element is of type ::Google::Cloud::SecretManager::V1::SecretVersion.
800
- # p response
796
+ # p item
801
797
  # end
802
798
  #
803
799
  def list_secret_versions request, options = nil