google-apis-secretmanager_v1 0.51.0 → 0.52.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: 1e2885a313af28a8207ea5d87e9e348781f07c36102d83917dd0faf49e1d1dd5
4
- data.tar.gz: 9259fd36655e4969f43e361420d7afd8b2eb487ccf7b4960a2398776a200f57c
3
+ metadata.gz: 8dec4b2973e10a0e76f6f84f434789aa9abce5a19c931a96d670416c3deea4df
4
+ data.tar.gz: 26dd5aa921e43247d5385bc6c669060353c1780113f75048821a752ed3b62931
5
5
  SHA512:
6
- metadata.gz: 66f743e733f900c68db84a5c12ea218b2616df01bd58e2213e1da7db933eabde937e044ecde404599ae96a484fdd05d4b660267c33bd642fd1cd9a207afed902
7
- data.tar.gz: dcc981c62f847608d551892f753c4ce87eb72a605fdc671fbff30551c25379c330655e71251b445e4a9b1b053d73e9958496a9a64f39def1697f2e47d88c0ab7
6
+ metadata.gz: 40450a2d4995d93cae2a5fb393ad6285e84d4c09787060b361f86432706ff1751af12a0dd24b969a003438d3d0bc5d3a02f9c9ecf2aecf77e69f970b787b1b41
7
+ data.tar.gz: 78791e59b5d86f14062f3a02ddcdc3fab589fffe112a0bef4d989a5d3dcd17eea3f310f16d09297ed267505248857a02c20722472e24cfdb989327b37fbac5a0
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-secretmanager_v1
2
2
 
3
+ ### v0.52.0 (2026-02-22)
4
+
5
+ * Regenerated from discovery document revision 20260213
6
+
3
7
  ### v0.51.0 (2026-02-08)
4
8
 
5
9
  * Regenerated from discovery document revision 20260127
@@ -486,40 +486,6 @@ module Google
486
486
  end
487
487
  end
488
488
 
489
- # The response message for Operations.ListOperations.
490
- class ListOperationsResponse
491
- include Google::Apis::Core::Hashable
492
-
493
- # The standard List next-page token.
494
- # Corresponds to the JSON property `nextPageToken`
495
- # @return [String]
496
- attr_accessor :next_page_token
497
-
498
- # A list of operations that matches the specified filter in the request.
499
- # Corresponds to the JSON property `operations`
500
- # @return [Array<Google::Apis::SecretmanagerV1::Operation>]
501
- attr_accessor :operations
502
-
503
- # Unordered list. Unreachable resources. Populated when the request sets `
504
- # ListOperationsRequest.return_partial_success` and reads across collections.
505
- # For example, when attempting to list all resources across all supported
506
- # locations.
507
- # Corresponds to the JSON property `unreachable`
508
- # @return [Array<String>]
509
- attr_accessor :unreachable
510
-
511
- def initialize(**args)
512
- update!(**args)
513
- end
514
-
515
- # Update properties of this object
516
- def update!(**args)
517
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
518
- @operations = args[:operations] if args.key?(:operations)
519
- @unreachable = args[:unreachable] if args.key?(:unreachable)
520
- end
521
- end
522
-
523
489
  # Response message for SecretManagerService.ListSecretVersions.
524
490
  class ListSecretVersionsResponse
525
491
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module SecretmanagerV1
18
18
  # Version of the google-apis-secretmanager_v1 gem
19
- GEM_VERSION = "0.51.0"
19
+ GEM_VERSION = "0.52.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.18.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20260127"
25
+ REVISION = "20260213"
26
26
  end
27
27
  end
28
28
  end
@@ -112,12 +112,6 @@ module Google
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
- class ListOperationsResponse
116
- class Representation < Google::Apis::Core::JsonRepresentation; end
117
-
118
- include Google::Apis::Core::JsonObjectSupport
119
- end
120
-
121
115
  class ListSecretVersionsResponse
122
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
117
 
@@ -364,16 +358,6 @@ module Google
364
358
  end
365
359
  end
366
360
 
367
- class ListOperationsResponse
368
- # @private
369
- class Representation < Google::Apis::Core::JsonRepresentation
370
- property :next_page_token, as: 'nextPageToken'
371
- collection :operations, as: 'operations', class: Google::Apis::SecretmanagerV1::Operation, decorator: Google::Apis::SecretmanagerV1::Operation::Representation
372
-
373
- collection :unreachable, as: 'unreachable'
374
- end
375
- end
376
-
377
361
  class ListSecretVersionsResponse
378
362
  # @private
379
363
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -133,156 +133,6 @@ module Google
133
133
  execute_or_queue_command(command, &block)
134
134
  end
135
135
 
136
- # Starts asynchronous cancellation on a long-running operation. The server makes
137
- # a best effort to cancel the operation, but success is not guaranteed. If the
138
- # server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
139
- # Clients can use Operations.GetOperation or other methods to check whether the
140
- # cancellation succeeded or whether the operation completed despite cancellation.
141
- # On successful cancellation, the operation is not deleted; instead, it becomes
142
- # an operation with an Operation.error value with a google.rpc.Status.code of `1`
143
- # , corresponding to `Code.CANCELLED`.
144
- # @param [String] name
145
- # The name of the operation resource to be cancelled.
146
- # @param [String] fields
147
- # Selector specifying which fields to include in a partial response.
148
- # @param [String] quota_user
149
- # Available to use for quota purposes for server-side applications. Can be any
150
- # arbitrary string assigned to a user, but should not exceed 40 characters.
151
- # @param [Google::Apis::RequestOptions] options
152
- # Request-specific options
153
- #
154
- # @yield [result, err] Result & error if block supplied
155
- # @yieldparam result [Google::Apis::SecretmanagerV1::Empty] parsed result object
156
- # @yieldparam err [StandardError] error object if request failed
157
- #
158
- # @return [Google::Apis::SecretmanagerV1::Empty]
159
- #
160
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
161
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
162
- # @raise [Google::Apis::AuthorizationError] Authorization is required
163
- def cancel_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
164
- command = make_simple_command(:post, 'v1/{+name}:cancel', options)
165
- command.response_representation = Google::Apis::SecretmanagerV1::Empty::Representation
166
- command.response_class = Google::Apis::SecretmanagerV1::Empty
167
- command.params['name'] = name unless name.nil?
168
- command.query['fields'] = fields unless fields.nil?
169
- command.query['quotaUser'] = quota_user unless quota_user.nil?
170
- execute_or_queue_command(command, &block)
171
- end
172
-
173
- # Deletes a long-running operation. This method indicates that the client is no
174
- # longer interested in the operation result. It does not cancel the operation.
175
- # If the server doesn't support this method, it returns `google.rpc.Code.
176
- # UNIMPLEMENTED`.
177
- # @param [String] name
178
- # The name of the operation resource to be deleted.
179
- # @param [String] fields
180
- # Selector specifying which fields to include in a partial response.
181
- # @param [String] quota_user
182
- # Available to use for quota purposes for server-side applications. Can be any
183
- # arbitrary string assigned to a user, but should not exceed 40 characters.
184
- # @param [Google::Apis::RequestOptions] options
185
- # Request-specific options
186
- #
187
- # @yield [result, err] Result & error if block supplied
188
- # @yieldparam result [Google::Apis::SecretmanagerV1::Empty] parsed result object
189
- # @yieldparam err [StandardError] error object if request failed
190
- #
191
- # @return [Google::Apis::SecretmanagerV1::Empty]
192
- #
193
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
194
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
195
- # @raise [Google::Apis::AuthorizationError] Authorization is required
196
- def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
197
- command = make_simple_command(:delete, 'v1/{+name}', options)
198
- command.response_representation = Google::Apis::SecretmanagerV1::Empty::Representation
199
- command.response_class = Google::Apis::SecretmanagerV1::Empty
200
- command.params['name'] = name unless name.nil?
201
- command.query['fields'] = fields unless fields.nil?
202
- command.query['quotaUser'] = quota_user unless quota_user.nil?
203
- execute_or_queue_command(command, &block)
204
- end
205
-
206
- # Gets the latest state of a long-running operation. Clients can use this method
207
- # to poll the operation result at intervals as recommended by the API service.
208
- # @param [String] name
209
- # The name of the operation resource.
210
- # @param [String] fields
211
- # Selector specifying which fields to include in a partial response.
212
- # @param [String] quota_user
213
- # Available to use for quota purposes for server-side applications. Can be any
214
- # arbitrary string assigned to a user, but should not exceed 40 characters.
215
- # @param [Google::Apis::RequestOptions] options
216
- # Request-specific options
217
- #
218
- # @yield [result, err] Result & error if block supplied
219
- # @yieldparam result [Google::Apis::SecretmanagerV1::Operation] parsed result object
220
- # @yieldparam err [StandardError] error object if request failed
221
- #
222
- # @return [Google::Apis::SecretmanagerV1::Operation]
223
- #
224
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
225
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
226
- # @raise [Google::Apis::AuthorizationError] Authorization is required
227
- def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
228
- command = make_simple_command(:get, 'v1/{+name}', options)
229
- command.response_representation = Google::Apis::SecretmanagerV1::Operation::Representation
230
- command.response_class = Google::Apis::SecretmanagerV1::Operation
231
- command.params['name'] = name unless name.nil?
232
- command.query['fields'] = fields unless fields.nil?
233
- command.query['quotaUser'] = quota_user unless quota_user.nil?
234
- execute_or_queue_command(command, &block)
235
- end
236
-
237
- # Lists operations that match the specified filter in the request. If the server
238
- # doesn't support this method, it returns `UNIMPLEMENTED`.
239
- # @param [String] name
240
- # The name of the operation's parent resource.
241
- # @param [String] filter
242
- # The standard list filter.
243
- # @param [Fixnum] page_size
244
- # The standard list page size.
245
- # @param [String] page_token
246
- # The standard list page token.
247
- # @param [Boolean] return_partial_success
248
- # When set to `true`, operations that are reachable are returned as normal, and
249
- # those that are unreachable are returned in the ListOperationsResponse.
250
- # unreachable field. This can only be `true` when reading across collections.
251
- # For example, when `parent` is set to `"projects/example/locations/-"`. This
252
- # field is not supported by default and will result in an `UNIMPLEMENTED` error
253
- # if set unless explicitly documented otherwise in service or product specific
254
- # documentation.
255
- # @param [String] fields
256
- # Selector specifying which fields to include in a partial response.
257
- # @param [String] quota_user
258
- # Available to use for quota purposes for server-side applications. Can be any
259
- # arbitrary string assigned to a user, but should not exceed 40 characters.
260
- # @param [Google::Apis::RequestOptions] options
261
- # Request-specific options
262
- #
263
- # @yield [result, err] Result & error if block supplied
264
- # @yieldparam result [Google::Apis::SecretmanagerV1::ListOperationsResponse] parsed result object
265
- # @yieldparam err [StandardError] error object if request failed
266
- #
267
- # @return [Google::Apis::SecretmanagerV1::ListOperationsResponse]
268
- #
269
- # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
270
- # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
271
- # @raise [Google::Apis::AuthorizationError] Authorization is required
272
- def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, return_partial_success: nil, fields: nil, quota_user: nil, options: nil, &block)
273
- command = make_simple_command(:get, 'v1/{+name}/operations', options)
274
- command.response_representation = Google::Apis::SecretmanagerV1::ListOperationsResponse::Representation
275
- command.response_class = Google::Apis::SecretmanagerV1::ListOperationsResponse
276
- command.params['name'] = name unless name.nil?
277
- command.query['filter'] = filter unless filter.nil?
278
- command.query['pageSize'] = page_size unless page_size.nil?
279
- command.query['pageToken'] = page_token unless page_token.nil?
280
- command.query['returnPartialSuccess'] = return_partial_success unless return_partial_success.nil?
281
- command.query['fields'] = fields unless fields.nil?
282
- command.query['quotaUser'] = quota_user unless quota_user.nil?
283
- execute_or_queue_command(command, &block)
284
- end
285
-
286
136
  # Creates a new SecretVersion containing secret data and attaches it to an
287
137
  # existing Secret.
288
138
  # @param [String] parent
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-secretmanager_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.51.0
4
+ version: 0.52.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-secretmanager_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-secretmanager_v1/v0.51.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-secretmanager_v1/v0.52.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-secretmanager_v1
62
62
  rdoc_options: []
63
63
  require_paths: