google-cloud-secret_manager-v1beta1 0.16.0 → 0.17.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.
@@ -21,22 +21,27 @@ module Google
21
21
  module Cloud
22
22
  module SecretManager
23
23
  module V1beta1
24
- # A {::Google::Cloud::SecretManager::V1beta1::Secret Secret} is a logical secret whose value and versions can
25
- # be accessed.
24
+ # A {::Google::Cloud::SecretManager::V1beta1::Secret Secret} is a logical secret whose
25
+ # value and versions can be accessed.
26
26
  #
27
- # A {::Google::Cloud::SecretManager::V1beta1::Secret Secret} is made up of zero or more {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions} that
28
- # represent the secret data.
27
+ # A {::Google::Cloud::SecretManager::V1beta1::Secret Secret} is made up of zero or more
28
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions} that represent
29
+ # the secret data.
29
30
  # @!attribute [r] name
30
31
  # @return [::String]
31
- # Output only. The resource name of the {::Google::Cloud::SecretManager::V1beta1::Secret Secret} in the format `projects/*/secrets/*`.
32
+ # Output only. The resource name of the
33
+ # {::Google::Cloud::SecretManager::V1beta1::Secret Secret} in the format
34
+ # `projects/*/secrets/*`.
32
35
  # @!attribute [rw] replication
33
36
  # @return [::Google::Cloud::SecretManager::V1beta1::Replication]
34
- # Required. Immutable. The replication policy of the secret data attached to the {::Google::Cloud::SecretManager::V1beta1::Secret Secret}.
37
+ # Required. Immutable. The replication policy of the secret data attached to
38
+ # the {::Google::Cloud::SecretManager::V1beta1::Secret Secret}.
35
39
  #
36
40
  # The replication policy cannot be changed after the Secret has been created.
37
41
  # @!attribute [r] create_time
38
42
  # @return [::Google::Protobuf::Timestamp]
39
- # Output only. The time at which the {::Google::Cloud::SecretManager::V1beta1::Secret Secret} was created.
43
+ # Output only. The time at which the
44
+ # {::Google::Cloud::SecretManager::V1beta1::Secret Secret} was created.
40
45
  # @!attribute [rw] labels
41
46
  # @return [::Google::Protobuf::Map{::String => ::String}]
42
47
  # The labels assigned to this Secret.
@@ -67,41 +72,51 @@ module Google
67
72
  # A secret version resource in the Secret Manager API.
68
73
  # @!attribute [r] name
69
74
  # @return [::String]
70
- # Output only. The resource name of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the
71
- # format `projects/*/secrets/*/versions/*`.
75
+ # Output only. The resource name of the
76
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format
77
+ # `projects/*/secrets/*/versions/*`.
72
78
  #
73
- # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} IDs in a {::Google::Cloud::SecretManager::V1beta1::Secret Secret} start at 1 and
74
- # are incremented for each subsequent version of the secret.
79
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} IDs in a
80
+ # {::Google::Cloud::SecretManager::V1beta1::Secret Secret} start at 1 and are
81
+ # incremented for each subsequent version of the secret.
75
82
  # @!attribute [r] create_time
76
83
  # @return [::Google::Protobuf::Timestamp]
77
- # Output only. The time at which the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} was created.
84
+ # Output only. The time at which the
85
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} was created.
78
86
  # @!attribute [r] destroy_time
79
87
  # @return [::Google::Protobuf::Timestamp]
80
- # Output only. The time this {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} was destroyed.
81
- # Only present if {::Google::Cloud::SecretManager::V1beta1::SecretVersion#state state} is
82
- # {::Google::Cloud::SecretManager::V1beta1::SecretVersion::State::DESTROYED DESTROYED}.
88
+ # Output only. The time this
89
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} was destroyed.
90
+ # Only present if {::Google::Cloud::SecretManager::V1beta1::SecretVersion#state state}
91
+ # is {::Google::Cloud::SecretManager::V1beta1::SecretVersion::State::DESTROYED DESTROYED}.
83
92
  # @!attribute [r] state
84
93
  # @return [::Google::Cloud::SecretManager::V1beta1::SecretVersion::State]
85
- # Output only. The current state of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
94
+ # Output only. The current state of the
95
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
86
96
  class SecretVersion
87
97
  include ::Google::Protobuf::MessageExts
88
98
  extend ::Google::Protobuf::MessageExts::ClassMethods
89
99
 
90
- # The state of a {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}, indicating if it can be accessed.
100
+ # The state of a {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion},
101
+ # indicating if it can be accessed.
91
102
  module State
92
103
  # Not specified. This value is unused and invalid.
93
104
  STATE_UNSPECIFIED = 0
94
105
 
95
- # The {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} may be accessed.
106
+ # The {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} may be
107
+ # accessed.
96
108
  ENABLED = 1
97
109
 
98
- # The {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} may not be accessed, but the secret data
99
- # is still available and can be placed back into the {::Google::Cloud::SecretManager::V1beta1::SecretVersion::State::ENABLED ENABLED}
110
+ # The {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} may not
111
+ # be accessed, but the secret data is still available and can be placed
112
+ # back into the
113
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion::State::ENABLED ENABLED}
100
114
  # state.
101
115
  DISABLED = 2
102
116
 
103
- # The {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} is destroyed and the secret data is no longer
104
- # stored. A version may not leave this state once entered.
117
+ # The {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} is
118
+ # destroyed and the secret data is no longer stored. A version may not
119
+ # leave this state once entered.
105
120
  DESTROYED = 3
106
121
  end
107
122
  end
@@ -109,33 +124,44 @@ module Google
109
124
  # A policy that defines the replication configuration of data.
110
125
  # @!attribute [rw] automatic
111
126
  # @return [::Google::Cloud::SecretManager::V1beta1::Replication::Automatic]
112
- # The {::Google::Cloud::SecretManager::V1beta1::Secret Secret} will automatically be replicated without any restrictions.
127
+ # The {::Google::Cloud::SecretManager::V1beta1::Secret Secret} will automatically be
128
+ # replicated without any restrictions.
129
+ #
130
+ # Note: The following fields are mutually exclusive: `automatic`, `user_managed`. If a field in that set is populated, all other fields in the set will automatically be cleared.
113
131
  # @!attribute [rw] user_managed
114
132
  # @return [::Google::Cloud::SecretManager::V1beta1::Replication::UserManaged]
115
- # The {::Google::Cloud::SecretManager::V1beta1::Secret Secret} will only be replicated into the locations specified.
133
+ # The {::Google::Cloud::SecretManager::V1beta1::Secret Secret} will only be replicated
134
+ # into the locations specified.
135
+ #
136
+ # Note: The following fields are mutually exclusive: `user_managed`, `automatic`. If a field in that set is populated, all other fields in the set will automatically be cleared.
116
137
  class Replication
117
138
  include ::Google::Protobuf::MessageExts
118
139
  extend ::Google::Protobuf::MessageExts::ClassMethods
119
140
 
120
- # A replication policy that replicates the {::Google::Cloud::SecretManager::V1beta1::Secret Secret} payload without any
141
+ # A replication policy that replicates the
142
+ # {::Google::Cloud::SecretManager::V1beta1::Secret Secret} payload without any
121
143
  # restrictions.
122
144
  class Automatic
123
145
  include ::Google::Protobuf::MessageExts
124
146
  extend ::Google::Protobuf::MessageExts::ClassMethods
125
147
  end
126
148
 
127
- # A replication policy that replicates the {::Google::Cloud::SecretManager::V1beta1::Secret Secret} payload into the
128
- # locations specified in [Secret.replication.user_managed.replicas][]
149
+ # A replication policy that replicates the
150
+ # {::Google::Cloud::SecretManager::V1beta1::Secret Secret} payload into the locations
151
+ # specified in
152
+ # {::Google::Cloud::SecretManager::V1beta1::Replication::UserManaged#replicas Replication.UserManaged.replicas}
129
153
  # @!attribute [rw] replicas
130
154
  # @return [::Array<::Google::Cloud::SecretManager::V1beta1::Replication::UserManaged::Replica>]
131
- # Required. The list of Replicas for this {::Google::Cloud::SecretManager::V1beta1::Secret Secret}.
155
+ # Required. The list of Replicas for this
156
+ # {::Google::Cloud::SecretManager::V1beta1::Secret Secret}.
132
157
  #
133
158
  # Cannot be empty.
134
159
  class UserManaged
135
160
  include ::Google::Protobuf::MessageExts
136
161
  extend ::Google::Protobuf::MessageExts::ClassMethods
137
162
 
138
- # Represents a Replica for this {::Google::Cloud::SecretManager::V1beta1::Secret Secret}.
163
+ # Represents a Replica for this
164
+ # {::Google::Cloud::SecretManager::V1beta1::Secret Secret}.
139
165
  # @!attribute [rw] location
140
166
  # @return [::String]
141
167
  # The canonical IDs of the location to replicate data.
@@ -148,7 +174,8 @@ module Google
148
174
  end
149
175
 
150
176
  # A secret payload resource in the Secret Manager API. This contains the
151
- # sensitive secret data that is associated with a {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
177
+ # sensitive secret data that is associated with a
178
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
152
179
  # @!attribute [rw] data
153
180
  # @return [::String]
154
181
  # The secret data. Must be no larger than 64KiB.
@@ -21,7 +21,8 @@ module Google
21
21
  module Cloud
22
22
  module SecretManager
23
23
  module V1beta1
24
- # Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#list_secrets SecretManagerService.ListSecrets}.
24
+ # Request message for
25
+ # {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#list_secrets SecretManagerService.ListSecrets}.
25
26
  # @!attribute [rw] parent
26
27
  # @return [::String]
27
28
  # Required. The resource name of the project associated with the
@@ -40,15 +41,17 @@ module Google
40
41
  extend ::Google::Protobuf::MessageExts::ClassMethods
41
42
  end
42
43
 
43
- # Response message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#list_secrets SecretManagerService.ListSecrets}.
44
+ # Response message for
45
+ # {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#list_secrets SecretManagerService.ListSecrets}.
44
46
  # @!attribute [rw] secrets
45
47
  # @return [::Array<::Google::Cloud::SecretManager::V1beta1::Secret>]
46
- # The list of {::Google::Cloud::SecretManager::V1beta1::Secret Secrets} sorted in reverse by create_time (newest
47
- # first).
48
+ # The list of {::Google::Cloud::SecretManager::V1beta1::Secret Secrets} sorted in
49
+ # reverse by create_time (newest first).
48
50
  # @!attribute [rw] next_page_token
49
51
  # @return [::String]
50
52
  # A token to retrieve the next page of results. Pass this value in
51
- # {::Google::Cloud::SecretManager::V1beta1::ListSecretsRequest#page_token ListSecretsRequest.page_token} to retrieve the next page.
53
+ # {::Google::Cloud::SecretManager::V1beta1::ListSecretsRequest#page_token ListSecretsRequest.page_token}
54
+ # to retrieve the next page.
52
55
  # @!attribute [rw] total_size
53
56
  # @return [::Integer]
54
57
  # The total number of {::Google::Cloud::SecretManager::V1beta1::Secret Secrets}.
@@ -57,7 +60,8 @@ module Google
57
60
  extend ::Google::Protobuf::MessageExts::ClassMethods
58
61
  end
59
62
 
60
- # Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#create_secret SecretManagerService.CreateSecret}.
63
+ # Request message for
64
+ # {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#create_secret SecretManagerService.CreateSecret}.
61
65
  # @!attribute [rw] parent
62
66
  # @return [::String]
63
67
  # Required. The resource name of the project to associate with the
@@ -71,40 +75,50 @@ module Google
71
75
  # underscore (`_`) characters.
72
76
  # @!attribute [rw] secret
73
77
  # @return [::Google::Cloud::SecretManager::V1beta1::Secret]
74
- # Required. A {::Google::Cloud::SecretManager::V1beta1::Secret Secret} with initial field values.
78
+ # Required. A {::Google::Cloud::SecretManager::V1beta1::Secret Secret} with initial
79
+ # field values.
75
80
  class CreateSecretRequest
76
81
  include ::Google::Protobuf::MessageExts
77
82
  extend ::Google::Protobuf::MessageExts::ClassMethods
78
83
  end
79
84
 
80
- # Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#add_secret_version SecretManagerService.AddSecretVersion}.
85
+ # Request message for
86
+ # {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#add_secret_version SecretManagerService.AddSecretVersion}.
81
87
  # @!attribute [rw] parent
82
88
  # @return [::String]
83
- # Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::Secret Secret} to associate with the
84
- # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format `projects/*/secrets/*`.
89
+ # Required. The resource name of the
90
+ # {::Google::Cloud::SecretManager::V1beta1::Secret Secret} to associate with the
91
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format
92
+ # `projects/*/secrets/*`.
85
93
  # @!attribute [rw] payload
86
94
  # @return [::Google::Cloud::SecretManager::V1beta1::SecretPayload]
87
- # Required. The secret payload of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
95
+ # Required. The secret payload of the
96
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
88
97
  class AddSecretVersionRequest
89
98
  include ::Google::Protobuf::MessageExts
90
99
  extend ::Google::Protobuf::MessageExts::ClassMethods
91
100
  end
92
101
 
93
- # Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#get_secret SecretManagerService.GetSecret}.
102
+ # Request message for
103
+ # {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#get_secret SecretManagerService.GetSecret}.
94
104
  # @!attribute [rw] name
95
105
  # @return [::String]
96
- # Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::Secret Secret}, in the format `projects/*/secrets/*`.
106
+ # Required. The resource name of the
107
+ # {::Google::Cloud::SecretManager::V1beta1::Secret Secret}, in the format
108
+ # `projects/*/secrets/*`.
97
109
  class GetSecretRequest
98
110
  include ::Google::Protobuf::MessageExts
99
111
  extend ::Google::Protobuf::MessageExts::ClassMethods
100
112
  end
101
113
 
102
- # Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#list_secret_versions SecretManagerService.ListSecretVersions}.
114
+ # Request message for
115
+ # {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#list_secret_versions SecretManagerService.ListSecretVersions}.
103
116
  # @!attribute [rw] parent
104
117
  # @return [::String]
105
- # Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::Secret Secret} associated with the
106
- # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions} to list, in the format
107
- # `projects/*/secrets/*`.
118
+ # Required. The resource name of the
119
+ # {::Google::Cloud::SecretManager::V1beta1::Secret Secret} associated with the
120
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions} to list, in
121
+ # the format `projects/*/secrets/*`.
108
122
  # @!attribute [rw] page_size
109
123
  # @return [::Integer]
110
124
  # Optional. The maximum number of results to be returned in a single page. If
@@ -119,27 +133,32 @@ module Google
119
133
  extend ::Google::Protobuf::MessageExts::ClassMethods
120
134
  end
121
135
 
122
- # Response message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#list_secret_versions SecretManagerService.ListSecretVersions}.
136
+ # Response message for
137
+ # {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#list_secret_versions SecretManagerService.ListSecretVersions}.
123
138
  # @!attribute [rw] versions
124
139
  # @return [::Array<::Google::Cloud::SecretManager::V1beta1::SecretVersion>]
125
- # The list of {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions} sorted in reverse by
126
- # create_time (newest first).
140
+ # The list of {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions}
141
+ # sorted in reverse by create_time (newest first).
127
142
  # @!attribute [rw] next_page_token
128
143
  # @return [::String]
129
144
  # A token to retrieve the next page of results. Pass this value in
130
- # {::Google::Cloud::SecretManager::V1beta1::ListSecretVersionsRequest#page_token ListSecretVersionsRequest.page_token} to retrieve the next page.
145
+ # {::Google::Cloud::SecretManager::V1beta1::ListSecretVersionsRequest#page_token ListSecretVersionsRequest.page_token}
146
+ # to retrieve the next page.
131
147
  # @!attribute [rw] total_size
132
148
  # @return [::Integer]
133
- # The total number of {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions}.
149
+ # The total number of
150
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersions}.
134
151
  class ListSecretVersionsResponse
135
152
  include ::Google::Protobuf::MessageExts
136
153
  extend ::Google::Protobuf::MessageExts::ClassMethods
137
154
  end
138
155
 
139
- # Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#get_secret_version SecretManagerService.GetSecretVersion}.
156
+ # Request message for
157
+ # {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#get_secret_version SecretManagerService.GetSecretVersion}.
140
158
  # @!attribute [rw] name
141
159
  # @return [::String]
142
- # Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format
160
+ # Required. The resource name of the
161
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format
143
162
  # `projects/*/secrets/*/versions/*`.
144
163
  # `projects/*/secrets/*/versions/latest` is an alias to the `latest`
145
164
  # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion}.
@@ -148,10 +167,12 @@ module Google
148
167
  extend ::Google::Protobuf::MessageExts::ClassMethods
149
168
  end
150
169
 
151
- # Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#update_secret SecretManagerService.UpdateSecret}.
170
+ # Request message for
171
+ # {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#update_secret SecretManagerService.UpdateSecret}.
152
172
  # @!attribute [rw] secret
153
173
  # @return [::Google::Cloud::SecretManager::V1beta1::Secret]
154
- # Required. {::Google::Cloud::SecretManager::V1beta1::Secret Secret} with updated field values.
174
+ # Required. {::Google::Cloud::SecretManager::V1beta1::Secret Secret} with updated field
175
+ # values.
155
176
  # @!attribute [rw] update_mask
156
177
  # @return [::Google::Protobuf::FieldMask]
157
178
  # Required. Specifies the fields to be updated.
@@ -160,20 +181,24 @@ module Google
160
181
  extend ::Google::Protobuf::MessageExts::ClassMethods
161
182
  end
162
183
 
163
- # Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#access_secret_version SecretManagerService.AccessSecretVersion}.
184
+ # Request message for
185
+ # {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#access_secret_version SecretManagerService.AccessSecretVersion}.
164
186
  # @!attribute [rw] name
165
187
  # @return [::String]
166
- # Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format
188
+ # Required. The resource name of the
189
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format
167
190
  # `projects/*/secrets/*/versions/*`.
168
191
  class AccessSecretVersionRequest
169
192
  include ::Google::Protobuf::MessageExts
170
193
  extend ::Google::Protobuf::MessageExts::ClassMethods
171
194
  end
172
195
 
173
- # Response message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#access_secret_version SecretManagerService.AccessSecretVersion}.
196
+ # Response message for
197
+ # {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#access_secret_version SecretManagerService.AccessSecretVersion}.
174
198
  # @!attribute [rw] name
175
199
  # @return [::String]
176
- # The resource name of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format
200
+ # The resource name of the
201
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} in the format
177
202
  # `projects/*/secrets/*/versions/*`.
178
203
  # @!attribute [rw] payload
179
204
  # @return [::Google::Cloud::SecretManager::V1beta1::SecretPayload]
@@ -183,41 +208,49 @@ module Google
183
208
  extend ::Google::Protobuf::MessageExts::ClassMethods
184
209
  end
185
210
 
186
- # Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#delete_secret SecretManagerService.DeleteSecret}.
211
+ # Request message for
212
+ # {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#delete_secret SecretManagerService.DeleteSecret}.
187
213
  # @!attribute [rw] name
188
214
  # @return [::String]
189
- # Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::Secret Secret} to delete in the format
215
+ # Required. The resource name of the
216
+ # {::Google::Cloud::SecretManager::V1beta1::Secret Secret} to delete in the format
190
217
  # `projects/*/secrets/*`.
191
218
  class DeleteSecretRequest
192
219
  include ::Google::Protobuf::MessageExts
193
220
  extend ::Google::Protobuf::MessageExts::ClassMethods
194
221
  end
195
222
 
196
- # Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#disable_secret_version SecretManagerService.DisableSecretVersion}.
223
+ # Request message for
224
+ # {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#disable_secret_version SecretManagerService.DisableSecretVersion}.
197
225
  # @!attribute [rw] name
198
226
  # @return [::String]
199
- # Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to disable in the format
200
- # `projects/*/secrets/*/versions/*`.
227
+ # Required. The resource name of the
228
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to disable in
229
+ # the format `projects/*/secrets/*/versions/*`.
201
230
  class DisableSecretVersionRequest
202
231
  include ::Google::Protobuf::MessageExts
203
232
  extend ::Google::Protobuf::MessageExts::ClassMethods
204
233
  end
205
234
 
206
- # Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#enable_secret_version SecretManagerService.EnableSecretVersion}.
235
+ # Request message for
236
+ # {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#enable_secret_version SecretManagerService.EnableSecretVersion}.
207
237
  # @!attribute [rw] name
208
238
  # @return [::String]
209
- # Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to enable in the format
210
- # `projects/*/secrets/*/versions/*`.
239
+ # Required. The resource name of the
240
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to enable in
241
+ # the format `projects/*/secrets/*/versions/*`.
211
242
  class EnableSecretVersionRequest
212
243
  include ::Google::Protobuf::MessageExts
213
244
  extend ::Google::Protobuf::MessageExts::ClassMethods
214
245
  end
215
246
 
216
- # Request message for {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#destroy_secret_version SecretManagerService.DestroySecretVersion}.
247
+ # Request message for
248
+ # {::Google::Cloud::SecretManager::V1beta1::SecretManagerService::Client#destroy_secret_version SecretManagerService.DestroySecretVersion}.
217
249
  # @!attribute [rw] name
218
250
  # @return [::String]
219
- # Required. The resource name of the {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to destroy in the format
220
- # `projects/*/secrets/*/versions/*`.
251
+ # Required. The resource name of the
252
+ # {::Google::Cloud::SecretManager::V1beta1::SecretVersion SecretVersion} to destroy in
253
+ # the format `projects/*/secrets/*/versions/*`.
221
254
  class DestroySecretVersionRequest
222
255
  include ::Google::Protobuf::MessageExts
223
256
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -0,0 +1,145 @@
1
+ # frozen_string_literal: true
2
+
3
+ # Copyright 2025 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
+
20
+ module Google
21
+ module Protobuf
22
+ # `Any` contains an arbitrary serialized protocol buffer message along with a
23
+ # URL that describes the type of the serialized message.
24
+ #
25
+ # Protobuf library provides support to pack/unpack Any values in the form
26
+ # of utility functions or additional generated methods of the Any type.
27
+ #
28
+ # Example 1: Pack and unpack a message in C++.
29
+ #
30
+ # Foo foo = ...;
31
+ # Any any;
32
+ # any.PackFrom(foo);
33
+ # ...
34
+ # if (any.UnpackTo(&foo)) {
35
+ # ...
36
+ # }
37
+ #
38
+ # Example 2: Pack and unpack a message in Java.
39
+ #
40
+ # Foo foo = ...;
41
+ # Any any = Any.pack(foo);
42
+ # ...
43
+ # if (any.is(Foo.class)) {
44
+ # foo = any.unpack(Foo.class);
45
+ # }
46
+ # // or ...
47
+ # if (any.isSameTypeAs(Foo.getDefaultInstance())) {
48
+ # foo = any.unpack(Foo.getDefaultInstance());
49
+ # }
50
+ #
51
+ # Example 3: Pack and unpack a message in Python.
52
+ #
53
+ # foo = Foo(...)
54
+ # any = Any()
55
+ # any.Pack(foo)
56
+ # ...
57
+ # if any.Is(Foo.DESCRIPTOR):
58
+ # any.Unpack(foo)
59
+ # ...
60
+ #
61
+ # Example 4: Pack and unpack a message in Go
62
+ #
63
+ # foo := &pb.Foo{...}
64
+ # any, err := anypb.New(foo)
65
+ # if err != nil {
66
+ # ...
67
+ # }
68
+ # ...
69
+ # foo := &pb.Foo{}
70
+ # if err := any.UnmarshalTo(foo); err != nil {
71
+ # ...
72
+ # }
73
+ #
74
+ # The pack methods provided by protobuf library will by default use
75
+ # 'type.googleapis.com/full.type.name' as the type URL and the unpack
76
+ # methods only use the fully qualified type name after the last '/'
77
+ # in the type URL, for example "foo.bar.com/x/y.z" will yield type
78
+ # name "y.z".
79
+ #
80
+ # JSON
81
+ # ====
82
+ # The JSON representation of an `Any` value uses the regular
83
+ # representation of the deserialized, embedded message, with an
84
+ # additional field `@type` which contains the type URL. Example:
85
+ #
86
+ # package google.profile;
87
+ # message Person {
88
+ # string first_name = 1;
89
+ # string last_name = 2;
90
+ # }
91
+ #
92
+ # {
93
+ # "@type": "type.googleapis.com/google.profile.Person",
94
+ # "firstName": <string>,
95
+ # "lastName": <string>
96
+ # }
97
+ #
98
+ # If the embedded message type is well-known and has a custom JSON
99
+ # representation, that representation will be embedded adding a field
100
+ # `value` which holds the custom JSON in addition to the `@type`
101
+ # field. Example (for message [google.protobuf.Duration][]):
102
+ #
103
+ # {
104
+ # "@type": "type.googleapis.com/google.protobuf.Duration",
105
+ # "value": "1.212s"
106
+ # }
107
+ # @!attribute [rw] type_url
108
+ # @return [::String]
109
+ # A URL/resource name that uniquely identifies the type of the serialized
110
+ # protocol buffer message. This string must contain at least
111
+ # one "/" character. The last segment of the URL's path must represent
112
+ # the fully qualified name of the type (as in
113
+ # `path/google.protobuf.Duration`). The name should be in a canonical form
114
+ # (e.g., leading "." is not accepted).
115
+ #
116
+ # In practice, teams usually precompile into the binary all types that they
117
+ # expect it to use in the context of Any. However, for URLs which use the
118
+ # scheme `http`, `https`, or no scheme, one can optionally set up a type
119
+ # server that maps type URLs to message definitions as follows:
120
+ #
121
+ # * If no scheme is provided, `https` is assumed.
122
+ # * An HTTP GET on the URL must yield a [google.protobuf.Type][]
123
+ # value in binary format, or produce an error.
124
+ # * Applications are allowed to cache lookup results based on the
125
+ # URL, or have them precompiled into a binary to avoid any
126
+ # lookup. Therefore, binary compatibility needs to be preserved
127
+ # on changes to types. (Use versioned type names to manage
128
+ # breaking changes.)
129
+ #
130
+ # Note: this functionality is not currently available in the official
131
+ # protobuf release, and it is not used for type URLs beginning with
132
+ # type.googleapis.com. As of May 2023, there are no widely used type server
133
+ # implementations and no plans to implement one.
134
+ #
135
+ # Schemes other than `http`, `https` (or the empty scheme) might be
136
+ # used with implementation specific semantics.
137
+ # @!attribute [rw] value
138
+ # @return [::String]
139
+ # Must be a valid serialized protocol buffer of the above specified type.
140
+ class Any
141
+ include ::Google::Protobuf::MessageExts
142
+ extend ::Google::Protobuf::MessageExts::ClassMethods
143
+ end
144
+ end
145
+ end
metadata CHANGED
@@ -1,14 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-secret_manager-v1beta1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.16.0
4
+ version: 0.17.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
- autorequire:
9
8
  bindir: bin
10
9
  cert_chain: []
11
- date: 2024-12-10 00:00:00.000000000 Z
10
+ date: 2025-04-21 00:00:00.000000000 Z
12
11
  dependencies:
13
12
  - !ruby/object:Gem::Dependency
14
13
  name: gapic-common
@@ -16,7 +15,7 @@ dependencies:
16
15
  requirements:
17
16
  - - ">="
18
17
  - !ruby/object:Gem::Version
19
- version: 0.24.0
18
+ version: 0.25.0
20
19
  - - "<"
21
20
  - !ruby/object:Gem::Version
22
21
  version: 2.a
@@ -26,7 +25,7 @@ dependencies:
26
25
  requirements:
27
26
  - - ">="
28
27
  - !ruby/object:Gem::Version
29
- version: 0.24.0
28
+ version: 0.25.0
30
29
  - - "<"
31
30
  - !ruby/object:Gem::Version
32
31
  version: 2.a
@@ -44,6 +43,26 @@ dependencies:
44
43
  - - "~>"
45
44
  - !ruby/object:Gem::Version
46
45
  version: '1.0'
46
+ - !ruby/object:Gem::Dependency
47
+ name: google-cloud-location
48
+ requirement: !ruby/object:Gem::Requirement
49
+ requirements:
50
+ - - ">="
51
+ - !ruby/object:Gem::Version
52
+ version: '0.7'
53
+ - - "<"
54
+ - !ruby/object:Gem::Version
55
+ version: 2.a
56
+ type: :runtime
57
+ prerelease: false
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - ">="
61
+ - !ruby/object:Gem::Version
62
+ version: '0.7'
63
+ - - "<"
64
+ - !ruby/object:Gem::Version
65
+ version: 2.a
47
66
  - !ruby/object:Gem::Dependency
48
67
  name: grpc-google-iam-v1
49
68
  requirement: !ruby/object:Gem::Requirement
@@ -75,6 +94,7 @@ files:
75
94
  - README.md
76
95
  - lib/google-cloud-secret_manager-v1beta1.rb
77
96
  - lib/google/cloud/secret_manager/v1beta1.rb
97
+ - lib/google/cloud/secret_manager/v1beta1/bindings_override.rb
78
98
  - lib/google/cloud/secret_manager/v1beta1/rest.rb
79
99
  - lib/google/cloud/secret_manager/v1beta1/secret_manager_service.rb
80
100
  - lib/google/cloud/secret_manager/v1beta1/secret_manager_service/client.rb
@@ -97,6 +117,7 @@ files:
97
117
  - proto_docs/google/iam/v1/iam_policy.rb
98
118
  - proto_docs/google/iam/v1/options.rb
99
119
  - proto_docs/google/iam/v1/policy.rb
120
+ - proto_docs/google/protobuf/any.rb
100
121
  - proto_docs/google/protobuf/duration.rb
101
122
  - proto_docs/google/protobuf/empty.rb
102
123
  - proto_docs/google/protobuf/field_mask.rb
@@ -106,7 +127,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
106
127
  licenses:
107
128
  - Apache-2.0
108
129
  metadata: {}
109
- post_install_message:
110
130
  rdoc_options: []
111
131
  require_paths:
112
132
  - lib
@@ -114,15 +134,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
114
134
  requirements:
115
135
  - - ">="
116
136
  - !ruby/object:Gem::Version
117
- version: '2.7'
137
+ version: '3.0'
118
138
  required_rubygems_version: !ruby/object:Gem::Requirement
119
139
  requirements:
120
140
  - - ">="
121
141
  - !ruby/object:Gem::Version
122
142
  version: '0'
123
143
  requirements: []
124
- rubygems_version: 3.5.23
125
- signing_key:
144
+ rubygems_version: 3.6.5
126
145
  specification_version: 4
127
146
  summary: Stores sensitive data such as API keys, passwords, and certificates. Provides
128
147
  convenience while improving security.