google-cloud-secret_manager-v1 0.2.0 → 0.2.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 +4 -4
- data/lib/google/cloud/secret_manager/v1/secret_manager_service/client.rb +4 -0
- data/lib/google/cloud/secret_manager/v1/version.rb +1 -1
- data/proto_docs/google/cloud/secretmanager/v1/service.rb +4 -0
- data/proto_docs/google/protobuf/field_mask.rb +19 -27
- data/proto_docs/google/protobuf/timestamp.rb +20 -16
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 502ee1115b885a0cf4cedf43e2fc7719dd730454c764aab08e381d0592c8765e
|
4
|
+
data.tar.gz: c8536e83842bf62402ea028a3c371cb20d3e80a84ddadc0e255d4679c5b6b145
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19570d33db42474af4eb898a73609b80e838e1fa789dc4cd23ca612824ebe01e23349174399df14a2e1bdd50d3909811711361ea2b61c1d81d97cc4930faf811
|
7
|
+
data.tar.gz: c41e651a2e452bd0fcdbcc8d72d36a816f5454fb8c57ce8d84c970c68b4eb83182a58916b05441519dbadc8bb9a9831dc2611ead9ca773d450096844dfcce576
|
@@ -275,6 +275,10 @@ module Google
|
|
275
275
|
# {Google::Cloud::SecretManager::V1::Secret Secret}, in the format `projects/*`.
|
276
276
|
# @param secret_id [String]
|
277
277
|
# Required. This must be unique within the project.
|
278
|
+
#
|
279
|
+
# A secret ID is a string with a maximum length of 255 characters and can
|
280
|
+
# contain uppercase and lowercase letters, numerals, and the hyphen (`-`) and
|
281
|
+
# underscore (`_`) characters.
|
278
282
|
# @param secret [Google::Cloud::SecretManager::V1::Secret | Hash]
|
279
283
|
# Required. A {Google::Cloud::SecretManager::V1::Secret Secret} with initial field values.
|
280
284
|
#
|
@@ -65,6 +65,10 @@ module Google
|
|
65
65
|
# @!attribute [rw] secret_id
|
66
66
|
# @return [String]
|
67
67
|
# Required. This must be unique within the project.
|
68
|
+
#
|
69
|
+
# A secret ID is a string with a maximum length of 255 characters and can
|
70
|
+
# contain uppercase and lowercase letters, numerals, and the hyphen (`-`) and
|
71
|
+
# underscore (`_`) characters.
|
68
72
|
# @!attribute [rw] secret
|
69
73
|
# @return [Google::Cloud::SecretManager::V1::Secret]
|
70
74
|
# Required. A {Google::Cloud::SecretManager::V1::Secret Secret} with initial field values.
|
@@ -87,57 +87,49 @@ module Google
|
|
87
87
|
# describe the updated values, the API ignores the values of all
|
88
88
|
# fields not covered by the mask.
|
89
89
|
#
|
90
|
-
# If a repeated field is specified for an update operation,
|
91
|
-
#
|
92
|
-
#
|
93
|
-
# string.
|
90
|
+
# If a repeated field is specified for an update operation, new values will
|
91
|
+
# be appended to the existing repeated field in the target resource. Note that
|
92
|
+
# a repeated field is only allowed in the last position of a `paths` string.
|
94
93
|
#
|
95
94
|
# If a sub-message is specified in the last position of the field mask for an
|
96
|
-
# update operation, then the existing sub-message
|
97
|
-
#
|
95
|
+
# update operation, then new value will be merged into the existing sub-message
|
96
|
+
# in the target resource.
|
97
|
+
#
|
98
|
+
# For example, given the target message:
|
98
99
|
#
|
99
100
|
# f {
|
100
101
|
# b {
|
101
|
-
# d
|
102
|
-
# x
|
102
|
+
# d: 1
|
103
|
+
# x: 2
|
103
104
|
# }
|
104
|
-
# c
|
105
|
+
# c: [1]
|
105
106
|
# }
|
106
107
|
#
|
107
108
|
# And an update message:
|
108
109
|
#
|
109
110
|
# f {
|
110
111
|
# b {
|
111
|
-
# d
|
112
|
+
# d: 10
|
112
113
|
# }
|
114
|
+
# c: [2]
|
113
115
|
# }
|
114
116
|
#
|
115
117
|
# then if the field mask is:
|
116
118
|
#
|
117
|
-
# paths: "f.b"
|
119
|
+
# paths: ["f.b", "f.c"]
|
118
120
|
#
|
119
121
|
# then the result will be:
|
120
122
|
#
|
121
123
|
# f {
|
122
124
|
# b {
|
123
|
-
# d
|
125
|
+
# d: 10
|
126
|
+
# x: 2
|
124
127
|
# }
|
125
|
-
# c
|
128
|
+
# c: [1, 2]
|
126
129
|
# }
|
127
130
|
#
|
128
|
-
#
|
129
|
-
#
|
130
|
-
# paths: "f.b.d"
|
131
|
-
#
|
132
|
-
# then the result would be:
|
133
|
-
#
|
134
|
-
# f {
|
135
|
-
# b {
|
136
|
-
# d : 10
|
137
|
-
# x : 2
|
138
|
-
# }
|
139
|
-
# c : 1
|
140
|
-
# }
|
131
|
+
# An implementation may provide options to override this default behavior for
|
132
|
+
# repeated and message fields.
|
141
133
|
#
|
142
134
|
# In order to reset a field's value to the default, the field must
|
143
135
|
# be in the mask and set to the default value in the provided resource.
|
@@ -225,7 +217,7 @@ module Google
|
|
225
217
|
#
|
226
218
|
# The implementation of any API method which has a FieldMask type field in the
|
227
219
|
# request should verify the included field paths, and return an
|
228
|
-
# `INVALID_ARGUMENT` error if any path is
|
220
|
+
# `INVALID_ARGUMENT` error if any path is unmappable.
|
229
221
|
# @!attribute [rw] paths
|
230
222
|
# @return [Array<String>]
|
231
223
|
# The set of field mask paths.
|
@@ -19,17 +19,19 @@
|
|
19
19
|
|
20
20
|
module Google
|
21
21
|
module Protobuf
|
22
|
-
# A Timestamp represents a point in time independent of any time zone
|
23
|
-
#
|
24
|
-
# nanosecond resolution
|
25
|
-
#
|
26
|
-
# backwards to year one.
|
27
|
-
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
#
|
31
|
-
#
|
32
|
-
#
|
22
|
+
# A Timestamp represents a point in time independent of any time zone or local
|
23
|
+
# calendar, encoded as a count of seconds and fractions of seconds at
|
24
|
+
# nanosecond resolution. The count is relative to an epoch at UTC midnight on
|
25
|
+
# January 1, 1970, in the proleptic Gregorian calendar which extends the
|
26
|
+
# Gregorian calendar backwards to year one.
|
27
|
+
#
|
28
|
+
# All minutes are 60 seconds long. Leap seconds are "smeared" so that no leap
|
29
|
+
# second table is needed for interpretation, using a [24-hour linear
|
30
|
+
# smear](https://developers.google.com/time/smear).
|
31
|
+
#
|
32
|
+
# The range is from 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z. By
|
33
|
+
# restricting to that range, we ensure that we can convert to and from [RFC
|
34
|
+
# 3339](https://www.ietf.org/rfc/rfc3339.txt) date strings.
|
33
35
|
#
|
34
36
|
# # Examples
|
35
37
|
#
|
@@ -90,12 +92,14 @@ module Google
|
|
90
92
|
# 01:30 UTC on January 15, 2017.
|
91
93
|
#
|
92
94
|
# In JavaScript, one can convert a Date object to this format using the
|
93
|
-
# standard
|
95
|
+
# standard
|
96
|
+
# [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
|
94
97
|
# method. In Python, a standard `datetime.datetime` object can be converted
|
95
|
-
# to this format using
|
96
|
-
#
|
97
|
-
#
|
98
|
-
#
|
98
|
+
# to this format using
|
99
|
+
# [`strftime`](https://docs.python.org/2/library/time.html#time.strftime) with
|
100
|
+
# the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one can use
|
101
|
+
# the Joda Time's [`ISODateTimeFormat.dateTime()`](
|
102
|
+
# http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime%2D%2D
|
99
103
|
# ) to obtain a formatter capable of generating timestamps in this format.
|
100
104
|
# @!attribute [rw] seconds
|
101
105
|
# @return [Integer]
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-secret_manager-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-04-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|