google-cloud-secret_manager-v1beta1 0.2.0 → 0.2.1

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: 5ac4fc6d69265be2dd291034c6fcf792cea14930e54dbba20607997801e7b6fc
4
- data.tar.gz: c309b25ccd9f97df9c66cb3c8721e6bf9b1ce0b89c02eb0d321bf9c27993d254
3
+ metadata.gz: 89cacf906255454645307e0406b1b26f2289a7d87368206e3b060476d1dc1da2
4
+ data.tar.gz: 807d5ed4565589f83e1296b7a554dc4349b1de66ca6035f04f883b727f35ac6e
5
5
  SHA512:
6
- metadata.gz: 9f54ea1e1a7685e92d406c4abcb28e98af856861a94017db1b8d9fa8e2bb416ba6ebcd49eaba393b568f66c00d68b0a8ac4cbc72238797f38a1a666b0636b289
7
- data.tar.gz: a01e5bcb856203a8f49deaa2d41960f4a57cfb057c92f7738df47ea1aac6e1b3f018bf104aebf32a57b3a6a4ff81f3bdedf3ebacdce9b4952be4246b1b60a028
6
+ metadata.gz: b81348d3a7cf05d2946df04449ada2aa8e5c26863b58ac7ea889953baa622e69ab1323757458610f98594a249ac21d37a89679098b1a1165c7a7fd3fb06ae54b
7
+ data.tar.gz: 4dd35bd1e18eeab2c462dcc97675bec99833ed45d9f1cf968257c7c42739b966b408aaac899a5f5c5eb2137b27c281458ba576fc6338327b2b7a5a0d1d59e337
@@ -1047,7 +1047,7 @@ module Google
1047
1047
  # REQUIRED: The resource for which the policy detail is being requested.
1048
1048
  # `resource` is usually specified as a path. For example, a Project
1049
1049
  # resource is specified as `projects/\\\{project\}`.
1050
- # @param permissions [String]
1050
+ # @param permissions [Array<String>]
1051
1051
  # The set of permissions to check for the `resource`. Permissions with
1052
1052
  # wildcards (such as '*' or 'storage.*') are not allowed. For more
1053
1053
  # information see
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module SecretManager
23
23
  module V1beta1
24
- VERSION = "0.2.0"
24
+ VERSION = "0.2.1"
25
25
  end
26
26
  end
27
27
  end
@@ -51,14 +51,14 @@ module Google
51
51
  module Cloud
52
52
  module SecretManager
53
53
  module V1beta1
54
- Secret = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.Secret").msgclass
55
- SecretVersion = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.SecretVersion").msgclass
56
- SecretVersion::State = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.SecretVersion.State").enummodule
57
- Replication = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.Replication").msgclass
58
- Replication::Automatic = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.Replication.Automatic").msgclass
59
- Replication::UserManaged = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.Replication.UserManaged").msgclass
60
- Replication::UserManaged::Replica = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.Replication.UserManaged.Replica").msgclass
61
- SecretPayload = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.SecretPayload").msgclass
54
+ Secret = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.Secret").msgclass
55
+ SecretVersion = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.SecretVersion").msgclass
56
+ SecretVersion::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.SecretVersion.State").enummodule
57
+ Replication = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.Replication").msgclass
58
+ Replication::Automatic = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.Replication.Automatic").msgclass
59
+ Replication::UserManaged = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.Replication.UserManaged").msgclass
60
+ Replication::UserManaged::Replica = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.Replication.UserManaged.Replica").msgclass
61
+ SecretPayload = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.SecretPayload").msgclass
62
62
  end
63
63
  end
64
64
  end
@@ -79,21 +79,21 @@ module Google
79
79
  module Cloud
80
80
  module SecretManager
81
81
  module V1beta1
82
- ListSecretsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.ListSecretsRequest").msgclass
83
- ListSecretsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.ListSecretsResponse").msgclass
84
- CreateSecretRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.CreateSecretRequest").msgclass
85
- AddSecretVersionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.AddSecretVersionRequest").msgclass
86
- GetSecretRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.GetSecretRequest").msgclass
87
- ListSecretVersionsRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.ListSecretVersionsRequest").msgclass
88
- ListSecretVersionsResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.ListSecretVersionsResponse").msgclass
89
- GetSecretVersionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.GetSecretVersionRequest").msgclass
90
- UpdateSecretRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.UpdateSecretRequest").msgclass
91
- AccessSecretVersionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.AccessSecretVersionRequest").msgclass
92
- AccessSecretVersionResponse = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.AccessSecretVersionResponse").msgclass
93
- DeleteSecretRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.DeleteSecretRequest").msgclass
94
- DisableSecretVersionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.DisableSecretVersionRequest").msgclass
95
- EnableSecretVersionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.EnableSecretVersionRequest").msgclass
96
- DestroySecretVersionRequest = Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.DestroySecretVersionRequest").msgclass
82
+ ListSecretsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.ListSecretsRequest").msgclass
83
+ ListSecretsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.ListSecretsResponse").msgclass
84
+ CreateSecretRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.CreateSecretRequest").msgclass
85
+ AddSecretVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.AddSecretVersionRequest").msgclass
86
+ GetSecretRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.GetSecretRequest").msgclass
87
+ ListSecretVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.ListSecretVersionsRequest").msgclass
88
+ ListSecretVersionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.ListSecretVersionsResponse").msgclass
89
+ GetSecretVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.GetSecretVersionRequest").msgclass
90
+ UpdateSecretRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.UpdateSecretRequest").msgclass
91
+ AccessSecretVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.AccessSecretVersionRequest").msgclass
92
+ AccessSecretVersionResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.AccessSecretVersionResponse").msgclass
93
+ DeleteSecretRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.DeleteSecretRequest").msgclass
94
+ DisableSecretVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.DisableSecretVersionRequest").msgclass
95
+ EnableSecretVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.EnableSecretVersionRequest").msgclass
96
+ DestroySecretVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.secrets.v1beta1.DestroySecretVersionRequest").msgclass
97
97
  end
98
98
  end
99
99
  end
@@ -140,7 +140,7 @@ module Google
140
140
  # should use PascalCase (UpperCamelCase). The maximum number of
141
141
  # characters allowed for the `resource_type_kind` is 100.
142
142
  # @!attribute [rw] pattern
143
- # @return [String]
143
+ # @return [Array<String>]
144
144
  # Optional. The relative resource name pattern associated with this resource
145
145
  # type. The DNS prefix of the full resource name shouldn't be specified here.
146
146
  #
@@ -38,7 +38,7 @@ module Google
38
38
  # @return [Google::Protobuf::Timestamp]
39
39
  # Output only. The time at which the [Secret][google.cloud.secrets.v1beta1.Secret] was created.
40
40
  # @!attribute [rw] labels
41
- # @return [Google::Cloud::SecretManager::V1beta1::Secret::LabelsEntry]
41
+ # @return [Google::Protobuf::Map{String => String}]
42
42
  # The labels assigned to this Secret.
43
43
  #
44
44
  # Label keys must be between 1 and 63 characters long, have a UTF-8 encoding
@@ -127,7 +127,7 @@ module Google
127
127
  # A replication policy that replicates the [Secret][google.cloud.secrets.v1beta1.Secret] payload into the
128
128
  # locations specified in [Secret.replication.user_managed.replicas][]
129
129
  # @!attribute [rw] replicas
130
- # @return [Google::Cloud::SecretManager::V1beta1::Replication::UserManaged::Replica]
130
+ # @return [Array<Google::Cloud::SecretManager::V1beta1::Replication::UserManaged::Replica>]
131
131
  # Required. The list of Replicas for this [Secret][google.cloud.secrets.v1beta1.Secret].
132
132
  #
133
133
  # Cannot be empty.
@@ -42,7 +42,7 @@ module Google
42
42
 
43
43
  # Response message for [SecretManagerService.ListSecrets][google.cloud.secrets.v1beta1.SecretManagerService.ListSecrets].
44
44
  # @!attribute [rw] secrets
45
- # @return [Google::Cloud::SecretManager::V1beta1::Secret]
45
+ # @return [Array<Google::Cloud::SecretManager::V1beta1::Secret>]
46
46
  # The list of [Secrets][google.cloud.secrets.v1beta1.Secret] sorted in reverse by create_time (newest
47
47
  # first).
48
48
  # @!attribute [rw] next_page_token
@@ -117,7 +117,7 @@ module Google
117
117
 
118
118
  # Response message for [SecretManagerService.ListSecretVersions][google.cloud.secrets.v1beta1.SecretManagerService.ListSecretVersions].
119
119
  # @!attribute [rw] versions
120
- # @return [Google::Cloud::SecretManager::V1beta1::SecretVersion]
120
+ # @return [Array<Google::Cloud::SecretManager::V1beta1::SecretVersion>]
121
121
  # The list of [SecretVersions][google.cloud.secrets.v1beta1.SecretVersion] sorted in reverse by
122
122
  # create_time (newest first).
123
123
  # @!attribute [rw] next_page_token
@@ -55,7 +55,7 @@ module Google
55
55
  # `resource` is usually specified as a path. For example, a Project
56
56
  # resource is specified as `projects/\\\{project\}`.
57
57
  # @!attribute [rw] permissions
58
- # @return [String]
58
+ # @return [Array<String>]
59
59
  # The set of permissions to check for the `resource`. Permissions with
60
60
  # wildcards (such as '*' or 'storage.*') are not allowed. For more
61
61
  # information see
@@ -67,7 +67,7 @@ module Google
67
67
 
68
68
  # Response message for `TestIamPermissions` method.
69
69
  # @!attribute [rw] permissions
70
- # @return [String]
70
+ # @return [Array<String>]
71
71
  # A subset of `TestPermissionsRequest.permissions` that the caller is
72
72
  # allowed.
73
73
  class TestIamPermissionsResponse
@@ -55,7 +55,7 @@ module Google
55
55
  # @return [Integer]
56
56
  # Version of the `Policy`. The default version is 0.
57
57
  # @!attribute [rw] bindings
58
- # @return [Google::Iam::V1::Binding]
58
+ # @return [Array<Google::Iam::V1::Binding>]
59
59
  # Associates a list of `members` to a `role`.
60
60
  # Multiple `bindings` must not be specified for the same `role`.
61
61
  # `bindings` with no members will result in an error.
@@ -83,7 +83,7 @@ module Google
83
83
  # For example, `roles/viewer`, `roles/editor`, or `roles/owner`.
84
84
  # Required
85
85
  # @!attribute [rw] members
86
- # @return [String]
86
+ # @return [Array<String>]
87
87
  # Specifies the identities requesting access for a Cloud Platform resource.
88
88
  # `members` can have the following values:
89
89
  #
@@ -112,7 +112,7 @@ module Google
112
112
 
113
113
  # The difference delta between two policies.
114
114
  # @!attribute [rw] binding_deltas
115
- # @return [Google::Iam::V1::BindingDelta]
115
+ # @return [Array<Google::Iam::V1::BindingDelta>]
116
116
  # The delta for Bindings between two policies.
117
117
  class PolicyDelta
118
118
  include Google::Protobuf::MessageExts
@@ -87,49 +87,57 @@ 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, 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.
90
+ # If a repeated field is specified for an update operation, the existing
91
+ # repeated values in the target resource will be overwritten by the new values.
92
+ # Note that a repeated field is only allowed in the last position of a `paths`
93
+ # string.
93
94
  #
94
95
  # If a sub-message is specified in the last position of the field mask for an
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:
96
+ # update operation, then the existing sub-message in the target resource is
97
+ # overwritten. Given the target message:
99
98
  #
100
99
  # f \\\{
101
100
  # b \\\{
102
- # d: 1
103
- # x: 2
101
+ # d : 1
102
+ # x : 2
104
103
  # \}
105
- # c: [1]
104
+ # c : 1
106
105
  # \}
107
106
  #
108
107
  # And an update message:
109
108
  #
110
109
  # f \\\{
111
110
  # b \\\{
112
- # d: 10
111
+ # d : 10
113
112
  # \}
114
- # c: [2]
115
113
  # \}
116
114
  #
117
115
  # then if the field mask is:
118
116
  #
119
- # paths: ["f.b", "f.c"]
117
+ # paths: "f.b"
120
118
  #
121
119
  # then the result will be:
122
120
  #
123
121
  # f \\\{
124
122
  # b \\\{
125
- # d: 10
126
- # x: 2
123
+ # d : 10
127
124
  # \}
128
- # c: [1, 2]
125
+ # c : 1
129
126
  # \}
130
127
  #
131
- # An implementation may provide options to override this default behavior for
132
- # repeated and message fields.
128
+ # However, if the update mask was:
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
+ # \}
133
141
  #
134
142
  # In order to reset a field's value to the default, the field must
135
143
  # be in the mask and set to the default value in the provided resource.
@@ -219,7 +227,7 @@ module Google
219
227
  # request should verify the included field paths, and return an
220
228
  # `INVALID_ARGUMENT` error if any path is duplicated or unmappable.
221
229
  # @!attribute [rw] paths
222
- # @return [String]
230
+ # @return [Array<String>]
223
231
  # The set of field mask paths.
224
232
  class FieldMask
225
233
  include Google::Protobuf::MessageExts
@@ -19,19 +19,17 @@
19
19
 
20
20
  module Google
21
21
  module Protobuf
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.
22
+ # A Timestamp represents a point in time independent of any time zone
23
+ # or calendar, represented as seconds and fractions of seconds at
24
+ # nanosecond resolution in UTC Epoch time. It is encoded using the
25
+ # Proleptic Gregorian Calendar which extends the Gregorian calendar
26
+ # backwards to year one. It is encoded assuming all minutes are 60
27
+ # seconds long, i.e. leap seconds are "smeared" so that no leap second
28
+ # table is needed for interpretation. Range is from
29
+ # 0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z.
30
+ # By restricting to that range, we ensure that we can convert to
31
+ # and from RFC 3339 date strings.
32
+ # See [https://www.ietf.org/rfc/rfc3339.txt](https://www.ietf.org/rfc/rfc3339.txt).
35
33
  #
36
34
  # # Examples
37
35
  #
@@ -92,14 +90,12 @@ module Google
92
90
  # 01:30 UTC on January 15, 2017.
93
91
  #
94
92
  # In JavaScript, one can convert a Date object to this format using the
95
- # standard
96
- # [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString)
93
+ # standard [toISOString()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Date/toISOString]
97
94
  # method. In Python, a standard `datetime.datetime` object can be converted
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
95
+ # to this format using [`strftime`](https://docs.python.org/2/library/time.html#time.strftime)
96
+ # with the time format spec '%Y-%m-%dT%H:%M:%S.%fZ'. Likewise, in Java, one
97
+ # can use the Joda Time's [`ISODateTimeFormat.dateTime()`](
98
+ # http://www.joda.org/joda-time/apidocs/org/joda/time/format/ISODateTimeFormat.html#dateTime--
103
99
  # ) to obtain a formatter capable of generating timestamps in this format.
104
100
  # @!attribute [rw] seconds
105
101
  # @return [Integer]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-secret_manager-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
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-01-17 00:00:00.000000000 Z
11
+ date: 2020-02-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common