google-cloud-secret_manager-v1 0.15.0 → 0.16.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/secret_manager/v1/rest.rb +37 -0
- data/lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb +8 -12
- data/lib/google/cloud/secret_manager/v1/secret_manager_service/rest/client.rb +1473 -0
- data/lib/google/cloud/secret_manager/v1/secret_manager_service/rest/service_stub.rb +941 -0
- data/lib/google/cloud/secret_manager/v1/secret_manager_service/rest.rb +58 -0
- data/lib/google/cloud/secret_manager/v1/secret_manager_service.rb +6 -0
- data/lib/google/cloud/secret_manager/v1/version.rb +1 -1
- data/lib/google/cloud/secret_manager/v1.rb +5 -0
- metadata +13 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7aad3ffcd4b6e858eec00d3bd9330f9f01fcd76dbf49e1e452edae75acec7512
|
4
|
+
data.tar.gz: eb2c148d42418dd8c303da5fd2b8404dad5fb098e960c3c16dc7ac707d6e82ee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8358dfe36ded2d3196f1ce65c7b208d1b88c234f59c15871c06a946cb1786746e8dee005b9a33ff0df8ca5c75fadf51937bce3a8da6dd99f007e3dfac089d31
|
7
|
+
data.tar.gz: 46e41eddffbed2097184606fe83427018f060c0b4dc4dc13aca7df56c5c1bb3769028ae0f6a608022ac9840c4dd01554870c0dae074a96c50b17fde2fb6d255c
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Ruby Client for the Secret Manager V1 API
|
2
2
|
|
3
|
-
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
|
|
@@ -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
|
-
# #
|
243
|
-
#
|
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
|
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
|
-
# #
|
796
|
-
#
|
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
|
796
|
+
# p item
|
801
797
|
# end
|
802
798
|
#
|
803
799
|
def list_secret_versions request, options = nil
|